lkml.org 
[lkml]   [2012]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: BUG: unable to handle kernel paging request in usb_match_id()
On Fri, Aug 17, 2012 at 10:38:16AM -0400, Alan Stern wrote:
> On Fri, 17 Aug 2012, Ming Lei wrote:
>
> > But, if HOTPLUG is not enabled, should device_add() trigger driver probe
> > further after kernel init is completed? Or even devices should be allowed
> > to add into system?
>
> Indeed, does it make any sense to have USB support at all if HOTPLUG
> isn't enabled? Should USB select HOTPLUG?

Well, a long time ago people wanted to use USB but not have HOTPLUG
enabled in their systems for various (odd) embedded systems. As it's
pretty hard to even turn off HOTPLUG these days, I'd be more likely to
just remove CONFIG_HOTPLUG entirely given the dynamic nature of almost
all systems.

So no, I don't think we should select HOTPLUG for USB.

greg k-h


\
 
 \ /
  Last update: 2012-08-17 19:01    [W:0.325 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site