I'm pleased to see the level of interest in the "gadget" API that's coming from developers using Linux 2.4 systems. So here's a version to merge into the main tree, which should make it simpler to use and patch.
I'm submitting it as several smaller patches:
1 - <linux/usb_gadget.h> and <linux/usb_ch9.h>, API decls.
2 - usb/gadget/net2280.[hc], one implementation of the API.
PCI based, supports 480 Mbit/sec transfers, etc.3 - usb/gadget/zero.c, "Gadget Zero" for testing.
4 - usb/gadget/ether.c, CDC Ethernet class driver (or, for
less functional hardware, a "good bits only" subset).5 - LK 2.4 kbuild/kconfig support for the above.
That's the same core that 2.5 started with, although it's had some bugfixes and it doesn't include "gadgetfs" or the kerneldoc.
For those wanting to merge into other kernel trees, this has worked on some older kernels (2.4.18, not 2.4.9) without much effort beyond tweaking the build/config by hand.
- Dave
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
