summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParav Pandit <parav.pandit@emulex.com>2012-06-27 19:26:39 +0530
committerBen Hutchings <bhutchings@solarflare.com>2012-07-16 23:43:16 +0100
commit9f9c9fd6a83ce967634f24b637f097231cb4dc24 (patch)
treec65dbfeb531d3036db7315cc9ef8096ae402c074
parent51d929b3d6a4f1849d3ef755edc64f2299a970e3 (diff)
downloadethtool-9f9c9fd6a83ce967634f24b637f097231cb4dc24.tar.gz
ethtool: added support for 40G link.
1. defined values for KR4, CR4, SR4, LR4 PHY. Signed-off-by: Parav Pandit <parav.pandit@emulex.com> Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
-rw-r--r--ethtool.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ethtool.c b/ethtool.c
index ef68b7b..a532d1a 100644
--- a/ethtool.c
+++ b/ethtool.c
@@ -462,6 +462,10 @@ dump_link_caps(const char *prefix, const char *an_prefix, u32 mask,
{ 0, ADVERTISED_10000baseT_Full, "10000baseT/Full" },
{ 0, ADVERTISED_10000baseKX4_Full, "10000baseKX4/Full" },
{ 0, ADVERTISED_20000baseMLD2_Full, "20000baseMLD2/Full" },
+ { 0, ADVERTISED_40000baseKR4_Full, "40000baseKR4/Full" },
+ { 0, ADVERTISED_40000baseCR4_Full, "40000baseCR4/Full" },
+ { 0, ADVERTISED_40000baseSR4_Full, "40000baseSR4/Full" },
+ { 0, ADVERTISED_40000baseLR4_Full, "40000baseLR4/Full" },
};
int indent;
int did1, new_line_pend, i;