aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.4/patches/208-usb2_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-01-10 19:43:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-01-10 19:43:00 +0000
commitfbc6b140a51f4faa9b995eb965b6e69ebb541f3f (patch)
tree4f317d291370cf0af876f446896c66a3a503be97 /target/linux/generic-2.4/patches/208-usb2_fix.patch
parentd9e36255b00d6bbcdedeba7ab9e22f37f8ed79bc (diff)
downloadmaster-187ad058-fbc6b140a51f4faa9b995eb965b6e69ebb541f3f.tar.gz
master-187ad058-fbc6b140a51f4faa9b995eb965b6e69ebb541f3f.tar.bz2
master-187ad058-fbc6b140a51f4faa9b995eb965b6e69ebb541f3f.zip
large target/linux cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2877 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.4/patches/208-usb2_fix.patch')
-rw-r--r--target/linux/generic-2.4/patches/208-usb2_fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/generic-2.4/patches/208-usb2_fix.patch b/target/linux/generic-2.4/patches/208-usb2_fix.patch
new file mode 100644
index 0000000000..f8e5be12c1
--- /dev/null
+++ b/target/linux/generic-2.4/patches/208-usb2_fix.patch
@@ -0,0 +1,15 @@
+diff -ur linux-2.4.30.dev/drivers/usb/host/ehci-q.c linux-tmp/drivers/usb/host/ehci-q.c
+--- linux-2.4.30.dev/drivers/usb/host/ehci-q.c 2005-01-19 15:10:07.000000000 +0100
++++ linux-tmp/drivers/usb/host/ehci-q.c 2005-03-30 05:11:12.000000000 +0200
+@@ -783,6 +765,11 @@
+ if (!(cmd & CMD_ASE)) {
+ /* in case a clear of CMD_ASE didn't take yet */
+ (void) handshake (&ehci->regs->status, STS_ASS, 0, 150);
++
++ /* force async head to be valid */
++ writel ((u32)ehci->async->qh_dma,
++ &ehci->regs->async_next);
++
+ cmd |= CMD_ASE | CMD_RUN;
+ writel (cmd, &ehci->regs->command);
+ ehci->hcd.state = USB_STATE_RUNNING;