On Tue, 13 Jun 2006, David Brownell wrote:

> >      4. Make usb_generic into a genuine device driver.  This involves
> >     adding a mechanism to tell apart USB interface drivers from USB
> >     device drivers -- of which usb_generic is currently the only one.

It turns out there is a small disadvantage to doing this.

usb_generic doesn't bind to a device until the device is registered.  
This means that all the early dev_info and dev_dbg log messages in
usb_new_device, hub_port_init, and so on, don't have a device driver name.

Maybe I should replace those macros with something like "usb_info" and 
"usb_dbg" that would always print "usb" for the driver name.

Alan Stern



_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to