Skip to content

Commit

Permalink
[MIPS] IP27: Use symbolic constants instead of magic numbers.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Jun 19, 2006
1 parent c340cc5 commit 3a11545
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/mips/pci/pci-ip27.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a11545

Please sign in to comment.