2007-07-15 18:33:15 +03:00
|
|
|
Index: linux-2.6.22.1/drivers/usb/core/hub.c
|
2007-06-13 21:06:38 +03:00
|
|
|
===================================================================
|
2007-07-15 18:33:15 +03:00
|
|
|
--- linux-2.6.22.1.orig/drivers/usb/core/hub.c
|
|
|
|
+++ linux-2.6.22.1/drivers/usb/core/hub.c
|
2007-06-28 19:08:28 +03:00
|
|
|
@@ -540,7 +540,7 @@ static int hub_hub_status(struct usb_hub
|
|
|
|
"%s failed (err = %d)\n", __FUNCTION__, ret);
|
|
|
|
else {
|
|
|
|
*status = le16_to_cpu(hub->status->hub.wHubStatus);
|
|
|
|
- *change = le16_to_cpu(hub->status->hub.wHubChange);
|
|
|
|
+ *change = le16_to_cpu(hub->status->hub.wHubChange);
|
|
|
|
ret = 0;
|
|
|
|
}
|
|
|
|
mutex_unlock(&hub->status_mutex);
|
|
|
|
@@ -1424,7 +1424,7 @@ static int hub_port_status(struct usb_hu
|
|
|
|
ret = -EIO;
|
|
|
|
} else {
|
|
|
|
*status = le16_to_cpu(hub->status->port.wPortStatus);
|
|
|
|
- *change = le16_to_cpu(hub->status->port.wPortChange);
|
|
|
|
+ *change = le16_to_cpu(hub->status->port.wPortChange);
|
|
|
|
ret = 0;
|
|
|
|
}
|
|
|
|
mutex_unlock(&hub->status_mutex);
|
|
|
|
@@ -2230,6 +2230,8 @@ hub_port_init (struct usb_hub *hub, stru
|
2007-03-19 19:34:37 +02:00
|
|
|
USB_DT_DEVICE << 8, 0,
|
|
|
|
buf, GET_DESCRIPTOR_BUFSIZE,
|
2007-06-28 19:08:28 +03:00
|
|
|
USB_CTRL_GET_TIMEOUT);
|
2007-03-19 19:34:37 +02:00
|
|
|
+printk(KERN_CRIT "usb_control_msg: %d %d %d (%d)\n", r, buf->bMaxPacketSize0,
|
|
|
|
+buf->bDescriptorType, USB_DT_DEVICE);
|
|
|
|
switch (buf->bMaxPacketSize0) {
|
|
|
|
case 8: case 16: case 32: case 64: case 255:
|
|
|
|
if (buf->bDescriptorType ==
|
2007-07-15 18:33:15 +03:00
|
|
|
Index: linux-2.6.22.1/drivers/usb/host/Kconfig
|
2007-06-13 21:06:38 +03:00
|
|
|
===================================================================
|
2007-07-15 18:33:15 +03:00
|
|
|
--- linux-2.6.22.1.orig/drivers/usb/host/Kconfig
|
|
|
|
+++ linux-2.6.22.1/drivers/usb/host/Kconfig
|
2007-07-11 16:00:27 +03:00
|
|
|
@@ -237,3 +237,6 @@ config USB_SL811_CS
|
2007-03-19 19:34:37 +02:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called "sl811_cs".
|
|
|
|
|
|
|
|
+config USB_ADM5120_HCD
|
|
|
|
+ tristate "ADM5120 HCD support"
|
|
|
|
+ depends on USB && MIPS_ADM5120
|
2007-07-15 18:33:15 +03:00
|
|
|
Index: linux-2.6.22.1/drivers/usb/host/Makefile
|
2007-06-13 21:06:38 +03:00
|
|
|
===================================================================
|
2007-07-15 18:33:15 +03:00
|
|
|
--- linux-2.6.22.1.orig/drivers/usb/host/Makefile
|
|
|
|
+++ linux-2.6.22.1/drivers/usb/host/Makefile
|
2007-06-28 19:08:28 +03:00
|
|
|
@@ -8,6 +8,7 @@ endif
|
|
|
|
|
|
|
|
obj-$(CONFIG_PCI) += pci-quirks.o
|
|
|
|
|
2007-03-19 19:34:37 +02:00
|
|
|
+obj-$(CONFIG_USB_ADM5120_HCD) += adm5120-hcd.o
|
2007-06-28 19:08:28 +03:00
|
|
|
obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
|
|
|
|
obj-$(CONFIG_USB_ISP116X_HCD) += isp116x-hcd.o
|
|
|
|
obj-$(CONFIG_USB_OHCI_HCD) += ohci-hcd.o
|
2007-07-15 18:33:15 +03:00
|
|
|
Index: linux-2.6.22.1/drivers/usb/Makefile
|
2007-06-13 21:06:38 +03:00
|
|
|
===================================================================
|
2007-07-15 18:33:15 +03:00
|
|
|
--- linux-2.6.22.1.orig/drivers/usb/Makefile
|
|
|
|
+++ linux-2.6.22.1/drivers/usb/Makefile
|
2007-06-28 19:08:28 +03:00
|
|
|
@@ -16,6 +16,7 @@ obj-$(CONFIG_USB_UHCI_HCD) += host/
|
|
|
|
obj-$(CONFIG_USB_SL811_HCD) += host/
|
2007-03-19 19:34:37 +02:00
|
|
|
obj-$(CONFIG_USB_U132_HCD) += host/
|
|
|
|
obj-$(CONFIG_USB_OHCI_AT91) += host/
|
|
|
|
+obj-$(CONFIG_USB_ADM5120_HCD) += host/
|
|
|
|
|
|
|
|
obj-$(CONFIG_USB_ACM) += class/
|
|
|
|
obj-$(CONFIG_USB_PRINTER) += class/
|