myri10ge: report link up/down in standard ethtool way
authorBrice Goglin <brice@myri.com>
Wed, 30 May 2007 19:13:59 +0000 (21:13 +0200)
committerJeff Garzik <jeff@garzik.org>
Sun, 3 Jun 2007 15:45:47 +0000 (11:45 -0400)
Report link up/down in standard ethtool way

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/myri10ge/myri10ge.c

index 5d14be7405a37e29c6a75ee73d9409f25f0d9aa3..b53b7ad999bcb58290b5f790b3afcb15b7eddbb0 100644 (file)
@@ -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,