From: Marcus Meissner <Marcus.Meissner@caldera.de>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>,
linux-kernel@vger.kernel.org, achim@vortex.de
Subject: PATCH: gdth pci table
Date: Tue, 6 Nov 2001 14:26:15 +0100 [thread overview]
Message-ID: <20011106142615.A6158@caldera.de> (raw)
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))
reply other threads:[~2001-11-06 13:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011106142615.A6158@caldera.de \
--to=marcus.meissner@caldera.de \
--cc=achim@vortex.de \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®