diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-08-21 01:51:44 +0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-08-24 22:43:15 +0200 |
commit | 79dd9182db2072d63ccf160bb9a3463b1c952723 (patch) | |
tree | 89069b3803a4e07924c6fd4414bbd2a771a432e9 /drivers/pci/pcie/portdrv.h | |
parent | PCI: PCIe AER: Introduce pci_aer_available() (diff) | |
download | linux-79dd9182db2072d63ccf160bb9a3463b1c952723.tar.xz linux-79dd9182db2072d63ccf160bb9a3463b1c952723.zip |
PCI: PCIe: Introduce commad line switch for disabling port services
Introduce kernel command line switch pcie_ports= allowing one to
disable all of the native PCIe port services, so that PCIe ports
are treated like PCI-to-PCI bridges.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/pcie/portdrv.h')
-rw-r--r-- | drivers/pci/pcie/portdrv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/pcie/portdrv.h b/drivers/pci/pcie/portdrv.h index 813a5c3427b6..966f6e9761c8 100644 --- a/drivers/pci/pcie/portdrv.h +++ b/drivers/pci/pcie/portdrv.h @@ -20,6 +20,8 @@ #define get_descriptor_id(type, service) (((type - 4) << 4) | service) +extern bool pcie_ports_disabled; + extern struct bus_type pcie_port_bus_type; extern int pcie_port_device_register(struct pci_dev *dev); #ifdef CONFIG_PM |