summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2017-04-02 14:30:06 -0700
committerDavid S. Miller <davem@davemloft.net>2017-04-05 06:36:06 -0700
commit1f37b177fd36790be4f281d538a8c9de67013606 (patch)
treea6278dab469d9bea49f07a686b22429dee623331 /include
parent5422e5a3908cf18e12c22d76b33da8873d2213c2 (diff)
downloadlinux-1f37b177fd36790be4f281d538a8c9de67013606.tar.bz2
phy/ethtool: Add missing SPEED_<foo> strings
Add all the currently available SPEED_<foo> strings. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/ethtool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h
index 3dc91a46e8b8..5f4ea28eabe4 100644
--- a/include/uapi/linux/ethtool.h
+++ b/include/uapi/linux/ethtool.h
@@ -1487,6 +1487,7 @@ enum ethtool_link_mode_bit_indices {
*/
/* 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 */
#define SPEED_10 10
#define SPEED_100 100
#define SPEED_1000 1000