]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/infiniband/hw/ipath/ipath_driver.c
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx
[mv-sheeva.git] / drivers / infiniband / hw / ipath / ipath_driver.c
index 6302626d17f005536229657b465c1be3b76c01fd..21337468c652442b7a668243f2b10510c6ae3a5b 100644 (file)
@@ -132,18 +132,13 @@ static int __devinit ipath_init_one(struct pci_dev *,
 
 /* Only needed for registration, nothing else needs this info */
 #define PCI_VENDOR_ID_PATHSCALE 0x1fc1
-#define PCI_VENDOR_ID_QLOGIC 0x1077
 #define PCI_DEVICE_ID_INFINIPATH_HT 0xd
-#define PCI_DEVICE_ID_INFINIPATH_PE800 0x10
-#define PCI_DEVICE_ID_INFINIPATH_7220 0x7220
 
 /* Number of seconds before our card status check...  */
 #define STATUS_TIMEOUT 60
 
 static const struct pci_device_id ipath_pci_tbl[] = {
        { PCI_DEVICE(PCI_VENDOR_ID_PATHSCALE, PCI_DEVICE_ID_INFINIPATH_HT) },
-       { PCI_DEVICE(PCI_VENDOR_ID_PATHSCALE, PCI_DEVICE_ID_INFINIPATH_PE800) },
-       { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_INFINIPATH_7220) },
        { 0, }
 };
 
@@ -521,30 +516,9 @@ static int __devinit ipath_init_one(struct pci_dev *pdev,
        /* setup the chip-specific functions, as early as possible. */
        switch (ent->device) {
        case PCI_DEVICE_ID_INFINIPATH_HT:
-#ifdef CONFIG_HT_IRQ
                ipath_init_iba6110_funcs(dd);
                break;
-#else
-               ipath_dev_err(dd, "QLogic HT device 0x%x cannot work if "
-                             "CONFIG_HT_IRQ is not enabled\n", ent->device);
-               return -ENODEV;
-#endif
-       case PCI_DEVICE_ID_INFINIPATH_PE800:
-#ifdef CONFIG_PCI_MSI
-               ipath_init_iba6120_funcs(dd);
-               break;
-#else
-               ipath_dev_err(dd, "QLogic PCIE device 0x%x cannot work if "
-                             "CONFIG_PCI_MSI is not enabled\n", ent->device);
-               return -ENODEV;
-#endif
-       case PCI_DEVICE_ID_INFINIPATH_7220:
-#ifndef CONFIG_PCI_MSI
-               ipath_dbg("CONFIG_PCI_MSI is not enabled, "
-                         "using INTx for unit %u\n", dd->ipath_unit);
-#endif
-               ipath_init_iba7220_funcs(dd);
-               break;
+
        default:
                ipath_dev_err(dd, "Found unknown QLogic deviceid 0x%x, "
                              "failing\n", ent->device);