diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-06-17 03:46:27 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-06-19 20:39:23 +0400 |
commit | 3a11545615dedd8dd52ff110ddf6e970bfac963a (patch) | |
tree | 54f72b728ff5c36d3134d2e18ad69ba4c6801325 /arch/mips/pci/pci-ip27.c | |
parent | c340cc504c91cf81561ecca10ec13396ae24dcc0 (diff) | |
download | linux-3a11545615dedd8dd52ff110ddf6e970bfac963a.tar.xz |
[MIPS] IP27: Use symbolic constants instead of magic numbers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci/pci-ip27.c')
-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 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 |