* PATCH: gdth pci table
@ 2001-11-06 13:26 Marcus Meissner
0 siblings, 0 replies; only message in thread
From: Marcus Meissner @ 2001-11-06 13:26 UTC (permalink / raw)
To: Alan Cox, linux-kernel, achim
Hi,
To ease automatic hardware detection I have added PCI deviceid table to
gdth. Since I do not have such a card available for testing, I cannot
integrate it further.
Ciao, Marcus
Index: gdth.c
===================================================================
RCS file: /build/mm/work/repository/linux-mm/drivers/scsi/gdth.c,v
retrieving revision 1.15
diff -u -r1.15 gdth.c
--- gdth.c 2001/10/26 15:51:59 1.15
+++ gdth.c 2001/11/06 13:01:43
@@ -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))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-11-06 13:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-06 13:26 PATCH: gdth pci table Marcus Meissner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®