bnx2x: fix registers dumped
authorDmitry Kravkov <dmitry@broadcom.com>
Tue, 11 Sep 2012 04:34:13 +0000 (04:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2012 20:37:52 +0000 (16:37 -0400)
commit2ace95103df2bcb574c9da5df96807e9b46f9b38
treed559b5cf69b21afb8d5aa295714646519b042d98
parent5cd75f0c0fd2b068dbd0ce3cb9460c3aafc0aae7
bnx2x: fix registers dumped

Under traffic, there are several registers that when read (e.g., via
'ethtool -d') may cause the chip to stall.
This patch corrects the registers read in such flows.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dump.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c