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

Roman Kagan rkagan at mail.ru
Fri Apr 1 05:08:27 EST 2005

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


More information about the Usbatm mailing list