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: https://git.stricted.de/?a=commitdiff_plain;h=3a11545615dedd8dd52ff110ddf6e970bfac963a;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 6002d2a6a26..662196d9fb5 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