summaryrefslogtreecommitdiff
path: root/drivers/net/arm/at91_ether.h
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2006-12-05 15:21:19 +0200
committerJeff Garzik <jeff@garzik.org>2006-12-07 04:58:32 -0500
commitcf42553ab43e102bc98eca05523d2390a1eedde9 (patch)
treedab613b886543e98c66d40ac44912ae6acabee66 /drivers/net/arm/at91_ether.h
parentc57ee096b6caf8f7e17abe46185d24f2b649b9f9 (diff)
[PATCH] AT91RM9200 Ethernet: Move check_timer variable and use mod_timer()
Move the global 'check_timer' variable into the private data structure. Also now use mod_timer(). Signed-off-by: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/arm/at91_ether.h')
-rw-r--r--drivers/net/arm/at91_ether.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/arm/at91_ether.h b/drivers/net/arm/at91_ether.h
index d1e72e02be3a..b6b665de2ea0 100644
--- a/drivers/net/arm/at91_ether.h
+++ b/drivers/net/arm/at91_ether.h
@@ -87,6 +87,7 @@ struct at91_private
spinlock_t lock; /* lock for MDI interface */
short phy_media; /* media interface type */
unsigned short phy_address; /* 5-bit MDI address of PHY (0..31) */
+ struct timer_list check_timer; /* Poll link status */
/* Transmit */
struct sk_buff *skb; /* holds skb until xmit interrupt completes */