For what it's worth I'm including my UDC driver as a patch against your 2.4 gadget tree. I've only tried it with g_zero and g_file_storage so those are the only changed gadgets. This patch doesn't include any changes for stall free mass storage operation. I'm sure there are lots of bugs in this driver, let me know what you think.
Thanks! It's especially cool to see another UDC ... :)
What kind of bulk throughput are you getting? With double buffered PIO I've seen over 800 KB/sec; but then I tend to measure using TTCP, which adds some level of hiccups.
I think I'll have to merge this in dribs'n'drabs. I can do the build/config support right away; a Config.in entry would be good too. Also that first file_storage.c change (assuming Alan doesn't object). I know the gadget zero patch will be a bit more (no loopback config).
Re the UDC code, I'll send cleanup suggestions off-line.
The main thing that makes me wonder "bug??" is the "ep3" handling, which is incomplete. That's the 8-byte Interrupt-IN endpoint that seems to be a "low priority" IRQ. If it does data toggle, then it should be called "ep3in-bulk", and you could test it by just using it as a substitute in for "ep2in-bulk" (except that it's got a very small maxpacket). If it can't toggle, call it "ep3in-int" and expect to write custom test code.
- Dave
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel