netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ethtool: add support for supporting 10000baseT
@ 2007-11-07 16:24 Auke Kok
  2007-11-07 16:57 ` Ben Hutchings
  2007-11-24  1:55 ` Jeff Garzik
  0 siblings, 2 replies; 5+ messages in thread
From: Auke Kok @ 2007-11-07 16:24 UTC (permalink / raw)
  To: jeff; +Cc: netdev, jesse.brandeburg, auke-jan.h.kok

From: Jesse Brandeburg <jesse.brandeburg@intel.com>

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>
---

 ethtool.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ethtool.c b/ethtool.c
index 6c7a2e3..888be57 100644
--- a/ethtool.c
+++ b/ethtool.c
@@ -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: ");

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-24  1:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-07 16:24 [PATCH] ethtool: add support for supporting 10000baseT Auke Kok
2007-11-07 16:57 ` Ben Hutchings
2007-11-07 18:06   ` Kok, Auke
2007-11-07 18:25     ` Ben Hutchings
2007-11-24  1:55 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).