summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBrice Goglin <brice@myri.com>2007-05-30 21:13:59 +0200
committerJeff Garzik <jeff@garzik.org>2007-06-03 11:45:47 -0400
commit6ffdd071e0386645d539a7386f77669777412fea (patch)
treee3c743d55d05cd970b7a05a5b66d519f99dd9736 /drivers
parent225c3837bb47d33357dcdad9f88321d75a3eb7fd (diff)
downloadop-kernel-dev-6ffdd071e0386645d539a7386f77669777412fea.zip
op-kernel-dev-6ffdd071e0386645d539a7386f77669777412fea.tar.gz
myri10ge: report link up/down in standard ethtool way
Report link up/down in standard ethtool way Signed-off-by: Brice Goglin <brice@myri.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/myri10ge/myri10ge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
index 5d14be7..b53b7ad 100644
--- a/drivers/net/myri10ge/myri10ge.c
+++ b/drivers/net/myri10ge/myri10ge.c
@@ -1472,6 +1472,7 @@ static const struct ethtool_ops myri10ge_ethtool_ops = {
.set_sg = ethtool_op_set_sg,
.get_tso = ethtool_op_get_tso,
.set_tso = ethtool_op_set_tso,
+ .get_link = ethtool_op_get_link,
.get_strings = myri10ge_get_strings,
.get_stats_count = myri10ge_get_stats_count,
.get_ethtool_stats = myri10ge_get_ethtool_stats,
OpenPOWER on IntegriCloud