diff options
author | Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org> | 2007-10-06 17:55:03 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-09 11:47:48 (GMT) |
commit | 378a545954abfec1c9499203206e0ffb5c2118d2 (patch) | |
tree | 3d11cf69f7a49b06edcbc580a1e0b3561d64c6e6 | |
parent | e2a57a815933b2d2e375f9de6be223098024ab90 (diff) | |
download | linux-fsl-qoriq-378a545954abfec1c9499203206e0ffb5c2118d2.tar.xz |
[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>
-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); } |