Thread (76 messages) 76 messages, 18 authors, 2013-02-14

[PATCH 13/15] USB: ehci: make orion and mxc bus glues coexist

From: stern@rowland.harvard.edu (Alan Stern)
Date: 2013-01-23 15:22:50
Also in: lkml

On Tue, 22 Jan 2013, Sascha Hauer wrote:
On Tue, Jan 22, 2013 at 03:38:55PM +0000, Arnd Bergmann wrote:
quoted
On Tuesday 22 January 2013, Alan Stern wrote:
quoted
In order to prevent this, you have to make sure that each glue driver
depends on USB_ARCH_HAS_EHCI.  A simple way to do this is to surround
the Kconfig entries for those drivers with "if USB && 
USB_ARCH_HAS_EHCI" ... "endif".
I was actually thinking we could remove the use of USB_ARCH_HAS_EHCI
as well once we have inverted the logic for selecting USB_EHCI_HCD,
but there is another problem with that, because then we still need
something to select USB_ARCH_HAS_HCD, or kill that symbol as well.
+1 for killing it. Such symbols get more and more meaningless anyway
with multiarch kernels-
I tend to agree.  Anyway, the symbols are named badly.  _Any_
architecture with HAS_IOMEM can in theory aupport host-side USB.  
Maybe some of the platforms don't, but that has nothing to do with the
CPU's architecture.

Furthermore, even platforms that don't support USB host controllers 
can use things like dummy-hcd and usbip, which provide virtual host 
controllers.

Anybody think these symbols should be retained?

Alan Stern
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help