cxgb4: Avoid dumping Write-only registers in register dump
authorHariprasad Shenai <hariprasad@chelsio.com>
Mon, 1 Sep 2014 14:24:59 +0000 (19:54 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 06:00:42 +0000 (23:00 -0700)
commit3d9103f80d7b1e8f0be85d87d102ba8dc1084f2d
tree9bac0f082202a558ac3a4fad713c0db6b865e45e
parent31d55c2d6672430f3ef0bfd4de72c5a4f6a8bab9
cxgb4: Avoid dumping Write-only registers in register dump

Avoid dumping MPS_RPLC_MAP_CTL for reg dumps; this is a Write-Only register.
Reading this register may cause MPS TCAM corruption.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c