]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: ethtool: Add ethernet speed macros for higher speeds
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Fri, 2 Jul 2021 10:40:33 +0000 (04:40 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 26 Jul 2021 07:18:45 +0000 (09:18 +0200)
Add speed macro's for higher ethernet speeds to be used in u-boot
networking drivers. Added Macros for speeds 14G, 20G, 25G, 40G, 50G,
56G, 100G and 200G inline with linux.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/linux/ethtool.h

index f6dbdb096d34c220d12962fe627bc8eb3e401ea0..aa7d2fd58f47bbfe5aa6860d539decd5d1d30c5f 100644 (file)
@@ -620,6 +620,14 @@ enum ethtool_sfeatures_retval_bits {
 #define SPEED_1000             1000
 #define SPEED_2500             2500
 #define SPEED_10000            10000
+#define SPEED_14000            14000
+#define SPEED_20000            20000
+#define SPEED_25000            25000
+#define SPEED_40000            40000
+#define SPEED_50000            50000
+#define SPEED_56000            56000
+#define SPEED_100000           100000
+#define SPEED_200000           200000
 
 /* Duplex, half or full. */
 #define DUPLEX_HALF            0x00