linux-mips
[Top] [All Lists]

[PATCH]v2 mips/ip32: enable PCI bridges

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH]v2 mips/ip32: enable PCI bridges
From: Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>
Date: Sat, 06 Oct 2007 19:55:03 +0200
Cc: linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Correct a typo in previous patch.

Signed-off-by: Giuseppe Sacco <eppesuig@debian.org>
---

Hi Ralf and linux-mips list,
I recompiled the kernel once again, after having update my git repository
and figured out an error in my previous patch. This should fix it.

Bye,
Giuseppe

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);
 }
 

<Prev in Thread] Current Thread [Next in Thread>