21 #include <linux/module.h>
23 #include <linux/kernel.h>
24 #include <linux/pci.h>
25 #include <linux/slab.h>
59 #define DRIVER_NAME "Mantis"
61 static char *
label[10] = {
77 u32 rst_stat = 0, rst_mask = 0;
100 rst_stat &= rst_mask;
137 tasklet_schedule(&mantis->
tasklet);
144 stat &= ~(MANTIS_INT_RISCEN | MANTIS_INT_I2CDONE |
150 MANTIS_INT_IRQ0 | MANTIS_INT_OCERR |
151 MANTIS_INT_PABORT | MANTIS_INT_RIPERR |
152 MANTIS_INT_PPERR | MANTIS_INT_FTRGT |
169 if (mantis ==
NULL) {
254 struct mantis_pci *mantis = pci_get_drvdata(pdev);
285 static struct pci_driver mantis_pci_driver = {
287 .id_table = mantis_pci_table,
288 .probe = mantis_pci_probe,
289 .remove = mantis_pci_remove,
294 return pci_register_driver(&mantis_pci_driver);