usbatm : modprobe & rmmod

Duncan Sands duncan.sands at math.u-psud.fr
Thu Jan 27 05:54:12 EST 2005


Hi Matthieu,

> > I'm not sure I understand you.  In any case, I don't see any problems that
> > can't be easily solved.
> That's just a performance issue : usbatm init data for nothing in the 
> case of speedtouch :
> probe interface0 -> usbatm2 init -> bind (interface == 0 -> failed) -> 
> usbatm2 deinit -> probe interface1 -> usbatm2 init -> bind (ok) -> ....

usbatm_probe should call bind earlier, which would reduce the overhead, but for
the moment it seemed safer to fully initialize usbatm_data before calling bind.
Not that performance matters here at all...

Ciao,

Duncan.



More information about the Usbatm mailing list