diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2011-04-13 07:05:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-13 20:10:05 -0400 |
commit | 97bd8e491d1786f0020372a5a470bb8b3184856f (patch) | |
tree | a6c09f541895883107fa9dce458c8aa614c37736 /drivers/net/tg3.h | |
parent | 4d42d417be75d750b82798922b6e775915e11bce (diff) |
tg3: Provide full regdump on tx timeout
The current amount of information provided in the output of a tx timeout
is insufficient to determine a root cause. This patch replaces the
terse, four-register status output with a more complete body of
information. For PCIe devices, the full register space is dumped. For
other devices, select registers are dumped instead.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r-- | drivers/net/tg3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index 829a84ad80f2..99120100bf6a 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -1954,6 +1954,8 @@ | |||
1954 | #define TG3_PCIE_PL_LO_PHYCTL5 0x00000014 | 1954 | #define TG3_PCIE_PL_LO_PHYCTL5 0x00000014 |
1955 | #define TG3_PCIE_PL_LO_PHYCTL5_DIS_L2CLKREQ 0x80000000 | 1955 | #define TG3_PCIE_PL_LO_PHYCTL5_DIS_L2CLKREQ 0x80000000 |
1956 | 1956 | ||
1957 | #define TG3_REG_BLK_SIZE 0x00008000 | ||
1958 | |||
1957 | /* OTP bit definitions */ | 1959 | /* OTP bit definitions */ |
1958 | #define TG3_OTP_AGCTGT_MASK 0x000000e0 | 1960 | #define TG3_OTP_AGCTGT_MASK 0x000000e0 |
1959 | #define TG3_OTP_AGCTGT_SHIFT 1 | 1961 | #define TG3_OTP_AGCTGT_SHIFT 1 |