usb: add CONFIG_USB_PCI for system have both PCI HW and non-PCI based USB HW
a lot of embeded system SOC (e.g. freescale T2080) have both PCI and USB modules. But USB module is controlled by registers directly, it have no relationship with PCI module. when say N here it will not build PCI related code in USB driver. Signed-off-by: yuan linyu <Linyu.Yuan@alcatel-sbell.com.cn> Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
b5a6a4e5ba
commit
2c93e790e8
@@ -35,7 +35,6 @@ config USB_COMMON
|
||||
config USB_ARCH_HAS_HCD
|
||||
def_bool y
|
||||
|
||||
# ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface.
|
||||
config USB
|
||||
tristate "Support for Host-side USB"
|
||||
depends on USB_ARCH_HAS_HCD
|
||||
@@ -73,6 +72,17 @@ config USB
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called usbcore.
|
||||
|
||||
config USB_PCI
|
||||
bool "PCI based USB host interface"
|
||||
depends on PCI
|
||||
default y
|
||||
---help---
|
||||
A lot of embeded system SOC (e.g. freescale T2080) have both
|
||||
PCI and USB modules. But USB module is controlled by registers
|
||||
directly, it have no relationship with PCI module.
|
||||
|
||||
When say N here it will not build PCI related code in USB driver.
|
||||
|
||||
if USB
|
||||
|
||||
source "drivers/usb/core/Kconfig"
|
||||
|
Reference in New Issue
Block a user