mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
31d55c2d66
commit
3d9103f80d
|
@ -1763,7 +1763,8 @@ static void get_regs(struct net_device *dev, struct ethtool_regs *regs,
|
|||
0xd004, 0xd03c,
|
||||
0xdfc0, 0xdfe0,
|
||||
0xe000, 0xea7c,
|
||||
0xf000, 0x11190,
|
||||
0xf000, 0x11110,
|
||||
0x11118, 0x11190,
|
||||
0x19040, 0x1906c,
|
||||
0x19078, 0x19080,
|
||||
0x1908c, 0x19124,
|
||||
|
@ -1970,7 +1971,8 @@ static void get_regs(struct net_device *dev, struct ethtool_regs *regs,
|
|||
0xd004, 0xd03c,
|
||||
0xdfc0, 0xdfe0,
|
||||
0xe000, 0x11088,
|
||||
0x1109c, 0x1117c,
|
||||
0x1109c, 0x11110,
|
||||
0x11118, 0x1117c,
|
||||
0x11190, 0x11204,
|
||||
0x19040, 0x1906c,
|
||||
0x19078, 0x19080,
|
||||
|
|
Loading…
Reference in New Issue