Hi Oliver! What you're trying to do is what the HPS USB stack for FreeBSD has been doing for a while. See for example:
http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/dev/usb/ohci.c Look at the function: static usbd_status ohci_xfer_setup(struct usbd_device *udev, u_int8_t iface_index, struct usbd_xfer **pxfer, const struct usbd_config *setup_start, const struct usbd_config *setup_end) Maybe you want to take your approach one step further and allow allocation of multiple "URB" structures in the same go ? --HPS ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel