]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
[BusLogic] Add pci dev table for auto module loading.
authorBen Collins <bcollins@ubuntu.com>
Sun, 20 Jan 2008 17:50:13 +0000 (19:50 +0200)
committerAdrian Bunk <bunk@kernel.org>
Mon, 21 Jan 2008 00:14:16 +0000 (02:14 +0200)
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
drivers/scsi/BusLogic.c

index 1c459343292bb6b910cf28322293df912bfb9323..701580cee85c985d3c967dcf988c5acf02e501a2 100644 (file)
@@ -3570,5 +3570,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);