From 029cce110c4e5297bbe3f946868e32820e842856 Mon Sep 17 00:00:00 2001 From: Michael Chan Date: Thu, 3 May 2007 00:27:10 -0700 Subject: 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 Signed-off-by: Jeff Garzik --- ethtool-copy.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ethtool-copy.h') 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. */ -- cgit v1.2.1