diff options
author | Yaniv Rosner <yanivr@broadcom.com> | 2011-05-02 17:30:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-08 18:42:43 -0400 |
commit | 57cc71bc3c0cf18bfd1b7bc8cd0eb6c303da24c5 (patch) | |
tree | eda8d1e01c124a4013979ae0aed6539cf80a3b4f /include/linux/ethtool.h | |
parent | 02e73c1edc3746e308d1768a27fdc8121f641ab1 (diff) |
ethtool: Add 20G bit definitions
Add 20G supported and advertising bit definitions.
20G will be supported with the 57840 chips.
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
------
include/linux/ethtool.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ethtool.h')
-rw-r--r-- | include/linux/ethtool.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index d659fdc77eb3..bd0b50b85f06 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h | |||
@@ -1025,6 +1025,8 @@ struct ethtool_ops { | |||
1025 | #define SUPPORTED_10000baseKX4_Full (1 << 18) | 1025 | #define SUPPORTED_10000baseKX4_Full (1 << 18) |
1026 | #define SUPPORTED_10000baseKR_Full (1 << 19) | 1026 | #define SUPPORTED_10000baseKR_Full (1 << 19) |
1027 | #define SUPPORTED_10000baseR_FEC (1 << 20) | 1027 | #define SUPPORTED_10000baseR_FEC (1 << 20) |
1028 | #define SUPPORTED_20000baseMLD2_Full (1 << 21) | ||
1029 | #define SUPPORTED_20000baseKR2_Full (1 << 22) | ||
1028 | 1030 | ||
1029 | /* Indicates what features are advertised by the interface. */ | 1031 | /* Indicates what features are advertised by the interface. */ |
1030 | #define ADVERTISED_10baseT_Half (1 << 0) | 1032 | #define ADVERTISED_10baseT_Half (1 << 0) |
@@ -1048,6 +1050,8 @@ struct ethtool_ops { | |||
1048 | #define ADVERTISED_10000baseKX4_Full (1 << 18) | 1050 | #define ADVERTISED_10000baseKX4_Full (1 << 18) |
1049 | #define ADVERTISED_10000baseKR_Full (1 << 19) | 1051 | #define ADVERTISED_10000baseKR_Full (1 << 19) |
1050 | #define ADVERTISED_10000baseR_FEC (1 << 20) | 1052 | #define ADVERTISED_10000baseR_FEC (1 << 20) |
1053 | #define ADVERTISED_20000baseMLD2_Full (1 << 21) | ||
1054 | #define ADVERTISED_20000baseKR2_Full (1 << 22) | ||
1051 | 1055 | ||
1052 | /* The following are all involved in forcing a particular link | 1056 | /* The following are all involved in forcing a particular link |
1053 | * mode for the device for setting things. When getting the | 1057 | * mode for the device for setting things. When getting the |