diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/b44.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/b44.c b/drivers/net/b44.c index 282ebd15f011..225d14fd9239 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c | |||
@@ -1619,14 +1619,14 @@ static int b44_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) | |||
1619 | 1619 | ||
1620 | cmd->advertising = 0; | 1620 | cmd->advertising = 0; |
1621 | if (bp->flags & B44_FLAG_ADV_10HALF) | 1621 | if (bp->flags & B44_FLAG_ADV_10HALF) |
1622 | cmd->advertising |= ADVERTISE_10HALF; | 1622 | cmd->advertising |= ADVERTISED_10baseT_Half; |
1623 | if (bp->flags & B44_FLAG_ADV_10FULL) | 1623 | if (bp->flags & B44_FLAG_ADV_10FULL) |
1624 | cmd->advertising |= ADVERTISE_10FULL; | 1624 | cmd->advertising |= ADVERTISED_10baseT_Full; |
1625 | if (bp->flags & B44_FLAG_ADV_100HALF) | 1625 | if (bp->flags & B44_FLAG_ADV_100HALF) |
1626 | cmd->advertising |= ADVERTISE_100HALF; | 1626 | cmd->advertising |= ADVERTISED_100baseT_Half; |
1627 | if (bp->flags & B44_FLAG_ADV_100FULL) | 1627 | if (bp->flags & B44_FLAG_ADV_100FULL) |
1628 | cmd->advertising |= ADVERTISE_100FULL; | 1628 | cmd->advertising |= ADVERTISED_100baseT_Full; |
1629 | cmd->advertising |= ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM; | 1629 | cmd->advertising |= ADVERTISED_Pause | ADVERTISED_Asym_Pause; |
1630 | cmd->speed = (bp->flags & B44_FLAG_100_BASE_T) ? | 1630 | cmd->speed = (bp->flags & B44_FLAG_100_BASE_T) ? |
1631 | SPEED_100 : SPEED_10; | 1631 | SPEED_100 : SPEED_10; |
1632 | cmd->duplex = (bp->flags & B44_FLAG_FULL_DUPLEX) ? | 1632 | cmd->duplex = (bp->flags & B44_FLAG_FULL_DUPLEX) ? |