提交 accfd35a 编写于 作者: C Chris Dearman 提交者: Ralf Baechle

MIPS: MTI: Fix accesses to device registers on MIPS boards

This fixes the remaining problems introduced by
f1974653 (incorrect access length &
byteswapping in bigendian mode)
Signed-off-by: NChris Dearman <chris@mips.com>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 0f334a3e
...@@ -87,7 +87,7 @@ static inline int mips_pcibios_iack(void) ...@@ -87,7 +87,7 @@ static inline int mips_pcibios_iack(void)
dummy = BONITO_PCIMAP_CFG; dummy = BONITO_PCIMAP_CFG;
iob(); /* sync */ iob(); /* sync */
irq = readl((u32 *)_pcictrl_bonito_pcicfg); irq = __raw_readl((u32 *)_pcictrl_bonito_pcicfg);
iob(); /* sync */ iob(); /* sync */
irq &= 0xff; irq &= 0xff;
BONITO_PCIMAP_CFG = 0; BONITO_PCIMAP_CFG = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册