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.

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