Commit 7b720009 authored by Felipe Balbi's avatar Felipe Balbi Committed by Greg Kroah-Hartman

usb/host: introduce USB_ARCH_HAS_XHCI

to make it look like OHCI and EHCI, we introduce
that symbol and USB_XHCI_HCD depend on that
instead of PCI.

[bigeasy@linutronix.de: wire up USB_ARCH_HAS_HCD]
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarSarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent cd68176a
...@@ -24,6 +24,7 @@ config USB_ARCH_HAS_HCD ...@@ -24,6 +24,7 @@ config USB_ARCH_HAS_HCD
boolean boolean
default y if USB_ARCH_HAS_OHCI default y if USB_ARCH_HAS_OHCI
default y if USB_ARCH_HAS_EHCI default y if USB_ARCH_HAS_EHCI
default y if USB_ARCH_HAS_XHCI
default y if PCMCIA && !M32R # sl811_cs default y if PCMCIA && !M32R # sl811_cs
default y if ARM # SL-811 default y if ARM # SL-811
default y if BLACKFIN # SL-811 default y if BLACKFIN # SL-811
...@@ -77,6 +78,11 @@ config USB_ARCH_HAS_EHCI ...@@ -77,6 +78,11 @@ config USB_ARCH_HAS_EHCI
default y if ARCH_MMP default y if ARCH_MMP
default PCI default PCI
# some non-PCI HCDs implement xHCI
config USB_ARCH_HAS_XHCI
boolean
default PCI
# ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface. # ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface.
config USB config USB
tristate "Support for Host-side USB" tristate "Support for Host-side USB"
......
...@@ -19,7 +19,7 @@ config USB_C67X00_HCD ...@@ -19,7 +19,7 @@ config USB_C67X00_HCD
config USB_XHCI_HCD config USB_XHCI_HCD
tristate "xHCI HCD (USB 3.0) support (EXPERIMENTAL)" tristate "xHCI HCD (USB 3.0) support (EXPERIMENTAL)"
depends on USB && PCI && EXPERIMENTAL depends on USB && USB_ARCH_HAS_XHCI && EXPERIMENTAL
---help--- ---help---
The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0 The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0
"SuperSpeed" host controller hardware. "SuperSpeed" host controller hardware.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment