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:
e2a57a8
)
[MIPS] IP32: Fix fatal typo in address computation.
author
Giuseppe Sacco
<giuseppe@eppesuigoccas.homedns.org>
Sat, 6 Oct 2007 17:55:03 +0000
(19:55 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 9 Oct 2007 11:47:48 +0000
(12:47 +0100)
Signed-off-by: Giuseppe Sacco <eppesuig@debian.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/ops-mace.c
patch
|
blob
|
history
diff --git
a/arch/mips/pci/ops-mace.c
b/arch/mips/pci/ops-mace.c
index 2025f1f3e9f5958bdaec0e45fad1780fb38bab50..fe54514493044d8a9c70d9686518617531838d23 100644
(file)
--- a/
arch/mips/pci/ops-mace.c
+++ b/
arch/mips/pci/ops-mace.c
@@
-33,7
+33,7
@@
static inline int mkaddr(struct pci_bus *bus, unsigned int devfn,
unsigned int reg)
{
return ((bus->number & 0xff) << 16) |
- (devfn & 0xff) << 8) |
+ (
(
devfn & 0xff) << 8) |
(reg & 0xfc);
}