]> git.hungrycats.org Git - linux/commit
[PATCH] USB: g_ether does endpoint autoconfig too
authorDavid Brownell <david-b@pacbell.net>
Fri, 26 Mar 2004 04:32:02 +0000 (20:32 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 26 Mar 2004 04:32:02 +0000 (20:32 -0800)
commit7ab4b6bceb921c82411e722e7e0b9f0c4b38d6a1
treea5a4b777f8c081c9757e609ff8b3becae4b44b4c
parent1a8ebef00453a9fc8bd993e2e51dd61bffd1b471
[PATCH] USB: g_ether does endpoint autoconfig too

Here's an update for the Ethernet gadget that corresponds
to the earlier one for Gadget Zero ... it gets rid of almost
all the remaining controller-specific #ifdefs in this driver.
(And also lets the driver initialize using "dummy_hcd".)

This is a significant step towards doing hardware-specific
configuration at run time (or at least init-time) rather
than compile time, but other patches will be needed to take
it the rest of the way there.   (Especially considering the
RNDIS support...)  The runtime footprint of the driver shrank
a bit, mostly because things moved into the init section.
drivers/usb/gadget/Makefile
drivers/usb/gadget/epautoconf.c
drivers/usb/gadget/ether.c
drivers/usb/gadget/gadget_chips.h