diff options
Diffstat (limited to 'drivers/pci/quirks.c')
-rw-r--r-- | drivers/pci/quirks.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 204b1c8e972b..5b4483811691 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c | |||
@@ -1460,33 +1460,6 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x2609, quirk_intel_pcie_pm); | |||
1460 | DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x260a, quirk_intel_pcie_pm); | 1460 | DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x260a, quirk_intel_pcie_pm); |
1461 | DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x260b, quirk_intel_pcie_pm); | 1461 | DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x260b, quirk_intel_pcie_pm); |
1462 | 1462 | ||
1463 | /* | ||
1464 | * Fixup the cardbus bridges on the IBM Dock II docking station | ||
1465 | */ | ||
1466 | static void __devinit quirk_ibm_dock2_cardbus(struct pci_dev *dev) | ||
1467 | { | ||
1468 | u32 val; | ||
1469 | |||
1470 | /* | ||
1471 | * tie the 2 interrupt pins to INTA, and configure the | ||
1472 | * multifunction routing register to handle this. | ||
1473 | */ | ||
1474 | if ((dev->subsystem_vendor == PCI_VENDOR_ID_IBM) && | ||
1475 | (dev->subsystem_device == 0x0148)) { | ||
1476 | printk(KERN_INFO "PCI: Found IBM Dock II Cardbus Bridge " | ||
1477 | "applying quirk\n"); | ||
1478 | pci_read_config_dword(dev, 0x8c, &val); | ||
1479 | val = ((val & 0xffffff00) | 0x1002); | ||
1480 | pci_write_config_dword(dev, 0x8c, val); | ||
1481 | pci_read_config_dword(dev, 0x80, &val); | ||
1482 | val = ((val & 0x00ffff00) | 0x2864c077); | ||
1483 | pci_write_config_dword(dev, 0x80, val); | ||
1484 | } | ||
1485 | } | ||
1486 | |||
1487 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_1420, | ||
1488 | quirk_ibm_dock2_cardbus); | ||
1489 | |||
1490 | static void __devinit quirk_netmos(struct pci_dev *dev) | 1463 | static void __devinit quirk_netmos(struct pci_dev *dev) |
1491 | { | 1464 | { |
1492 | unsigned int num_parallel = (dev->subsystem_device & 0xf0) >> 4; | 1465 | unsigned int num_parallel = (dev->subsystem_device & 0xf0) >> 4; |