MIPS: SGI-IP27: clean up bridge access and header files
Introduced bridge_read/bridge_write/bridge_set/bridge_clr for accessing bridge register and get rid of volatile declarations. Also removed all typedefs from arch/mips/include/asm/pci/bridge.h and cleaned up language in arch/mips/pci/ops-bridge.c Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
This commit is contained in:

committed by
Paul Burton

parent
db0e7d4e42
commit
a44d924c81
@@ -134,11 +134,6 @@
|
||||
|
||||
#define CALIAS_BASE CAC_BASE
|
||||
|
||||
|
||||
|
||||
#define BRIDGE_REG_PTR(_base, _off) ((volatile bridgereg_t *) \
|
||||
((__psunsigned_t)(_base) + (__psunsigned_t)(_off)))
|
||||
|
||||
#define SN0_WIDGET_BASE(_nasid, _wid) (NODE_SWIN_BASE((_nasid), (_wid)))
|
||||
|
||||
/* Turn on sable logging for the processors whose bits are set. */
|
||||
|
Reference in New Issue
Block a user