diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-06-17 00:46:27 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-06-19 17:39:23 +0100 |
commit | 3a11545615dedd8dd52ff110ddf6e970bfac963a (patch) | |
tree | 54f72b728ff5c36d3134d2e18ad69ba4c6801325 /arch | |
parent | c340cc504c91cf81561ecca10ec13396ae24dcc0 (diff) |
[MIPS] IP27: Use symbolic constants instead of magic numbers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/pci/pci-ip27.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 |