linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcus Meissner <Marcus.Meissner@caldera.de>
To: deanna_bonds@adaptec.com, Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: PATCH: dpt_i2o PCI devicetable
Date: Tue, 6 Nov 2001 13:54:06 +0100	[thread overview]
Message-ID: <20011106135406.A2352@caldera.de> (raw)

Hi Deanna, Alan,

This adds PCI device table to dpt_i2o.c which allows automatic module loading
for automatic module installers.

Unfortunately I don't have such a card, or I would have changed the code to
use the table.

Ciao, Marcus

Index: drivers/scsi/dpt_i2o.c
===================================================================
RCS file: /build/mm/work/repository/linux-mm/drivers/scsi/dpt_i2o.c,v
retrieving revision 1.11
diff -u -r1.11 dpt_i2o.c
--- drivers/scsi/dpt_i2o.c	2001/10/25 16:49:35	1.11
+++ drivers/scsi/dpt_i2o.c	2001/11/06 11:22:02
@@ -165,6 +165,13 @@
  *============================================================================
  */
 
+static struct pci_device_id dptids[] = {
+	{ PCI_DPT_VENDOR_ID, PCI_DPT_DEVICE_ID, PCI_ANY_ID, PCI_ANY_ID,},
+	{ PCI_DPT_VENDOR_ID, PCI_DPT_RAPTOR_DEVICE_ID, PCI_ANY_ID, PCI_ANY_ID,},
+	{ 0, }
+};
+MODULE_DEVICE_TABLE(pci,dptids);
+
 static int adpt_detect(Scsi_Host_Template* sht)
 {
 	struct pci_dev *pDev = NULL;

             reply	other threads:[~2001-11-06 12:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-06 12:54 Marcus Meissner [this message]
2001-11-06 16:04 PATCH: dpt_i2o PCI devicetable Bonds, Deanna

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=20011106135406.A2352@caldera.de \
    --to=marcus.meissner@caldera.de \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=deanna_bonds@adaptec.com \
    --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;
as well as URLs for NNTP newsgroup(s).