On 4 Jun 2003 at 9:31, David Brownell wrote: > Oliver Neukum wrote: > > Hi, > > > > going through the drivers, it seems that there are drivers which > > legitimately use usb_set_configuration. It seems that we have to > > deal with it. > > > > Some drivers, cdc-acm, -ether, really take the whole device and try > > all configurations. > > We should remove cdc-ether.c now, 2.5 doesn't need it. > > As for cdc-acm, I don't think it should be doing that. The code > that chooses a configuration can reasonably change its mind, for > example if there was a choice and no driver could bind to that > initial selection ... I don't think probe() should be allowed > to change configurations. >
To the contrary, probe() is the only component in the system that actually understands a device configuration. The higher-level code is just blindly flipping through a list looking for help. The driver is the component that understands the attached device and should be able to determine its configuration. That's the definition of a driver, IMHO. Leigh Bassett ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel