diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2007-11-07 08:24:20 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-11-23 20:55:34 -0500 |
commit | 1288ec8133806e23ad94455420bbf5c9efb578db (patch) | |
tree | a1d448030dded419c1c646e8a98d6cb00022d2c7 /ethtool.c | |
parent | e52c3a02a4d7c64a4e0a7a2ee28784d2ba6031b2 (diff) | |
download | ethtool-1288ec8133806e23ad94455420bbf5c9efb578db.tar.gz |
ethtool: add support for supporting 10000baseT
there is missing support in ethtool for reporting 10000baseT
as SUPPORTED_10000baseT_Full. The code seems to be half
implemented because the "advertising" field has the implementation.
this patch just adds it for supported reporting.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'ethtool.c')
-rw-r--r-- | ethtool.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -725,6 +725,13 @@ static void dump_supported(struct ethtool_cmd *ep) if (mask & SUPPORTED_2500baseX_Full) { did1++; fprintf(stdout, "2500baseX/Full "); } + if (did1 && (mask & SUPPORTED_10000baseT_Full)) { + fprintf(stdout, "\n"); + fprintf(stdout, " "); + } + if (mask & SUPPORTED_10000baseT_Full) { + did1++; fprintf(stdout, "10000baseT/Full "); + } fprintf(stdout, "\n"); fprintf(stdout, " Supports auto-negotiation: "); |