From: Ralf Baechle Date: Fri, 16 Jun 2006 23:46:27 +0000 (+0100) Subject: [MIPS] IP27: Use symbolic constants instead of magic numbers. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3a11545615dedd8dd52ff110ddf6e970bfac963a;p=openwrt%2Fstaging%2Fblogic.git [MIPS] IP27: Use symbolic constants instead of magic numbers. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/pci/pci-ip27.c b/arch/mips/pci/pci-ip27.c index 6002d2a6a262..662196d9fb58 100644 --- a/arch/mips/pci/pci-ip27.c +++ b/arch/mips/pci/pci-ip27.c @@ -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