summaryrefslogtreecommitdiff
path: root/ethtool-copy.h
diff options
context:
space:
mode:
authorPJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>2009-11-25 02:13:15 -0800
committerJeff Garzik <jgarzik@redhat.com>2009-11-29 06:01:56 -0500
commit6e0512ce5c0ee1ba1da0f4773c5b56bf3d1987c5 (patch)
tree6713ea3ce17e94183aff25411172f49bff10a822 /ethtool-copy.h
parent2121eeadf380b5c5402a93ecef3e3600b01edc89 (diff)
downloadethtool-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-copy.h')
-rw-r--r--ethtool-copy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethtool-copy.h b/ethtool-copy.h
index 1f8ad45..d366c3a 100644
--- a/ethtool-copy.h
+++ b/ethtool-copy.h
@@ -504,6 +504,8 @@ struct ethtool_flash {
#define PORT_MII 0x02
#define PORT_FIBRE 0x03
#define PORT_BNC 0x04
+#define PORT_DA 0x05
+#define PORT_NONE 0xef
#define PORT_OTHER 0xff
/* Which transceiver to use. */