linux-stable/drivers/usb/renesas_usbhs
Felipe Balbi 193ab2a607 usb: gadget: allow multiple gadgets to be built
now that we have the udc class, we can allow
multiple gadget controller drivers to be
compiled as modules. This will allow for
distro-like kernels for embedded devices.

With this patch, I managed to build an x86
kernel with support for many of the controllers
enabled:

CONFIG_USB_FUSB300=m
CONFIG_USB_R8A66597=m
CONFIG_USB_M66592=m
CONFIG_USB_AMD5536UDC=m
CONFIG_USB_CI13XXX_PCI=m
CONFIG_USB_NET2272=m
CONFIG_USB_NET2280=m
CONFIG_USB_GOKU=m
CONFIG_USB_LANGWELL=m
CONFIG_USB_EG20T=m

Also an ARM kernel with support for many controllers:

CONFIG_USB_FUSB300=m
CONFIG_USB_OMAP=m
CONFIG_USB_R8A66597=m
CONFIG_USB_GADGET_MUSB_HDRC=m
CONFIG_USB_M66592=m
CONFIG_USB_NET2272=m
CONFIG_USB_DUMMY_HCD=m

The next step would be to get rid of the
direct access to arch/ and mach/ directories
on some gadget controllers so that we can
build all of them without depending on their
respective ARCH_* symbols.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-07-01 14:31:11 -07:00
..
common.c usb: renesas_usbhs: add DMAEngine support 2011-06-07 09:10:10 -07:00
common.h usb: renesas_usbhs: add DMAEngine support 2011-06-07 09:10:10 -07:00
fifo.c usb: renesas_usbhs: add DMAEngine support 2011-06-07 09:10:10 -07:00
fifo.h usb: renesas_usbhs: add DMAEngine support 2011-06-07 09:10:10 -07:00
Makefile usb: renesas_usbhs: fifo became independent from pipe. 2011-06-07 09:10:07 -07:00
mod.c usb: renesas_usbhs: add autonomy mode 2011-04-29 17:24:35 -07:00
mod.h usb: renesas_usbhs: add autonomy mode 2011-04-29 17:24:35 -07:00
mod_gadget.c usb: gadget: convert all users to the new udc infrastructure 2011-06-28 11:13:35 -07:00
pipe.c usb: renesas_usbhs: fixup connection fail 2011-06-14 14:23:23 -07:00
pipe.h usb: renesas_usbhs: fixup connection fail 2011-06-14 14:23:23 -07:00