[MIPS] IP27: Use symbolic constants instead of magic numbers.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 16 Jun 2006 23:46:27 +0000 (00:46 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 19 Jun 2006 16:39:23 +0000 (17:39 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/pci-ip27.c

index 6002d2a6a262b019d770ff6cf4f3532a13cde873..662196d9fb58280e0e47c1a93308c4344c4b0ef4 100644 (file)
@@ -370,8 +370,7 @@ int __init bridge_probe(nasid_t nasid, int widget_id, int masterwid)
        bc->widget_id = widget_id;
        bc->nasid = nasid;
 
-       bc->baddr = (u64)masterwid << 60;
-       bc->baddr |= (1UL << 56);       /* Barrier set */
+       bc->baddr = (u64)masterwid << 60 | PCI64_ATTR_BAR;
 
        /*
         * point to this bridge