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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/