patch-2.4.27 linux-2.4.27/drivers/usb/gadget/gadget_chips.h
Next file: linux-2.4.27/drivers/usb/gadget/ndis.h
Previous file: linux-2.4.27/drivers/usb/gadget/file_storage.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
2004-08-07 16:26:05.696389593 -0700
- Orig file:
linux-2.4.26/drivers/usb/gadget/gadget_chips.h
- Orig date:
2004-04-14 06:05:32.000000000 -0700
diff -urN linux-2.4.26/drivers/usb/gadget/gadget_chips.h linux-2.4.27/drivers/usb/gadget/gadget_chips.h
@@ -14,7 +14,13 @@
#define gadget_is_net2280(g) 0
#endif
-#ifdef CONFIG_USB_GADGET_PXA
+#ifdef CONFIG_USB_GADGET_DUMMY_HCD
+#define gadget_is_dummy(g) !strcmp("dummy_udc", (g)->name)
+#else
+#define gadget_is_dummy(g) 0
+#endif
+
+#ifdef CONFIG_USB_GADGET_PXA2XX
#define gadget_is_pxa(g) !strcmp("pxa2xx_udc", (g)->name)
#else
#define gadget_is_pxa(g) 0
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)