MIPS: SGI-IP27: restructure ioc3 register access
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Fri, 30 Aug 2019 09:25:25 +0000 (11:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2019 20:54:35 +0000 (13:54 -0700)
commitcbe7d51745f9334d05bf2fdd915322e159bbcaa8
treeea0b245b716e6e3116c8c2f609a029cce6b94770
parent688125a6e7872a8c827d7848ba8fbc41785fb9c6
MIPS: SGI-IP27: restructure ioc3 register access

Break up the big ioc3 register struct into functional pieces to
make use in sub-function drivers more straightforward. And while
doing that get rid of all volatile access by using readX/writeX.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/mips/include/asm/sn/ioc3.h
arch/mips/sgi-ip27/ip27-console.c
drivers/net/ethernet/sgi/ioc3-eth.c