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

index 7c59bba9879812ece3757651ce4c34f686aef0a2..cdd03372478617f3e13a2220cc715fb836f7d0b7 100644 (file)
@@ -3600,5 +3600,16 @@ static void __exit BusLogic_exit(void)
 
 __setup("BusLogic=", BusLogic_Setup);
 
+static struct pci_device_id BusLogic_pci_tbl[] __devinitdata = {
+       { PCI_VENDOR_ID_BUSLOGIC, PCI_DEVICE_ID_BUSLOGIC_MULTIMASTER,
+         PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+       { PCI_VENDOR_ID_BUSLOGIC, PCI_DEVICE_ID_BUSLOGIC_MULTIMASTER_NC,
+         PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+       { PCI_VENDOR_ID_BUSLOGIC, PCI_DEVICE_ID_BUSLOGIC_FLASHPOINT,
+         PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+       { }
+};
+MODULE_DEVICE_TABLE(pci, BusLogic_pci_tbl);
+
 module_init(BusLogic_init);
 module_exit(BusLogic_exit);