projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b39a0b
)
MIPS: Loongson: Lemote-2F: USB: Not Emulate Non-Posted Writes
author
Wu Zhangjin
<
[email protected]
>
Mon, 4 Jan 2010 09:16:44 +0000
(17:16 +0800)
committer
Ralf Baechle
<
[email protected]
>
Sat, 27 Feb 2010 11:53:09 +0000
(12:53 +0100)
Without this patch, when copying large amounts of data between the USB
storage devices and the hard disk, the USB device will disconnect
regularly.
Signed-off-by: Hu Hongbing <
[email protected]
>
Signed-off-by: Wu Zhangjin <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Patchwork: http://patchwork.linux-mips.org/patch/822/
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/pci/fixup-lemote2f.c
patch
|
blob
|
history
diff --git
a/arch/mips/pci/fixup-lemote2f.c
b/arch/mips/pci/fixup-lemote2f.c
index caf2edeb02f06a310b32ee08e36c82fbb50f6304..4b9768d5d72948b200d7431b4754fb7c21a27bc9 100644
(file)
--- a/
arch/mips/pci/fixup-lemote2f.c
+++ b/
arch/mips/pci/fixup-lemote2f.c
@@
-131,7
+131,7
@@
static void __init loongson_cs5536_ehci_fixup(struct pci_dev *pdev)
/* Serial short detect enable */
_rdmsr(USB_MSR_REG(USB_CONFIG), &hi, &lo);
- _wrmsr(USB_MSR_REG(USB_CONFIG), (1 << 1) | (1 <<
2) | (1 <<
3), lo);
+ _wrmsr(USB_MSR_REG(USB_CONFIG), (1 << 1) | (1 << 3), lo);
/* setting the USB2.0 micro frame length */
pci_write_config_dword(pdev, PCI_EHCI_FLADJ_REG, 0x2000);