summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/tlan.h
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2014-06-30 18:38:29 +0200
committerDavid S. Miller <davem@davemloft.net>2014-07-08 02:06:51 +0200
commite36124d464d5ba74a171385ac1ba93acf4343de4 (patch)
tree3128313b26002e16f6a8164aa0baadb0fff13f3a /drivers/net/ethernet/ti/tlan.h
parenttlan: Enable link monitoring (diff)
downloadlinux-e36124d464d5ba74a171385ac1ba93acf4343de4.tar.xz
linux-e36124d464d5ba74a171385ac1ba93acf4343de4.zip
tlan: Add ethtool support
Add basic ethtool support to tlan driver: - driver info - link detect (this allows NetworkManager to detect carrier) - EEPROM read 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/tlan.h b/drivers/net/ethernet/ti/tlan.h
index 4ced9053d9f4..b6ceebaa2185 100644
--- a/drivers/net/ethernet/ti/tlan.h
+++ b/drivers/net/ethernet/ti/tlan.h
@@ -240,6 +240,7 @@ struct tlan_priv {
#define TLAN_EEPROM_ACK 0
#define TLAN_EEPROM_STOP 1
+#define TLAN_EEPROM_SIZE 256