mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 02:34:01 +08:00
MIPS: MTI: Fix accesses to device registers on MIPS boards
This fixes the remaining problems introduced by
f197465384
(incorrect access length &
byteswapping in bigendian mode)
Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
0f334a3e8c
commit
accfd35a4e
@ -87,7 +87,7 @@ static inline int mips_pcibios_iack(void)
|
||||
dummy = BONITO_PCIMAP_CFG;
|
||||
iob(); /* sync */
|
||||
|
||||
irq = readl((u32 *)_pcictrl_bonito_pcicfg);
|
||||
irq = __raw_readl((u32 *)_pcictrl_bonito_pcicfg);
|
||||
iob(); /* sync */
|
||||
irq &= 0xff;
|
||||
BONITO_PCIMAP_CFG = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user