summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ti/tlan.h
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2014-06-30 18:38:28 +0200
committerDavid S. Miller <davem@davemloft.net>2014-07-07 17:06:51 -0700
commitc0a87c22d3f098517473c60c709478db80fcc544 (patch)
tree4b1337ac823f450427cfd77fac1a8d37e66bd912 /drivers/net/ethernet/ti/tlan.h
parenteb522bb4e0dc4800d3cd2eedc4288f90022293fa (diff)
downloadlinux-stable-c0a87c22d3f098517473c60c709478db80fcc544.tar.gz
tlan: Enable link monitoring
Enable old link monitoring code and modify it: - control LINK LED - use separate timer so it does not interfere with ACT LED Tested with Olicom OC-2326. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/tlan.h')
-rw-r--r--drivers/net/ethernet/ti/tlan.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/ti/tlan.h b/drivers/net/ethernet/ti/tlan.h
index 2eb33a250788..4ced9053d9f4 100644
--- a/drivers/net/ethernet/ti/tlan.h
+++ b/drivers/net/ethernet/ti/tlan.h
@@ -195,6 +195,7 @@ struct tlan_priv {
u32 timer_set_at;
u32 timer_type;
struct timer_list timer;
+ struct timer_list media_timer;
struct board *adapter;
u32 adapter_rev;
u32 aui;
@@ -206,7 +207,6 @@ struct tlan_priv {
u8 tlan_rev;
u8 tlan_full_duplex;
spinlock_t lock;
- u8 link;
struct work_struct tlan_tqueue;
u8 neg_be_verbose;
};
@@ -219,7 +219,6 @@ struct tlan_priv {
*
****************************************************************/
-#define TLAN_TIMER_LINK_BEAT 1
#define TLAN_TIMER_ACTIVITY 2
#define TLAN_TIMER_PHY_PDOWN 3
#define TLAN_TIMER_PHY_PUP 4