summaryrefslogtreecommitdiff
path: root/ethtool-copy.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2007-05-03 00:27:10 -0700
committerJeff Garzik <jeff@garzik.org>2007-05-11 16:46:08 -0400
commit029cce110c4e5297bbe3f946868e32820e842856 (patch)
tree384cdc60abe9e43a392055a7862ba26eafa8b7c3 /ethtool-copy.h
parent06759c2e613e608038836d0ab7f21eb07570d355 (diff)
downloadethtool-029cce110c4e5297bbe3f946868e32820e842856.tar.gz
ethtool: Add 2.5G support
Add 2.5G Serdes support to ethtool user program and ethtool.8 man page. The missing pause bits are also added to keep ethtool-copy.h in sync with the kernel's version. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'ethtool-copy.h')
-rw-r--r--ethtool-copy.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ethtool-copy.h b/ethtool-copy.h
index 30f5e05..4615ef6 100644
--- a/ethtool-copy.h
+++ b/ethtool-copy.h
@@ -306,6 +306,9 @@ struct ethtool_stats {
#define SUPPORTED_FIBRE (1 << 10)
#define SUPPORTED_BNC (1 << 11)
#define SUPPORTED_10000baseT_Full (1 << 12)
+#define SUPPORTED_Pause (1 << 13)
+#define SUPPORTED_Asym_Pause (1 << 14)
+#define SUPPORTED_2500baseX_Full (1 << 15)
/* Indicates what features are advertised by the interface. */
#define ADVERTISED_10baseT_Half (1 << 0)
@@ -321,6 +324,9 @@ struct ethtool_stats {
#define ADVERTISED_FIBRE (1 << 10)
#define ADVERTISED_BNC (1 << 11)
#define ADVERTISED_10000baseT_Full (1 << 12)
+#define ADVERTISED_Pause (1 << 13)
+#define ADVERTISED_Asym_Pause (1 << 14)
+#define ADVERTISED_2500baseX_Full (1 << 15)
/* The following are all involved in forcing a particular link
* mode for the device for setting things. When getting the
@@ -332,6 +338,7 @@ struct ethtool_stats {
#define SPEED_10 10
#define SPEED_100 100
#define SPEED_1000 1000
+#define SPEED_2500 2500
#define SPEED_10000 10000
/* Duplex, half or full. */