diff options
author | PJ Waskiewicz <peter.p.waskiewicz.jr@intel.com> | 2009-11-25 02:13:15 -0800 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-11-29 06:01:56 -0500 |
commit | 6e0512ce5c0ee1ba1da0f4773c5b56bf3d1987c5 (patch) | |
tree | 6713ea3ce17e94183aff25411172f49bff10a822 /ethtool.c | |
parent | 2121eeadf380b5c5402a93ecef3e3600b01edc89 (diff) | |
download | ethtool-6e0512ce5c0ee1ba1da0f4773c5b56bf3d1987c5.tar.gz |
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 <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'ethtool.c')
-rw-r--r-- | ethtool.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |