diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-05-07 11:23:27 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-05-07 11:23:27 -0400 |
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 9e31c0ab650e..8f169002dc7e 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/interrupt.h> | 22 | #include <linux/interrupt.h> |
23 | #include <linux/device.h> | 23 | #include <linux/device.h> |
24 | #include <linux/pm_runtime.h> | 24 | #include <linux/pm_runtime.h> |
25 | #include <asm-generic/pci-bridge.h> | ||
25 | #include <asm/setup.h> | 26 | #include <asm/setup.h> |
26 | #include "pci.h" | 27 | #include "pci.h" |
27 | 28 | ||
@@ -3900,6 +3901,8 @@ static int __init pci_setup(char *str) | |||
3900 | pcie_bus_config = PCIE_BUS_PERFORMANCE; | 3901 | pcie_bus_config = PCIE_BUS_PERFORMANCE; |
3901 | } else if (!strncmp(str, "pcie_bus_peer2peer", 18)) { | 3902 | } else if (!strncmp(str, "pcie_bus_peer2peer", 18)) { |
3902 | pcie_bus_config = PCIE_BUS_PEER2PEER; | 3903 | pcie_bus_config = PCIE_BUS_PEER2PEER; |
3904 | } else if (!strncmp(str, "pcie_scan_all", 13)) { | ||
3905 | pci_add_flags(PCI_SCAN_ALL_PCIE_DEVS); | ||
3903 | } else { | 3906 | } else { |
3904 | printk(KERN_ERR "PCI: Unknown option `%s'\n", | 3907 | printk(KERN_ERR "PCI: Unknown option `%s'\n", |
3905 | str); | 3908 | str); |