On Sat, Sep 28, 2002 at 08:21:54PM -0700, Randy Dunlap wrote:
> > On Fri, Sep 27, 2002 at 10:45:45PM -0700, Randy.Dunlap wrote:
> >> Greg,
> >>
> >> Here's "nousb" for 2.4.39 if you want it.
> >
> > Great!  Yes, I have been wanting this.
> >
> >> It only applies to USB when built into a kernel image,
> >> not as modules.
> >> [Could be changed, but I didn't see a need for it.]
> >
> > No, that looks like the right way to do it.  If the core is built as a
> > module, it's up to the initscripts to not load USB (conviently some
> > distros already do this with the "nousb" flag).
> >
> > But in looking at what Arjan did for the Red Hat kernel, I think you
> > also need to test for this when the host controller drivers load to make
> > sure they can't initialize, and when usb_register() is called.
> 
> Doh.  I wonder what I was thinking last night.
> So each HCD's 'init' needs a check for "nousb", right?
> I just checked and don't really see a cleaner way to do it.

How about in usb_register_bus()?

thanks,

greg k-h


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to