[fdomain] Add pci dev table for module auto loading.
authorBen Collins <bcollins@ubuntu.com>
Wed, 18 Oct 2006 12:38:41 +0000 (08:38 -0400)
committerBen Collins <bcollins@ubuntu.com>
Wed, 18 Oct 2006 12:38:41 +0000 (08:38 -0400)
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
drivers/scsi/fdomain.c

index 72794a7b6dcc5557bf5b3c5d4b67164e44da573d..65e6e7b7ba07e5ab0ed0b1f5211ecb8e44b7198a 100644 (file)
@@ -1736,6 +1736,15 @@ struct scsi_host_template fdomain_driver_template = {
 };
 
 #ifndef PCMCIA
+
+static struct pci_device_id fdomain_pci_tbl[] __devinitdata = {
+       { PCI_VENDOR_ID_FD, PCI_DEVICE_ID_FD_36C70,
+         PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },
+       { }
+};
+MODULE_DEVICE_TABLE(pci, fdomain_pci_tbl);
+
 #define driver_template fdomain_driver_template
 #include "scsi_module.c"
+
 #endif