aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/pci
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-06-16 19:46:27 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-06-19 12:39:23 -0400
commit3a11545615dedd8dd52ff110ddf6e970bfac963a (patch)
tree54f72b728ff5c36d3134d2e18ad69ba4c6801325 /arch/mips/pci
parentc340cc504c91cf81561ecca10ec13396ae24dcc0 (diff)
[MIPS] IP27: Use symbolic constants instead of magic numbers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci')
-rw-r--r--arch/mips/pci/pci-ip27.c3
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)
370 bc->widget_id = widget_id; 370 bc->widget_id = widget_id;
371 bc->nasid = nasid; 371 bc->nasid = nasid;
372 372
373 bc->baddr = (u64)masterwid << 60; 373 bc->baddr = (u64)masterwid << 60 | PCI64_ATTR_BAR;
374 bc->baddr |= (1UL << 56); /* Barrier set */
375 374
376 /* 375 /*
377 * point to this bridge 376 * point to this bridge