projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
929fe55
)
ar71xx: fix a typo in the ar724x PCI code
author
Gabor Juhos
<juhosg@openwrt.org>
Thu, 1 Oct 2009 19:40:51 +0000
(19:40 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Thu, 1 Oct 2009 19:40:51 +0000
(19:40 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17806
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c
b/target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c
index
0f9bd2f
..
02f3a8c
100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c
+++ b/
target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c
@@
-75,7
+75,7
@@
static void ar724x_pci_write(void __iomem *base, int where, int size, u32 value)
data |= ((value & 0xFF) << s);
break;
case 2:
- s = ((where & 2) <<
4
);
+ s = ((where & 2) <<
3
);
data &= ~(0xFFFF << s);
data |= ((value & 0xFFFF) << s);
break;