lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <ac83fc1a-a967-4035-bfed-a8deff029ace@CMEXHTCAS2.ad.emulex.com>
Date:	Thu, 1 Aug 2013 17:39:06 +0530
From:	Somnath Kotur <somnath.kotur@...lex.com>
To:	<bhutchings@...arflare.com>
CC:	<netdev@...r.kernel.org>, Somnath Kotur <somnath.kotur@...lex.com>
Subject: [PATCH ethtool]: Add strings to display Supported Ports for Backplane Ethernet

Signed-off-by: Somnath Kotur <somnath.kotur@...lex.com>
---
 ethtool.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ethtool.c b/ethtool.c
index 3544f0e..b24b572 100644
--- a/ethtool.c
+++ b/ethtool.c
@@ -485,6 +485,9 @@ static void dump_supported(struct ethtool_cmd *ep)
 		fprintf(stdout, "MII ");
 	if (mask & SUPPORTED_FIBRE)
 		fprintf(stdout, "FIBRE ");
+	if ((mask & SUPPORTED_10000baseKR_Full) ||
+	    (mask & SUPPORTED_10000baseKX4_Full))
+		fprintf(stdout, "BACKPLANE ");
 	fprintf(stdout, "]\n");
 
 	dump_link_caps("Supported", "Supports", mask, 0);
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ