From 6e0512ce5c0ee1ba1da0f4773c5b56bf3d1987c5 Mon Sep 17 00:00:00 2001 From: PJ Waskiewicz Date: Wed, 25 Nov 2009 02:13:15 -0800 Subject: ethtool: Add Direct Attach to the available connector ports This adds Direct Attach SFP+ types to the connector ports for the GSET mode. Signed-off-by: Peter P Waskiewicz Jr Signed-off-by: Jeff Kirsher Signed-off-by: Jeff Garzik --- ethtool.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ethtool.c') diff --git a/ethtool.c b/ethtool.c index cf3d06b..827f16c 100644 --- a/ethtool.c +++ b/ethtool.c @@ -965,6 +965,12 @@ static int dump_ecmd(struct ethtool_cmd *ep) case DUPLEX_FULL: fprintf(stdout, "Full\n"); break; + case PORT_DA: + fprintf(stdout, "Direct Attach Copper\n"); + break; + case PORT_NONE: + fprintf(stdout, "None\n"); + break; default: fprintf(stdout, "Unknown! (%i)\n", ep->duplex); break; -- cgit v1.2.1