]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit94befbf4d1342985201e9e36ea76b2cff4631c6e
treeea0b245b716e6e3116c8c2f609a029cce6b94770
parentaa45f038a75e07c112af6a52473b9d299f84397a
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