diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-05-07 09:23:27 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-05-07 09:23:27 -0600 |
commit | 0cbaa57d828aa0a067e06d3c6d795b12ae9fb776 (patch) | |
tree | 871e08f70566b16736ae228eddac018c77ca1144 /drivers/pci/pci.c | |
parent | 99662dd1ce05dbe6394771fcb6ca21bd2aa35987 (diff) | |
parent | 284f5f9dbac170b054c1e386ef92cbf654e91bba (diff) |
Merge branch 'topic/stratus' into next
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r-- | drivers/pci/pci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 9e31c0ab650..8f169002dc7 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -22,6 +22,7 @@ #include <linux/interrupt.h> #include <linux/device.h> #include <linux/pm_runtime.h> +#include <asm-generic/pci-bridge.h> #include <asm/setup.h> #include "pci.h" @@ -3900,6 +3901,8 @@ static int __init pci_setup(char *str) pcie_bus_config = PCIE_BUS_PERFORMANCE; } else if (!strncmp(str, "pcie_bus_peer2peer", 18)) { pcie_bus_config = PCIE_BUS_PEER2PEER; + } else if (!strncmp(str, "pcie_scan_all", 13)) { + pci_add_flags(PCI_SCAN_ALL_PCIE_DEVS); } else { printk(KERN_ERR "PCI: Unknown option `%s'\n", str); |