diff options
author | Ralph Campbell <ralph.campbell@qlogic.com> | 2010-05-06 20:03:19 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-05-24 01:14:25 -0400 |
commit | f6d60848baf9f4015c76c665791875ed623cd5b7 (patch) | |
tree | 7079f308086c79f535550be9bfa3c86accdf5557 /drivers/infiniband/hw/ipath/ipath_driver.c | |
parent | f931551bafe1f10ded7f5282e2aa162c267a2e5d (diff) |
IB/ipath: Remove support for QLogic PCIe QLE devices
The ib_qib driver is taking over support for QLogic PCIe QLE devices,
so remove support for them from ib_ipath. The ib_ipath driver now
supports only the obsolete QLogic Hyper-Transport IB host channel
adapter (model QHT7140).
Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_driver.c')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_driver.c | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_driver.c b/drivers/infiniband/hw/ipath/ipath_driver.c index 6302626d17f0..21337468c652 100644 --- a/drivers/infiniband/hw/ipath/ipath_driver.c +++ b/drivers/infiniband/hw/ipath/ipath_driver.c | |||
@@ -132,18 +132,13 @@ static int __devinit ipath_init_one(struct pci_dev *, | |||
132 | 132 | ||
133 | /* Only needed for registration, nothing else needs this info */ | 133 | /* Only needed for registration, nothing else needs this info */ |
134 | #define PCI_VENDOR_ID_PATHSCALE 0x1fc1 | 134 | #define PCI_VENDOR_ID_PATHSCALE 0x1fc1 |
135 | #define PCI_VENDOR_ID_QLOGIC 0x1077 | ||
136 | #define PCI_DEVICE_ID_INFINIPATH_HT 0xd | 135 | #define PCI_DEVICE_ID_INFINIPATH_HT 0xd |
137 | #define PCI_DEVICE_ID_INFINIPATH_PE800 0x10 | ||
138 | #define PCI_DEVICE_ID_INFINIPATH_7220 0x7220 | ||
139 | 136 | ||
140 | /* Number of seconds before our card status check... */ | 137 | /* Number of seconds before our card status check... */ |
141 | #define STATUS_TIMEOUT 60 | 138 | #define STATUS_TIMEOUT 60 |
142 | 139 | ||
143 | static const struct pci_device_id ipath_pci_tbl[] = { | 140 | static const struct pci_device_id ipath_pci_tbl[] = { |
144 | { PCI_DEVICE(PCI_VENDOR_ID_PATHSCALE, PCI_DEVICE_ID_INFINIPATH_HT) }, | 141 | { PCI_DEVICE(PCI_VENDOR_ID_PATHSCALE, PCI_DEVICE_ID_INFINIPATH_HT) }, |
145 | { PCI_DEVICE(PCI_VENDOR_ID_PATHSCALE, PCI_DEVICE_ID_INFINIPATH_PE800) }, | ||
146 | { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_INFINIPATH_7220) }, | ||
147 | { 0, } | 142 | { 0, } |
148 | }; | 143 | }; |
149 | 144 | ||
@@ -521,30 +516,9 @@ static int __devinit ipath_init_one(struct pci_dev *pdev, | |||
521 | /* setup the chip-specific functions, as early as possible. */ | 516 | /* setup the chip-specific functions, as early as possible. */ |
522 | switch (ent->device) { | 517 | switch (ent->device) { |
523 | case PCI_DEVICE_ID_INFINIPATH_HT: | 518 | case PCI_DEVICE_ID_INFINIPATH_HT: |
524 | #ifdef CONFIG_HT_IRQ | ||
525 | ipath_init_iba6110_funcs(dd); | 519 | ipath_init_iba6110_funcs(dd); |
526 | break; | 520 | break; |
527 | #else | 521 | |
528 | ipath_dev_err(dd, "QLogic HT device 0x%x cannot work if " | ||
529 | "CONFIG_HT_IRQ is not enabled\n", ent->device); | ||
530 | return -ENODEV; | ||
531 | #endif | ||
532 | case PCI_DEVICE_ID_INFINIPATH_PE800: | ||
533 | #ifdef CONFIG_PCI_MSI | ||
534 | ipath_init_iba6120_funcs(dd); | ||
535 | break; | ||
536 | #else | ||
537 | ipath_dev_err(dd, "QLogic PCIE device 0x%x cannot work if " | ||
538 | "CONFIG_PCI_MSI is not enabled\n", ent->device); | ||
539 | return -ENODEV; | ||
540 | #endif | ||
541 | case PCI_DEVICE_ID_INFINIPATH_7220: | ||
542 | #ifndef CONFIG_PCI_MSI | ||
543 | ipath_dbg("CONFIG_PCI_MSI is not enabled, " | ||
544 | "using INTx for unit %u\n", dd->ipath_unit); | ||
545 | #endif | ||
546 | ipath_init_iba7220_funcs(dd); | ||
547 | break; | ||
548 | default: | 522 | default: |
549 | ipath_dev_err(dd, "Found unknown QLogic deviceid 0x%x, " | 523 | ipath_dev_err(dd, "Found unknown QLogic deviceid 0x%x, " |
550 | "failing\n", ent->device); | 524 | "failing\n", ent->device); |