History

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.

Nicolas Dichtel committed 9 years ago

Commit 297fb411 parent 3fcd64c1 file · +4 −2Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/ethtool.h+4−2
@@ -1486,8 +1486,10 @@ enum ethtool_link_mode_bit_indices { · 1485 unmodified lines
14861486 * it was forced up into this mode or autonegotiated.
14871487 */
14881488
1489−/* The forced speed, in units of 1Mb. All values 0 to INT_MAX are legal. */
1490−/* Update drivers/net/phy/phy.c:phy_speed_to_str() when adding new values */
1489+/* The forced speed, in units of 1Mb. All values 0 to INT_MAX are legal.
1490+ * Update drivers/net/phy/phy.c:phy_speed_to_str() and
1491+ * drivers/net/bonding/bond_3ad.c:__get_link_speed() when adding new values.
1492+ */
14911493 #define SPEED_10 10
14921494 #define SPEED_100 100
14931495 #define SPEED_1000 1000