aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sky2.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-04-25 10:58:51 -0700
committerJeff Garzik <jeff@garzik.org>2006-04-26 06:19:45 -0400
commitd27ed38765d6e01eaab443a7909f53a37f090e99 (patch)
treed4abd4a0364d0ba971dbde615cde8165d10bb905 /drivers/net/sky2.h
parent734cbc363b159caee158d5a83408c72d98bcacf0 (diff)
downloadkernel_samsung_tuna-d27ed38765d6e01eaab443a7909f53a37f090e99.zip
kernel_samsung_tuna-d27ed38765d6e01eaab443a7909f53a37f090e99.tar.gz
kernel_samsung_tuna-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h
index 89dd18cd..b026f56 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;
};