diff options
| author | David Woodhouse <David.Woodhouse@intel.com> | 2010-02-26 14:04:15 -0500 |
|---|---|---|
| committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-02-26 14:06:24 -0500 |
| commit | a7790532f5b7358c33a6b1834dc2b318de209f31 (patch) | |
| tree | 0ceb9e24b3f54cb5c8453fb5a218e2a94a0f1cce /drivers/net/bcm63xx_enet.c | |
| parent | 2764fb4244cc1bc08df3667924ca4a972e90ac70 (diff) | |
| parent | 60b341b778cc2929df16c0a504c91621b3c6a4ad (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
The SmartMedia FTL code depends on new kfifo bits from 2.6.33
Diffstat (limited to 'drivers/net/bcm63xx_enet.c')
| -rw-r--r-- | drivers/net/bcm63xx_enet.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/drivers/net/bcm63xx_enet.c b/drivers/net/bcm63xx_enet.c index 1f6c5486d715..0bd47d32ec42 100644 --- a/drivers/net/bcm63xx_enet.c +++ b/drivers/net/bcm63xx_enet.c | |||
| @@ -1245,9 +1245,15 @@ static void bcm_enet_get_drvinfo(struct net_device *netdev, | |||
| 1245 | drvinfo->n_stats = BCM_ENET_STATS_LEN; | 1245 | drvinfo->n_stats = BCM_ENET_STATS_LEN; |
| 1246 | } | 1246 | } |
| 1247 | 1247 | ||
| 1248 | static int bcm_enet_get_stats_count(struct net_device *netdev) | 1248 | static int bcm_enet_get_sset_count(struct net_device *netdev, |
| 1249 | int string_set) | ||
| 1249 | { | 1250 | { |
| 1250 | return BCM_ENET_STATS_LEN; | 1251 | switch (string_set) { |
| 1252 | case ETH_SS_STATS: | ||
| 1253 | return BCM_ENET_STATS_LEN; | ||
| 1254 | default: | ||
| 1255 | return -EINVAL; | ||
| 1256 | } | ||
| 1251 | } | 1257 | } |
| 1252 | 1258 | ||
| 1253 | static void bcm_enet_get_strings(struct net_device *netdev, | 1259 | static void bcm_enet_get_strings(struct net_device *netdev, |
| @@ -1473,7 +1479,7 @@ static int bcm_enet_set_pauseparam(struct net_device *dev, | |||
| 1473 | 1479 | ||
| 1474 | static struct ethtool_ops bcm_enet_ethtool_ops = { | 1480 | static struct ethtool_ops bcm_enet_ethtool_ops = { |
| 1475 | .get_strings = bcm_enet_get_strings, | 1481 | .get_strings = bcm_enet_get_strings, |
| 1476 | .get_stats_count = bcm_enet_get_stats_count, | 1482 | .get_sset_count = bcm_enet_get_sset_count, |
| 1477 | .get_ethtool_stats = bcm_enet_get_ethtool_stats, | 1483 | .get_ethtool_stats = bcm_enet_get_ethtool_stats, |
| 1478 | .get_settings = bcm_enet_get_settings, | 1484 | .get_settings = bcm_enet_get_settings, |
| 1479 | .set_settings = bcm_enet_set_settings, | 1485 | .set_settings = bcm_enet_set_settings, |
