diff options
| -rw-r--r-- | drivers/pci/quirks.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index e5861d5a2e4d..b7512cf08c58 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c | |||
| @@ -2554,6 +2554,19 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x1518, quirk_i82576_sriov); | |||
| 2554 | 2554 | ||
| 2555 | #endif /* CONFIG_PCI_IOV */ | 2555 | #endif /* CONFIG_PCI_IOV */ |
| 2556 | 2556 | ||
| 2557 | /* Allow manual resource allocation for PCI hotplug bridges | ||
| 2558 | * via pci=hpmemsize=nnM and pci=hpiosize=nnM parameters. For | ||
| 2559 | * some PCI-PCI hotplug bridges, like PLX 6254 (former HINT HB6), | ||
| 2560 | * kernel fails to allocate resources when hotplug device is | ||
| 2561 | * inserted and PCI bus is rescanned. | ||
| 2562 | */ | ||
| 2563 | static void __devinit quirk_hotplug_bridge(struct pci_dev *dev) | ||
| 2564 | { | ||
| 2565 | dev->is_hotplug_bridge = 1; | ||
| 2566 | } | ||
| 2567 | |||
| 2568 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_HINT, 0x0020, quirk_hotplug_bridge); | ||
| 2569 | |||
| 2557 | /* | 2570 | /* |
| 2558 | * This is a quirk for the Ricoh MMC controller found as a part of | 2571 | * This is a quirk for the Ricoh MMC controller found as a part of |
| 2559 | * some mulifunction chips. | 2572 | * some mulifunction chips. |
