The previous patch used the wrong driver name, sorry.
I submitted the wrong version of the patch teaching about the driver for Mentor's Highspeed Dual Role Controller (HDRC), whoops! This uses the right name for that driver.
Signed-off-by: David Brownell <[EMAIL PROTECTED]> Index: g26/drivers/usb/gadget/gadget_chips.h =================================================================== --- g26.orig/drivers/usb/gadget/gadget_chips.h 2006-04-02 11:06:30.000000000 -0700 +++ g26/drivers/usb/gadget/gadget_chips.h 2006-04-02 11:16:52.000000000 -0700 @@ -100,9 +100,9 @@ #define gadget_is_musbhsfc(g) 0 #endif -/* Mentor high speed "dual role" controller, peripheral mode */ -#ifdef CONFIG_USB_GADGET_MUSBHDRC -#define gadget_is_musbhdrc(g) !strcmp("musbhdrc_udc", (g)->name) +/* Mentor high speed "dual role" controller, in peripheral role */ +#ifdef CONFIG_USB_GADGET_MUSB_HDRC +#define gadget_is_musbhdrc(g) !strcmp("musb_hdrc", (g)->name) #else #define gadget_is_musbhdrc(g) 0 #endif