linux/arch/mips/netlogic
Jayachandran C 1c146cd46f MIPS: Netlogic: Fix nlm_read_c2_status() definition
The sel argument os nlm_read_c2_status() was not used and the macro
returned the sel 0 in all cases. Fix this by defining two macros:
nlm_read_c2_status0() and nlm_read_c2_status1() to return the two
status registers.

Add functions to write to the status registers as well.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Cc: ddaney.cavm@gmail.com
Patchwork: https://patchwork.linux-mips.org/patch/5414/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2013-06-13 17:46:41 +02:00
..
common MIPS: Netlogic: SWIOTLB dma ops for 32-bit DMA 2013-06-13 17:46:40 +02:00
dts MIPS: Netlogic: Support for multiple built-in device trees 2013-05-08 01:19:05 +02:00
xlp MIPS: Idle: Consolidate all declarations in <asm/idle.h>. 2013-05-22 01:34:27 +02:00
xlr MIPS: Netlogic: Fix nlm_read_c2_status() definition 2013-06-13 17:46:41 +02:00
Kconfig MIPS: Netlogic: SWIOTLB dma ops for 32-bit DMA 2013-06-13 17:46:40 +02:00
Makefile MIPS: Netlogic: Add support for built in DTB 2012-08-22 23:46:37 +02:00
Platform MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00