On Fri, 19 May 2006, Greg KH wrote: > > For this reason I am suggesting a usb_intr_msg() function which is > > written as usb_bulk_msg() but with usb_fill_int_urb() instead of > > usb_fill_bulk_urb(). > > Take a look at how usb_fill_int_urb() and usb_fill_bulk_urb() are > defined, they are just simple "fill up the structure" functions, and are > not different.
That's not quite right. There is an important difference between them: interrupt URBs use the "interval" member. But it shouldn't matter. usb_bulk_msg() checks the endpoint type. If it is an interrupt endpoint then usb_fill_int_urb() is used, otherwise usb_fill_bulk_urb() is used. Alan Stern ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel