diff options
author | Tushar Dave <tushar.n.dave@intel.com> | 2012-01-27 04:00:46 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2012-02-07 07:01:46 -0500 |
commit | b04e36bac5075ceeacf11b639fbf0cb69aa68996 (patch) | |
tree | fb42cc78c07a58628a7e485d24eff440fed499ac /drivers/net/ethernet/intel/e1000/e1000.h | |
parent | ab50a2a430693b0961dc7b7d9fe2a4bd77d11ea6 (diff) |
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 { | |||
254 | atomic_t tx_fifo_stall; | 254 | atomic_t tx_fifo_stall; |
255 | bool pcix_82544; | 255 | bool pcix_82544; |
256 | bool detect_tx_hung; | 256 | bool detect_tx_hung; |
257 | bool dump_buffers; | ||
257 | 258 | ||
258 | /* RX */ | 259 | /* RX */ |
259 | bool (*clean_rx)(struct e1000_adapter *adapter, | 260 | bool (*clean_rx)(struct e1000_adapter *adapter, |