diff options
author | Sritej Velaga | 2012-02-03 12:35:13 +0100 |
---|---|---|
committer | David S. Miller | 2012-02-04 21:59:29 +0100 |
commit | 5471aed0259298e4e258b8a9e403ebdf88ebcd56 (patch) | |
tree | d7b7559d82c60373e95bcd8f685f87b0a111ecd9 /drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h | |
parent | netxen_nic: Fix phy link status (diff) | |
download | kernel-qcow2-linux-5471aed0259298e4e258b8a9e403ebdf88ebcd56.tar.gz kernel-qcow2-linux-5471aed0259298e4e258b8a9e403ebdf88ebcd56.tar.xz kernel-qcow2-linux-5471aed0259298e4e258b8a9e403ebdf88ebcd56.zip |
netxen_nic: Error logging on firmware hang
Log states of essential registers on firmware hang detection.
Signed-off-by: Sritej Velaga <sritej.velaga@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h b/drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h index dc1967c1f312..b1a897cd9a8d 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h @@ -969,6 +969,7 @@ enum { #define NX_RCODE_FATAL_ERROR 0x80000000 #define NX_FWERROR_PEGNUM(code) ((code) & 0xff) #define NX_FWERROR_CODE(code) ((code >> 8) & 0xfffff) +#define NX_FWERROR_PEGSTAT1(code) ((code >> 8) & 0x1fffff) #define FW_POLL_DELAY (2 * HZ) #define FW_FAIL_THRESH 3 |