Hello, here goes -V2. Please, review this and help testing if you have one of the changed drivers. I tested it on my x86_64 machine, but I'm unable to test in my i386 one, it seems that latest Linus' tree is broken for me.
Changes from -V1: o The functions are not inline anymore, and I moved them to the usbcore driver. The inlines only saves the function call overhead, in this case this isn't important. On the other hand the non-inline version saves some bytes of the drivers' text size (Alan's advice). o The API is now complete: added new functions to check for isochronous endpoints, direction and transfer type (Dave's and Greg's suggestions). o Functions' body have been reduced (Thanks Pete). o Minor description changes drivers/usb/class/usblp.c | 9 +- drivers/usb/core/hub.c | 9 +- drivers/usb/core/usb.c | 142 ++++++++++++++++++++++++++++++++++++ drivers/usb/input/acecad.c | 5 - drivers/usb/input/appletouch.c | 5 - drivers/usb/input/ati_remote.c | 8 +- drivers/usb/input/keyspan_remote.c | 3 - drivers/usb/input/powermate.c | 4 - drivers/usb/serial/usb-serial.c | 19 ++--- include/linux/usb.h | 14 ++++ 10 files changed, 173 insertions(+), 45 deletions(-) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel