#
# PCI Express Port Bus Configuration
#
config PCIEPORTBUS
	bool "PCI Express support"
	depends on PCI
	help
	  This automatically enables PCI Express Port Bus support. Users can
	  choose Native Hot-Plug support, Advanced Error Reporting support,
	  Power Management Event support and Virtual Channel support to run
	  on PCI Express Ports (Root or Switch).

#
# Include service Kconfig here
#
config HOTPLUG_PCI_PCIE
	tristate "PCI Express Hotplug driver"
	depends on HOTPLUG_PCI && PCIEPORTBUS
	help
	  Say Y here if you have a motherboard that supports PCI Express Native
	  Hotplug

	  To compile this driver as a module, choose M here: the
	  module will be called pciehp.

	  When in doubt, say N.

source "drivers/pci/pcie/aer/Kconfig"

#
# PCI Express ASPM
#
config PCIEASPM
	bool "PCI Express ASPM support(Experimental)"
	depends on PCI && EXPERIMENTAL && PCIEPORTBUS
	default n
	help
	  This enables PCI Express ASPM (Active State Power Management) and
	  Clock Power Management. ASPM supports state L0/L0s/L1.

	  When in doubt, say N.
config PCIEASPM_DEBUG
	bool "Debug PCI Express ASPM"
	depends on PCIEASPM
	default n
	help
	  This enables PCI Express ASPM debug support. It will add per-device
	  interface to control ASPM.

#
# CNW5XXX PCI Express Endpoint
#
config CNW5XXX_PCIE_ENDPOINT
	bool "CNW5XXX PCI Express endpoint support"
	depends on PCI && PCIEPORTBUS
	default n
	help
	  This enables CNS4XXXX PCI Express endpoint mode, RC mode will
	  be disabled.

config CNW5XXX_RESERVE_BOOTMEM
	bool "Reserve boot memory for PCI-E endpoint inbound memory stress test"
	depends on CNW5XXX_PCIE_ENDPOINT
	default n
	help
	  Enable this option will reserve 6MB(1MB for each bar) boot memory
	  for PCI-e inbound memory test.
