Commit 297fb414 authored by Nicolas Dichtel's avatar Nicolas Dichtel Committed by David S. Miller

ethtool.h: remind to update 802.3ad when adding new speeds

Each time a new speed is added, the bonding 802.3ad isn't updated. Add a
comment to remind the developer to update this driver.
Signed-off-by: default avatarNicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: default avatarAndy Gospodarek <andy@greyhouse.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3fcd64cf
...@@ -1486,8 +1486,10 @@ enum ethtool_link_mode_bit_indices { ...@@ -1486,8 +1486,10 @@ enum ethtool_link_mode_bit_indices {
* it was forced up into this mode or autonegotiated. * it was forced up into this mode or autonegotiated.
*/ */
/* The forced speed, in units of 1Mb. All values 0 to INT_MAX are legal. */ /* The forced speed, in units of 1Mb. All values 0 to INT_MAX are legal.
/* Update drivers/net/phy/phy.c:phy_speed_to_str() when adding new values */ * Update drivers/net/phy/phy.c:phy_speed_to_str() and
* drivers/net/bonding/bond_3ad.c:__get_link_speed() when adding new values.
*/
#define SPEED_10 10 #define SPEED_10 10
#define SPEED_100 100 #define SPEED_100 100
#define SPEED_1000 1000 #define SPEED_1000 1000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment