On Fri, 11 May 2007, Oliver Neukum wrote: > Am Freitag, 11. Mai 2007 20:15 schrieb Alan Stern: > > > On the contrary. This propblem usually occurs during probe() where it is > > > handled exactly this way. You return an error. > > > > The situations aren't parallel. During probe() the driver is supposed to > > test the device to make sure it really can manage it. Hence it makes > > sense to return an error. But post_reset() informs the driver that the > > device has finished being reset. The driver isn't asked to do anything, > > so it shouldn't return anything. > > Ehm, how do you suppose any serial adaptor to handle this without > restoring, eg. baud rate, or the network adapters without restoring IP, > etc... ?
By keeping track of those values in their private data structures. Maybe they don't bother to do so; I'm not familiar with those drivers. So all right, I'll write the routine for you. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel