linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: PATCH: dpt_i2o PCI devicetable
@ 2001-11-06 16:04 Bonds, Deanna
  0 siblings, 0 replies; 2+ messages in thread
From: Bonds, Deanna @ 2001-11-06 16:04 UTC (permalink / raw)
  To: 'Marcus Meissner', Alan Cox; +Cc: linux-kernel

Thanks, I'll test it and incorporate it into my version/patch.  I am close
to being ready to release the patch that fully enables alpha and ia64
support.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* PATCH: dpt_i2o PCI devicetable
@ 2001-11-06 12:54 Marcus Meissner
  0 siblings, 0 replies; 2+ messages in thread
From: Marcus Meissner @ 2001-11-06 12:54 UTC (permalink / raw)
  To: deanna_bonds, Alan Cox; +Cc: linux-kernel

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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-06 16:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-06 16:04 PATCH: dpt_i2o PCI devicetable Bonds, Deanna
  -- strict thread matches above, loose matches on Subject: below --
2001-11-06 12:54 Marcus Meissner

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).