aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/gadget_chips.h
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-05-09 00:01:30 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-12 19:29:48 -0400
commit7f9985c2e4e5555b750d6f891b4923e63cc834c1 (patch)
treee3bf7f320af1e4aee1c2b2b3de88a66531bf935d /drivers/usb/gadget/gadget_chips.h
parent45b844df5a4b17884b4e26e43bfc4802604e7cab (diff)
USB: usb gadget, dead config cleanup
Remove some dead CONFIG_ symbols, and document the status of a few others. The "gadget_chips.h" references are by and large to drivers which exist but haven't yet been submitted for merging to the main 2.6 tree. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/gadget_chips.h')
-rw-r--r--drivers/usb/gadget/gadget_chips.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/usb/gadget/gadget_chips.h b/drivers/usb/gadget/gadget_chips.h
index 96f50e35819f..9c84b385ca88 100644
--- a/drivers/usb/gadget/gadget_chips.h
+++ b/drivers/usb/gadget/gadget_chips.h
@@ -8,6 +8,8 @@
8 * (And avoiding all runtime comparisons in typical one-choice configs!) 8 * (And avoiding all runtime comparisons in typical one-choice configs!)
9 * 9 *
10 * NOTE: some of these controller drivers may not be available yet. 10 * NOTE: some of these controller drivers may not be available yet.
11 * Some are available on 2.4 kernels; several are available, but not
12 * yet pushed in the 2.6 mainline tree.
11 */ 13 */
12#ifdef CONFIG_USB_GADGET_NET2280 14#ifdef CONFIG_USB_GADGET_NET2280
13#define gadget_is_net2280(g) !strcmp("net2280", (g)->name) 15#define gadget_is_net2280(g) !strcmp("net2280", (g)->name)
@@ -33,12 +35,14 @@
33#define gadget_is_goku(g) 0 35#define gadget_is_goku(g) 0
34#endif 36#endif
35 37
38/* SH3 UDC -- not yet ported 2.4 --> 2.6 */
36#ifdef CONFIG_USB_GADGET_SUPERH 39#ifdef CONFIG_USB_GADGET_SUPERH
37#define gadget_is_sh(g) !strcmp("sh_udc", (g)->name) 40#define gadget_is_sh(g) !strcmp("sh_udc", (g)->name)
38#else 41#else
39#define gadget_is_sh(g) 0 42#define gadget_is_sh(g) 0
40#endif 43#endif
41 44
45/* not yet stable on 2.6 (would help "original Zaurus") */
42#ifdef CONFIG_USB_GADGET_SA1100 46#ifdef CONFIG_USB_GADGET_SA1100
43#define gadget_is_sa1100(g) !strcmp("sa1100_udc", (g)->name) 47#define gadget_is_sa1100(g) !strcmp("sa1100_udc", (g)->name)
44#else 48#else
@@ -51,6 +55,7 @@
51#define gadget_is_lh7a40x(g) 0 55#define gadget_is_lh7a40x(g) 0
52#endif 56#endif
53 57
58/* handhelds.org tree (?) */
54#ifdef CONFIG_USB_GADGET_MQ11XX 59#ifdef CONFIG_USB_GADGET_MQ11XX
55#define gadget_is_mq11xx(g) !strcmp("mq11xx_udc", (g)->name) 60#define gadget_is_mq11xx(g) !strcmp("mq11xx_udc", (g)->name)
56#else 61#else
@@ -63,12 +68,14 @@
63#define gadget_is_omap(g) 0 68#define gadget_is_omap(g) 0
64#endif 69#endif
65 70
71/* not yet ported 2.4 --> 2.6 */
66#ifdef CONFIG_USB_GADGET_N9604 72#ifdef CONFIG_USB_GADGET_N9604
67#define gadget_is_n9604(g) !strcmp("n9604_udc", (g)->name) 73#define gadget_is_n9604(g) !strcmp("n9604_udc", (g)->name)
68#else 74#else
69#define gadget_is_n9604(g) 0 75#define gadget_is_n9604(g) 0
70#endif 76#endif
71 77
78/* various unstable versions available */
72#ifdef CONFIG_USB_GADGET_PXA27X 79#ifdef CONFIG_USB_GADGET_PXA27X
73#define gadget_is_pxa27x(g) !strcmp("pxa27x_udc", (g)->name) 80#define gadget_is_pxa27x(g) !strcmp("pxa27x_udc", (g)->name)
74#else 81#else
@@ -93,6 +100,7 @@
93#define gadget_is_at91(g) 0 100#define gadget_is_at91(g) 0
94#endif 101#endif
95 102
103/* status unclear */
96#ifdef CONFIG_USB_GADGET_IMX 104#ifdef CONFIG_USB_GADGET_IMX
97#define gadget_is_imx(g) !strcmp("imx_udc", (g)->name) 105#define gadget_is_imx(g) !strcmp("imx_udc", (g)->name)
98#else 106#else
@@ -106,6 +114,7 @@
106#endif 114#endif
107 115
108/* Mentor high speed function controller */ 116/* Mentor high speed function controller */
117/* from Montavista kernel (?) */
109#ifdef CONFIG_USB_GADGET_MUSBHSFC 118#ifdef CONFIG_USB_GADGET_MUSBHSFC
110#define gadget_is_musbhsfc(g) !strcmp("musbhsfc_udc", (g)->name) 119#define gadget_is_musbhsfc(g) !strcmp("musbhsfc_udc", (g)->name)
111#else 120#else
@@ -119,6 +128,7 @@
119#define gadget_is_musbhdrc(g) 0 128#define gadget_is_musbhdrc(g) 0
120#endif 129#endif
121 130
131/* from Montavista kernel (?) */
122#ifdef CONFIG_USB_GADGET_MPC8272 132#ifdef CONFIG_USB_GADGET_MPC8272
123#define gadget_is_mpc8272(g) !strcmp("mpc8272_udc", (g)->name) 133#define gadget_is_mpc8272(g) !strcmp("mpc8272_udc", (g)->name)
124#else 134#else