lkml.org 
[lkml]   [2013]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH, RFC 2/2] USB: host: make USB_ARCH_HAS_?HCI obsolete
On Tue, 4 Jun 2013, Arnd Bergmann wrote:

> On Tuesday 04 June 2013 11:22:01 Alan Stern wrote:
> >
> > Instead of doing this, it makes more sense to enable USB_ARCH_HAS_HCD
> > whenever host-side USB is enabled. In other words,
> >
> > def_bool USB
>
> The problem with this is that a lot of drivers (24 to be exact) are defined
> like
>
> config INPUT_ATI_REMOTE2
> tristate "ATI / Philips USB RF remote control"
> depends on USB_ARCH_HAS_HCD
> select USB

Oops. That's a problem.

> so that would create a circular dependency unless we change all of them
> at once. I did that when creating this patch, but then decided to
> revert it for now and do smaller steps.

Okay. Changing those 24 should be the next step.

> We could do
>
> config USB_ARCH_HAS_HCD
> def_bool USB_SUPPORT
>
> or
>
> config USB_ARCH_HAS_HCD
> def_bool y
>
> which would both have the exact same behavior as 'def_bool HAS_IOMEM'.

I'm in favor of "def_bool y".

Alan Stern



\
 
 \ /
  Last update: 2013-06-04 20:21    [W:0.079 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site