git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: Loongson: CS5536: Add missing RDMSRs for IDE and USB
[pandora-kernel.git]
/
arch
/
mips
/
loongson
/
common
/
cs5536
/
cs5536_ohci.c
diff --git
a/arch/mips/loongson/common/cs5536/cs5536_ohci.c
b/arch/mips/loongson/common/cs5536/cs5536_ohci.c
index
db5900a
..
bdedf51
100644
(file)
--- a/
arch/mips/loongson/common/cs5536/cs5536_ohci.c
+++ b/
arch/mips/loongson/common/cs5536/cs5536_ohci.c
@@
-49,6
+49,8
@@
void pci_ohci_write_reg(int reg, u32 value)
lo |= SOFT_BAR_OHCI_FLAG;
_wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo);
} else if ((value & 0x01) == 0x00) {
+ _rdmsr(USB_MSR_REG(USB_OHCI), &hi, &lo);
+ lo = value;
_wrmsr(USB_MSR_REG(USB_OHCI), hi, lo);
value &= 0xfffffff0;