diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-04-25 10:58:51 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-04-26 06:19:45 -0400 |
commit | d27ed38765d6e01eaab443a7909f53a37f090e99 (patch) | |
tree | d4abd4a0364d0ba971dbde615cde8165d10bb905 /drivers/net/sky2.h | |
parent | 734cbc363b159caee158d5a83408c72d98bcacf0 (diff) | |
download | linux-d27ed38765d6e01eaab443a7909f53a37f090e99.tar.bz2 |
[PATCH] sky2: add fake idle irq timer
Add an fake NAPI schedule once a second. This is an attempt to work around
for broken configurations with edge-triggered interrupts.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/sky2.h')
-rw-r--r-- | drivers/net/sky2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h index 89dd18cd12f0..b026f5653f04 100644 --- a/drivers/net/sky2.h +++ b/drivers/net/sky2.h @@ -1880,6 +1880,8 @@ struct sky2_hw { struct sky2_status_le *st_le; u32 st_idx; dma_addr_t st_dma; + + struct timer_list idle_timer; int msi_detected; wait_queue_head_t msi_wait; }; |