aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ethtool.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-04-29 04:25:57 -0400
committerDavid S. Miller <davem@davemloft.net>2009-04-29 20:32:40 -0400
commit894b19a6b343ce3589237167a56e6df0fe72ef0d (patch)
tree0713a034ac095488151bcd94f3510c50d660cc11 /include/linux/ethtool.h
parent0c09c1a49cc7b819b33566a49d9901f7cfdd6889 (diff)
ethtool/mdio: Support backplane mode negotiation
Compile-tested only. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ethtool.h')
-rw-r--r--include/linux/ethtool.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h
index 14e6bc860112..380b04272bf1 100644
--- a/include/linux/ethtool.h
+++ b/include/linux/ethtool.h
@@ -565,6 +565,11 @@ struct ethtool_ops {
565#define SUPPORTED_Pause (1 << 13) 565#define SUPPORTED_Pause (1 << 13)
566#define SUPPORTED_Asym_Pause (1 << 14) 566#define SUPPORTED_Asym_Pause (1 << 14)
567#define SUPPORTED_2500baseX_Full (1 << 15) 567#define SUPPORTED_2500baseX_Full (1 << 15)
568#define SUPPORTED_Backplane (1 << 16)
569#define SUPPORTED_1000baseKX_Full (1 << 17)
570#define SUPPORTED_10000baseKX4_Full (1 << 18)
571#define SUPPORTED_10000baseKR_Full (1 << 19)
572#define SUPPORTED_10000baseR_FEC (1 << 20)
568 573
569/* Indicates what features are advertised by the interface. */ 574/* Indicates what features are advertised by the interface. */
570#define ADVERTISED_10baseT_Half (1 << 0) 575#define ADVERTISED_10baseT_Half (1 << 0)
@@ -583,6 +588,11 @@ struct ethtool_ops {
583#define ADVERTISED_Pause (1 << 13) 588#define ADVERTISED_Pause (1 << 13)
584#define ADVERTISED_Asym_Pause (1 << 14) 589#define ADVERTISED_Asym_Pause (1 << 14)
585#define ADVERTISED_2500baseX_Full (1 << 15) 590#define ADVERTISED_2500baseX_Full (1 << 15)
591#define ADVERTISED_Backplane (1 << 16)
592#define ADVERTISED_1000baseKX_Full (1 << 17)
593#define ADVERTISED_10000baseKX4_Full (1 << 18)
594#define ADVERTISED_10000baseKR_Full (1 << 19)
595#define ADVERTISED_10000baseR_FEC (1 << 20)
586 596
587/* The following are all involved in forcing a particular link 597/* The following are all involved in forcing a particular link
588 * mode for the device for setting things. When getting the 598 * mode for the device for setting things. When getting the