diff options
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
-rw-r--r-- | drivers/net/mv643xx_eth.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index 73bb8ea6f54a..af075af20e0c 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c | |||
@@ -1640,6 +1640,11 @@ static void mv643xx_eth_get_ethtool_stats(struct net_device *dev, | |||
1640 | } | 1640 | } |
1641 | } | 1641 | } |
1642 | 1642 | ||
1643 | static int mv643xx_eth_set_flags(struct net_device *dev, u32 data) | ||
1644 | { | ||
1645 | return ethtool_op_set_flags(dev, data, ETH_FLAG_LRO); | ||
1646 | } | ||
1647 | |||
1643 | static int mv643xx_eth_get_sset_count(struct net_device *dev, int sset) | 1648 | static int mv643xx_eth_get_sset_count(struct net_device *dev, int sset) |
1644 | { | 1649 | { |
1645 | if (sset == ETH_SS_STATS) | 1650 | if (sset == ETH_SS_STATS) |
@@ -1665,7 +1670,7 @@ static const struct ethtool_ops mv643xx_eth_ethtool_ops = { | |||
1665 | .get_strings = mv643xx_eth_get_strings, | 1670 | .get_strings = mv643xx_eth_get_strings, |
1666 | .get_ethtool_stats = mv643xx_eth_get_ethtool_stats, | 1671 | .get_ethtool_stats = mv643xx_eth_get_ethtool_stats, |
1667 | .get_flags = ethtool_op_get_flags, | 1672 | .get_flags = ethtool_op_get_flags, |
1668 | .set_flags = ethtool_op_set_flags, | 1673 | .set_flags = mv643xx_eth_set_flags, |
1669 | .get_sset_count = mv643xx_eth_get_sset_count, | 1674 | .get_sset_count = mv643xx_eth_get_sset_count, |
1670 | }; | 1675 | }; |
1671 | 1676 | ||