diff options
Diffstat (limited to 'drivers/net/sunlance.c')
-rw-r--r-- | drivers/net/sunlance.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/net/sunlance.c b/drivers/net/sunlance.c index 2cf84e5968b2..767e1e2b210d 100644 --- a/drivers/net/sunlance.c +++ b/drivers/net/sunlance.c | |||
@@ -1295,17 +1295,9 @@ static void sparc_lance_get_drvinfo(struct net_device *dev, struct ethtool_drvin | |||
1295 | strcpy(info->version, "2.02"); | 1295 | strcpy(info->version, "2.02"); |
1296 | } | 1296 | } |
1297 | 1297 | ||
1298 | static u32 sparc_lance_get_link(struct net_device *dev) | ||
1299 | { | ||
1300 | /* We really do not keep track of this, but this | ||
1301 | * is better than not reporting anything at all. | ||
1302 | */ | ||
1303 | return 1; | ||
1304 | } | ||
1305 | |||
1306 | static const struct ethtool_ops sparc_lance_ethtool_ops = { | 1298 | static const struct ethtool_ops sparc_lance_ethtool_ops = { |
1307 | .get_drvinfo = sparc_lance_get_drvinfo, | 1299 | .get_drvinfo = sparc_lance_get_drvinfo, |
1308 | .get_link = sparc_lance_get_link, | 1300 | .get_link = ethtool_op_get_link, |
1309 | }; | 1301 | }; |
1310 | 1302 | ||
1311 | static const struct net_device_ops sparc_lance_ops = { | 1303 | static const struct net_device_ops sparc_lance_ops = { |