fix the nslu2 image for the new layout
[openwrt.git] / target / linux / adm5120-2.6 / patches / 005-adm5120_usb.patch
1 diff -urN linux-2.6.19.2/drivers/usb/core/hub.c linux-2.6.19.2-adm5120/drivers/usb/core/hub.c
2 --- linux-2.6.19.2/drivers/usb/core/hub.c 2007-01-10 20:10:37.000000000 +0100
3 +++ linux-2.6.19.2-adm5120/drivers/usb/core/hub.c 2007-01-23 01:13:39.000000000 +0100
4 @@ -2156,6 +2156,8 @@
5 USB_DT_DEVICE << 8, 0,
6 buf, GET_DESCRIPTOR_BUFSIZE,
7 (i ? USB_CTRL_GET_TIMEOUT : 1000));
8 +printk(KERN_CRIT "usb_control_msg: %d %d %d (%d)\n", r, buf->bMaxPacketSize0,
9 +buf->bDescriptorType, USB_DT_DEVICE);
10 switch (buf->bMaxPacketSize0) {
11 case 8: case 16: case 32: case 64: case 255:
12 if (buf->bDescriptorType ==
13 diff -urN linux-2.6.19.2/drivers/usb/host/Kconfig linux-2.6.19.2-adm5120/drivers/usb/host/Kconfig
14 --- linux-2.6.19.2/drivers/usb/host/Kconfig 2007-01-10 20:10:37.000000000 +0100
15 +++ linux-2.6.19.2-adm5120/drivers/usb/host/Kconfig 2007-01-23 01:13:39.000000000 +0100
16 @@ -192,3 +192,6 @@
17 To compile this driver as a module, choose M here: the
18 module will be called "sl811_cs".
19
20 +config USB_ADM5120_HCD
21 + tristate "ADM5120 HCD support"
22 + depends on USB && MIPS_ADM5120
23 diff -urN linux-2.6.19.2/drivers/usb/host/Makefile linux-2.6.19.2-adm5120/drivers/usb/host/Makefile
24 --- linux-2.6.19.2/drivers/usb/host/Makefile 2007-01-10 20:10:37.000000000 +0100
25 +++ linux-2.6.19.2-adm5120/drivers/usb/host/Makefile 2007-01-23 01:13:39.000000000 +0100
26 @@ -16,3 +16,4 @@
27 obj-$(CONFIG_USB_SL811_CS) += sl811_cs.o
28 obj-$(CONFIG_USB_U132_HCD) += u132-hcd.o
29 obj-$(CONFIG_ETRAX_ARCH_V10) += hc_crisv10.o
30 +obj-$(CONFIG_USB_ADM5120_HCD) += adm5120-hcd.o
31 diff -urN linux-2.6.19.2/drivers/usb/Kconfig linux-2.6.19.2-adm5120/drivers/usb/Kconfig
32 --- linux-2.6.19.2/drivers/usb/Kconfig 2007-01-10 20:10:37.000000000 +0100
33 +++ linux-2.6.19.2-adm5120/drivers/usb/Kconfig 2007-01-23 01:13:39.000000000 +0100
34 @@ -91,8 +91,6 @@
35
36 source "drivers/usb/net/Kconfig"
37
38 -source "drivers/usb/mon/Kconfig"
39 -
40 comment "USB port drivers"
41 depends on USB
42
43 diff -urN linux-2.6.19.2/drivers/usb/Makefile linux-2.6.19.2-adm5120/drivers/usb/Makefile
44 --- linux-2.6.19.2/drivers/usb/Makefile 2007-01-10 20:10:37.000000000 +0100
45 +++ linux-2.6.19.2-adm5120/drivers/usb/Makefile 2007-01-23 01:22:18.000000000 +0100
46 @@ -17,6 +17,7 @@
47 obj-$(CONFIG_USB_U132_HCD) += host/
48 obj-$(CONFIG_ETRAX_USB_HOST) += host/
49 obj-$(CONFIG_USB_OHCI_AT91) += host/
50 +obj-$(CONFIG_USB_ADM5120_HCD) += host/
51
52 obj-$(CONFIG_USB_ACM) += class/
53 obj-$(CONFIG_USB_PRINTER) += class/
This page took 0.05254 seconds and 5 git commands to generate.