On Thu, Jun 23, 2005 at 07:52:18AM +0200, Oliver Neukum wrote:
> Am Donnerstag, 23. Juni 2005 07:06 schrieb Greg KH:
> > On Wed, Jun 22, 2005 at 10:44:03PM +0200, Oliver Neukum wrote:
> > > Hi,
> > > 
> > > I am somewhat tired now.
> > > Which function is called upon probe() for usb serial drivers?
> > 
> > The one that they specify should be :)
> > 
> > Seriously, they all point to usb_serial_probe().  Then it's up to that
> > function to call the individual driver's probe() callback if they have
> > one, and then after some usb serial structures are set up, they can get
> > a callback into the calc_num_ports() callback, and then, after it's all
> > set up, there's an attach() callback.  All of these three get called
> > from the original probe.
> > 
> > usb-serial.h should have some documentation about this if you want more
> > details.
> 
> OK, I should be more specific. How do I prevent the serial core from
> allocating buffers and urbs I don't need? Do I just have to live with that?

Yeah, that's quite a different question :)

Yes, for now you just have to live with it, sorry.

thanks,

greg k-h


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to