diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-02-16 01:40:33 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-17 21:30:47 +0100 |
commit | 819067916d785cac0369b8d6e187b4a83fd17785 (patch) | |
tree | 565bd507b92755f2f75682a8b87fb96c506a2f5d /drivers/net/sky2.h | |
parent | sky2: flow control negotiation for Yukon-FE (diff) | |
download | linux-819067916d785cac0369b8d6e187b4a83fd17785.tar.xz linux-819067916d785cac0369b8d6e187b4a83fd17785.zip |
sky2: transmit timeout
The transmit timeout code could hang, and it would not clear out
problems if the hardware was stuck. Change the code to effectively do
a device down/up similar to the suspend/resume code.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/sky2.h')
-rw-r--r-- | drivers/net/sky2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h index cbca27abe105..ac24bdc42976 100644 --- a/drivers/net/sky2.h +++ b/drivers/net/sky2.h @@ -1933,6 +1933,7 @@ struct sky2_hw { dma_addr_t st_dma; struct timer_list idle_timer; + struct work_struct restart_work; int msi; wait_queue_head_t msi_wait; }; |