PATCH: dpt_i2o PCI devicetable
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
scsi/dpt_i2o.c +7 -0
@@ -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 ;