diff options
author | Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> | 2007-07-17 08:01:17 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-19 20:46:05 -0400 |
commit | 598f22e11bef8171f2244128bf0341da38fe8a23 (patch) | |
tree | b22e96c972cd80242518d2d3be7685671818cb46 /drivers/usb/gadget/Kconfig | |
parent | d8fbba2f59c0c131a1babf5a66f003faee02e01a (diff) |
USB: m66592-udc: fixes some problems
This patch incorporates some updates from the review of the
Renesas m66592-udc driver. Updates include:
- Fix some locking bugs; and add a few sparse annotations
- Don't #define __iomem !
- Lots of whitespace fixes (most of the patch by volume)
- Some #include file trimmage
- Other checkpatch.pl and sparse updates
- Alphabetized and slightly-more-informative Kconfig
- Don't use the ID which was assigned to the amd5536udc driver.
- Remove pointless suspend/resume methods updating obsolete field.
- Some section fixups
- Fix some leak bugs
- Fix byteswapping
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 1553e9a649cd..767aed5b4bea 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig | |||
@@ -177,6 +177,24 @@ config USB_PXA2XX_SMALL | |||
177 | default y if USB_ETH | 177 | default y if USB_ETH |
178 | default y if USB_G_SERIAL | 178 | default y if USB_G_SERIAL |
179 | 179 | ||
180 | config USB_GADGET_M66592 | ||
181 | boolean "Renesas M66592 USB Peripheral Controller" | ||
182 | select USB_GADGET_DUALSPEED | ||
183 | help | ||
184 | M66592 is a discrete USB peripheral controller chip that | ||
185 | supports both full and high speed USB 2.0 data transfers. | ||
186 | It has seven configurable endpoints, and endpoint zero. | ||
187 | |||
188 | Say "y" to link the driver statically, or "m" to build a | ||
189 | dynamically linked module called "m66592_udc" and force all | ||
190 | gadget drivers to also be dynamically linked. | ||
191 | |||
192 | config USB_M66592 | ||
193 | tristate | ||
194 | depends on USB_GADGET_M66592 | ||
195 | default USB_GADGET | ||
196 | select USB_GADGET_SELECTED | ||
197 | |||
180 | config USB_GADGET_GOKU | 198 | config USB_GADGET_GOKU |
181 | boolean "Toshiba TC86C001 'Goku-S'" | 199 | boolean "Toshiba TC86C001 'Goku-S'" |
182 | depends on PCI | 200 | depends on PCI |
@@ -282,24 +300,6 @@ config USB_AT91 | |||
282 | depends on USB_GADGET_AT91 | 300 | depends on USB_GADGET_AT91 |
283 | default USB_GADGET | 301 | default USB_GADGET |
284 | 302 | ||
285 | config USB_GADGET_M66592 | ||
286 | boolean "M66592 driver" | ||
287 | select USB_GADGET_DUALSPEED | ||
288 | help | ||
289 | M66592 is a USB 2.0 peripheral controller. | ||
290 | |||
291 | It has seven configurable endpoints, and endpoint zero. | ||
292 | |||
293 | Say "y" to link the driver statically, or "m" to build a | ||
294 | dynamically linked module called "m66592_udc" and force all | ||
295 | gadget drivers to also be dynamically linked. | ||
296 | |||
297 | config USB_M66592 | ||
298 | tristate | ||
299 | depends on USB_GADGET_M66592 | ||
300 | default USB_GADGET | ||
301 | select USB_GADGET_SELECTED | ||
302 | |||
303 | config USB_GADGET_DUMMY_HCD | 303 | config USB_GADGET_DUMMY_HCD |
304 | boolean "Dummy HCD (DEVELOPMENT)" | 304 | boolean "Dummy HCD (DEVELOPMENT)" |
305 | depends on (USB=y || (USB=m && USB_GADGET=m)) && EXPERIMENTAL | 305 | depends on (USB=y || (USB=m && USB_GADGET=m)) && EXPERIMENTAL |