[PATCH] usbatm.[ch]: brown paper bag

Duncan Sands baldrick at free.fr
Fri Apr 1 05:11:17 EST 2005


On Fri, 2005-04-01 at 14:08 +0400, Roman Kagan wrote:
> On Fri, Apr 01, 2005 at 11:59:36AM +0200, Duncan Sands wrote:
> > > In the attempt to better organize the driver initialization we've
> > > forgotten about one of its primary goals: to give the subdriver access
> > > to the usb_device_id pointer passed to probe.  Below is the trivial
> > > patch that fixes it.  The patch to cxacru actually using this will
> > > follow.
> > > 
> > > OK to commit?
> > 
> > What are you planning to use it for?
> 
> To distinguish between the modem types which need different
> initialization constants, by storing the appropriate pointer in
> usb_device_id.driver_info.  Currently there are two known types for
> cxacru, and I seem to remember Matthieu also needed this, so that was
> the main reason why we moved away from using .driver_info for usbatm own
> purposes.

Fair enough.  Please feel free to commit it.

Ciao,

D.




More information about the Usbatm mailing list