diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-02-15 19:40:33 -0500 |
---|---|---|
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) |
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 { | |||
1933 | dma_addr_t st_dma; | 1933 | dma_addr_t st_dma; |
1934 | 1934 | ||
1935 | struct timer_list idle_timer; | 1935 | struct timer_list idle_timer; |
1936 | struct work_struct restart_work; | ||
1936 | int msi; | 1937 | int msi; |
1937 | wait_queue_head_t msi_wait; | 1938 | wait_queue_head_t msi_wait; |
1938 | }; | 1939 | }; |