From: Jesse Brandeburg <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> Signed-off-by: Auke Kok <[EMAIL PROTECTED]> --- 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: "); - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html