diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-02-15 16:40:33 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-17 15:30:47 -0500 |
commit | 819067916d785cac0369b8d6e187b4a83fd17785 (patch) | |
tree | 565bd507b92755f2f75682a8b87fb96c506a2f5d /drivers/net/sky2.h | |
parent | da4c1ff475d82585e3206f0270cb1ba55bcf3c74 (diff) | |
download | blackbird-op-linux-819067916d785cac0369b8d6e187b4a83fd17785.tar.gz blackbird-op-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; }; |