aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/pci
diff options
context:
space:
mode:
authorGiuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>2007-10-06 13:55:03 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-10-09 07:47:48 -0400
commit378a545954abfec1c9499203206e0ffb5c2118d2 (patch)
tree3d11cf69f7a49b06edcbc580a1e0b3561d64c6e6 /arch/mips/pci
parente2a57a815933b2d2e375f9de6be223098024ab90 (diff)
[MIPS] IP32: Fix fatal typo in address computation.
Signed-off-by: Giuseppe Sacco <eppesuig@debian.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci')
-rw-r--r--arch/mips/pci/ops-mace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/ops-mace.c b/arch/mips/pci/ops-mace.c
index 2025f1f3e9f5..fe5451449304 100644
--- 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,
33 unsigned int reg) 33 unsigned int reg)
34{ 34{
35 return ((bus->number & 0xff) << 16) | 35 return ((bus->number & 0xff) << 16) |
36 (devfn & 0xff) << 8) | 36 ((devfn & 0xff) << 8) |
37 (reg & 0xfc); 37 (reg & 0xfc);
38} 38}
39 39