25 #include <linux/kernel.h>
26 #include <linux/module.h>
27 #include <linux/pci.h>
38 #define NCR5380_read(reg) inb(port + reg)
39 #define NCR5380_write(reg, value) outb(value, port + reg)
41 #define NCR5380_implementation_fields unsigned int port
42 #define NCR5380_local_declare() NCR5380_implementation_fields
43 #define NCR5380_setup(instance) port = instance->io_port
54 #define DMX3191D_DRIVER_NAME "dmx3191d"
55 #define DMX3191D_REGION_LEN 8
60 .name =
"Domex DMX3191D",
85 goto out_disable_device;
91 goto out_release_region;
103 "switching to polled mode.\n", pdev->
irq);
107 pci_set_drvdata(pdev, shost);
109 error = scsi_add_host(shost, &pdev->
dev);
128 struct Scsi_Host *shost = pci_get_drvdata(pdev);
149 static struct pci_driver dmx3191d_pci_driver = {
151 .id_table = dmx3191d_pci_tbl,
152 .probe = dmx3191d_probe_one,
156 static int __init dmx3191d_init(
void)
158 return pci_register_driver(&dmx3191d_pci_driver);
161 static void __exit dmx3191d_exit(
void)