提交 3a115456 编写于 作者: R Ralf Baechle

[MIPS] IP27: Use symbolic constants instead of magic numbers.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 c340cc50
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册