diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2009-11-21 00:28:56 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-21 20:34:32 +0100 |
commit | 41cec6f1160c110bd69597c2a5611b46e8287801 (patch) | |
tree | c7d544f9648e9b758b110b4171e948d3f2c02b95 /drivers/net/e1000e/e1000.h | |
parent | e1000e: cosmetic - group local variables of the same type (diff) | |
download | linux-41cec6f1160c110bd69597c2a5611b46e8287801.tar.xz linux-41cec6f1160c110bd69597c2a5611b46e8287801.zip |
e1000e: update Tx Unit hang detection message
The Tx unit hang detection code in e1000e detects other hangs caused by
hardware components (e.g. Rx, DMA units), but it is not possible to detect
exactly which component is hung so it has always assumed a Tx unit hang.
When dumping a message to the system log because of a hang, this patch adds
more data to help narrow the cause of the issue and makes the message
non-Tx-specific. Because this new code reads PHY registers which can
sleep, move it off to a workqueue. This and all previously existing work
tasks in the driver are now cancelled when the driver is removed.
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e/e1000.h')
-rw-r--r-- | drivers/net/e1000e/e1000.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/e1000e/e1000.h b/drivers/net/e1000e/e1000.h index 5ac8675b0c58..c9fcef7f8462 100644 --- a/drivers/net/e1000e/e1000.h +++ b/drivers/net/e1000e/e1000.h @@ -364,6 +364,7 @@ struct e1000_adapter { struct work_struct downshift_task; struct work_struct update_phy_task; struct work_struct led_blink_task; + struct work_struct print_hang_task; }; struct e1000_info { |