> Here the driver is internally making a call to "submit_urb() " , > which is a > member of the " usb_operations " structure . But I don't know how and > where the " op " object of type " usb_operations " structure, is > initialized to call " submit_urb() " function . > > You please go through this , and please try to clear my doubt .
You do that by filling the dev component of the URB. You are provided with functions like usb_fill_bulk() to make that easy. (or MACROs in some kernel versions) Regards Oliver ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel