diff options
Diffstat (limited to 'drivers/net/bmac.c')
-rw-r--r-- | drivers/net/bmac.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/bmac.c b/drivers/net/bmac.c index 959add2410bf..9322699bb31c 100644 --- a/drivers/net/bmac.c +++ b/drivers/net/bmac.c | |||
@@ -1233,15 +1233,8 @@ static void bmac_reset_and_enable(struct net_device *dev) | |||
1233 | } | 1233 | } |
1234 | spin_unlock_irqrestore(&bp->lock, flags); | 1234 | spin_unlock_irqrestore(&bp->lock, flags); |
1235 | } | 1235 | } |
1236 | static void bmac_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) | ||
1237 | { | ||
1238 | struct bmac_data *bp = netdev_priv(dev); | ||
1239 | strcpy(info->driver, "bmac"); | ||
1240 | strcpy(info->bus_info, dev_name(&bp->mdev->ofdev.dev)); | ||
1241 | } | ||
1242 | 1236 | ||
1243 | static const struct ethtool_ops bmac_ethtool_ops = { | 1237 | static const struct ethtool_ops bmac_ethtool_ops = { |
1244 | .get_drvinfo = bmac_get_drvinfo, | ||
1245 | .get_link = ethtool_op_get_link, | 1238 | .get_link = ethtool_op_get_link, |
1246 | }; | 1239 | }; |
1247 | 1240 | ||