Add a USES_TGZ config.in variable, so that RB1xx profiles can use it
[openwrt.git] / target / linux / adm5120-2.6 / patches / 005-adm5120_usb.patch
1 Index: linux-2.6.21.1/drivers/usb/core/hub.c
2 ===================================================================
3 --- linux-2.6.21.1.orig/drivers/usb/core/hub.c
4 +++ linux-2.6.21.1/drivers/usb/core/hub.c
5 @@ -2227,6 +2227,8 @@ hub_port_init (struct usb_hub *hub, stru
6                                         USB_DT_DEVICE << 8, 0,
7                                         buf, GET_DESCRIPTOR_BUFSIZE,
8                                         (i ? USB_CTRL_GET_TIMEOUT : 1000));
9 +printk(KERN_CRIT "usb_control_msg: %d %d %d (%d)\n", r, buf->bMaxPacketSize0,
10 +buf->bDescriptorType, USB_DT_DEVICE);
11                                 switch (buf->bMaxPacketSize0) {
12                                 case 8: case 16: case 32: case 64: case 255:
13                                         if (buf->bDescriptorType ==
14 Index: linux-2.6.21.1/drivers/usb/host/Kconfig
15 ===================================================================
16 --- linux-2.6.21.1.orig/drivers/usb/host/Kconfig
17 +++ linux-2.6.21.1/drivers/usb/host/Kconfig
18 @@ -224,3 +224,6 @@ config USB_SL811_CS
19           To compile this driver as a module, choose M here: the
20           module will be called "sl811_cs".
21  
22 +config USB_ADM5120_HCD
23 +       tristate "ADM5120 HCD support"
24 +       depends on USB && MIPS_ADM5120
25 Index: linux-2.6.21.1/drivers/usb/host/Makefile
26 ===================================================================
27 --- linux-2.6.21.1.orig/drivers/usb/host/Makefile
28 +++ linux-2.6.21.1/drivers/usb/host/Makefile
29 @@ -16,3 +16,4 @@ obj-$(CONFIG_USB_SL811_HCD)   += sl811-hcd
30  obj-$(CONFIG_USB_SL811_CS)     += sl811_cs.o
31  obj-$(CONFIG_USB_U132_HCD)     += u132-hcd.o
32  obj-$(CONFIG_ETRAX_ARCH_V10)   += hc_crisv10.o
33 +obj-$(CONFIG_USB_ADM5120_HCD)  += adm5120-hcd.o
34 Index: linux-2.6.21.1/drivers/usb/Kconfig
35 ===================================================================
36 --- linux-2.6.21.1.orig/drivers/usb/Kconfig
37 +++ linux-2.6.21.1/drivers/usb/Kconfig
38 @@ -91,8 +91,6 @@ source "drivers/usb/image/Kconfig"
39  
40  source "drivers/usb/net/Kconfig"
41  
42 -source "drivers/usb/mon/Kconfig"
43 -
44  comment "USB port drivers"
45         depends on USB
46  
47 Index: linux-2.6.21.1/drivers/usb/Makefile
48 ===================================================================
49 --- linux-2.6.21.1.orig/drivers/usb/Makefile
50 +++ linux-2.6.21.1/drivers/usb/Makefile
51 @@ -17,6 +17,7 @@ obj-$(CONFIG_USB_SL811_HCD)   += host/
52  obj-$(CONFIG_USB_U132_HCD)     += host/
53  obj-$(CONFIG_ETRAX_USB_HOST)   += host/
54  obj-$(CONFIG_USB_OHCI_AT91)    += host/
55 +obj-$(CONFIG_USB_ADM5120_HCD)          += host/
56  
57  obj-$(CONFIG_USB_ACM)          += class/
58  obj-$(CONFIG_USB_PRINTER)      += class/