patch-2.4.15 linux/drivers/scsi/gdth.c
Next file: linux/drivers/scsi/i60uscsi.c
Previous file: linux/drivers/scsi/eata.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Fri Nov  9 14:05:06 2001
-  Orig file: 
v2.4.14/linux/drivers/scsi/gdth.c
-  Orig date: 
Mon Nov  5 15:55:32 2001
diff -u --recursive --new-file v2.4.14/linux/drivers/scsi/gdth.c linux/drivers/scsi/gdth.c
@@ -799,6 +799,17 @@
     return cnt;
 }
 
+#if LINUX_VERSION_CODE >= 0x20363
+/* Vortex only makes RAID controllers.
+ * We do not really want to specify all 550 ids here, so wildcard match.
+ */
+static struct pci_device_id gdthtable[] = {
+	{PCI_VENDOR_ID_VORTEX,PCI_ANY_ID,PCI_ANY_ID, PCI_ANY_ID },
+	{PCI_VENDOR_ID_INTEL,PCI_DEVICE_ID_INTEL_SRC,PCI_ANY_ID,PCI_ANY_ID }, 
+	{0}
+};
+MODULE_DEVICE_TABLE(pci,gdthtable);
+#endif
 
 GDTH_INITFUNC(static void, gdth_search_dev(gdth_pci_str *pcistr, ushort *cnt,
                                            ushort vendor, ushort device))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)