diff options
author | Tushar Dave <tushar.n.dave@intel.com> | 2012-01-27 09:00:46 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2012-02-07 04:01:46 -0800 |
commit | b04e36bac5075ceeacf11b639fbf0cb69aa68996 (patch) | |
tree | fb42cc78c07a58628a7e485d24eff440fed499ac /drivers/net/ethernet/intel/e1000/e1000.h | |
parent | ab50a2a430693b0961dc7b7d9fe2a4bd77d11ea6 (diff) | |
download | linux-b04e36bac5075ceeacf11b639fbf0cb69aa68996.tar.gz linux-b04e36bac5075ceeacf11b639fbf0cb69aa68996.tar.bz2 linux-b04e36bac5075ceeacf11b639fbf0cb69aa68996.zip |
e1000: Adding e1000_dump function
When TX hang occurs e1000_dump prints TX ring, RX ring and Device registers.
Signed-off-by: Tushar Dave <tushar.n.dave@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000/e1000.h')
-rw-r--r-- | drivers/net/ethernet/intel/e1000/e1000.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/e1000/e1000.h b/drivers/net/ethernet/intel/e1000/e1000.h index 1e1596990b5c..2b6cd02bfba0 100644 --- a/drivers/net/ethernet/intel/e1000/e1000.h +++ b/drivers/net/ethernet/intel/e1000/e1000.h @@ -254,6 +254,7 @@ struct e1000_adapter { atomic_t tx_fifo_stall; bool pcix_82544; bool detect_tx_hung; + bool dump_buffers; /* RX */ bool (*clean_rx)(struct e1000_adapter *adapter, |