e1000: Adding e1000_dump function
authorTushar Dave <tushar.n.dave@intel.com>
Fri, 27 Jan 2012 09:00:46 +0000 (09:00 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 7 Feb 2012 12:01:46 +0000 (04:01 -0800)
commitb04e36bac5075ceeacf11b639fbf0cb69aa68996
treefb42cc78c07a58628a7e485d24eff440fed499ac
parentab50a2a430693b0961dc7b7d9fe2a4bd77d11ea6
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>
drivers/net/ethernet/intel/e1000/e1000.h
drivers/net/ethernet/intel/e1000/e1000_hw.h
drivers/net/ethernet/intel/e1000/e1000_main.c