--- zzzz-none-000/linux-2.6.32.61/drivers/usb/gadget/Kconfig 2013-06-10 09:43:48.000000000 +0000 +++ ar9-7330-650/linux-2.6.32.61/drivers/usb/gadget/Kconfig 2011-03-16 16:13:09.000000000 +0000 @@ -96,6 +96,24 @@ This value will be used except for system-specific gadget drivers that have more specific information. + +config USB_AR9130_OTG + boolean "USB OTG Support for AR9130" + depends on USB_GADGET_AR9130 && USB_OTG + default y + help + if you say Y here, the OTG functionality of AR9130 will be enabled and + used along with the Host/Gadget Implementation + + +config USB_ATH_OTG + bool "USB OTG Support for Atheros" + depends on USB_GADGET_ATH && USB_OTG + default y + help + if you say Y here, the OTG functionality of Atheros will be enabled and + used along with the Host/Gadget Implementation + config USB_GADGET_SELECTED boolean @@ -504,6 +522,41 @@ default USB_GADGET select USB_GADGET_SELECTED +config USB_GADGET_AR9130 + boolean "AR9130" + depends on MACH_AR7100 || MACH_AR7240 || MACH_AR724x + select USB_GADGET_DUALSPEED + help + AR9130 is an embedded USB peripheral controller which + supports both full and high speed USB 2.0 data transfers. + + Say "y" to link the driver statically, or "m" to build a + dynamically linked module called "ar9130_udc" and force all + gadget drivers to also be dynamically linked. + +config USB_AR9130 + tristate + depends on USB_GADGET_AR9130 + default USB_GADGET + select USB_GADGET_SELECTED + +config USB_GADGET_ATH + boolean "Atheros USB Gadget support" + depends on MACH_AR724x || MACH_AR933x || MACH_AR934x + select USB_GADGET_DUALSPEED + help + Atheros embedded USB peripheral controller which + supports both full and high speed USB 2.0 data transfers. + + Say "y" to link the driver statically, or "m" to build a + dynamically linked module called "ath_udc" and force all + gadget drivers to also be dynamically linked. + +config USB_ATH + tristate + depends on USB_GADGET_ATH + default USB_GADGET + select USB_GADGET_SELECTED # # LAST -- dummy/emulated controller @@ -519,11 +572,11 @@ side is the master; the gadget side is the slave. Gadget drivers can be high, full, or low speed; and they have access to endpoints like those from NET2280, PXA2xx, or SA1100 hardware. - + This may help in some stages of creating a driver to embed in a Linux device, since it lets you debug several parts of the gadget driver without its hardware or drivers being involved. - + Since such a gadget side driver needs to interoperate with a host side Linux-USB device driver, this may help to debug both sides of a USB protocol stack. @@ -672,7 +725,7 @@ If you say "y" here, the Ethernet gadget driver will try to provide a second device configuration, supporting RNDIS to talk to such Microsoft USB hosts. - + To make MS-Windows work with this, use Documentation/usb/linux.inf as the "driver info file". For versions of MS-Windows older than XP, you'll need to download drivers from Microsoft's website; a URL