diff options
author | Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org> | 2007-10-06 19:55:03 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-09 12:47:48 +0100 |
commit | 378a545954abfec1c9499203206e0ffb5c2118d2 (patch) | |
tree | 3d11cf69f7a49b06edcbc580a1e0b3561d64c6e6 /arch/mips/pci | |
parent | e2a57a815933b2d2e375f9de6be223098024ab90 (diff) | |
download | op-kernel-dev-378a545954abfec1c9499203206e0ffb5c2118d2.zip op-kernel-dev-378a545954abfec1c9499203206e0ffb5c2118d2.tar.gz |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/ops-mace.c b/arch/mips/pci/ops-mace.c index 2025f1f..fe54514 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, unsigned int reg) { return ((bus->number & 0xff) << 16) | - (devfn & 0xff) << 8) | + ((devfn & 0xff) << 8) | (reg & 0xfc); } |