diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-04-29 04:02:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-29 20:32:27 -0400 |
commit | 0821c71751ef88f4251d7206e76ce497ee267a2d (patch) | |
tree | 3e41314b4f0848db9e06c403115707edee58f753 /include/linux | |
parent | ce105a082371570effb71541f299b1dc2771ee03 (diff) |
ethtool: Add port type PORT_OTHER
Add a PORT_OTHER to represent all other physical port types. Current
NICs generally do not allow switching between multiple port types in
software so specific types should not be needed.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/ethtool.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index 131b127b70f8..5ccb6bd660c7 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h | |||
@@ -605,6 +605,7 @@ struct ethtool_ops { | |||
605 | #define PORT_MII 0x02 | 605 | #define PORT_MII 0x02 |
606 | #define PORT_FIBRE 0x03 | 606 | #define PORT_FIBRE 0x03 |
607 | #define PORT_BNC 0x04 | 607 | #define PORT_BNC 0x04 |
608 | #define PORT_OTHER 0xff | ||
608 | 609 | ||
609 | /* Which transceiver to use. */ | 610 | /* Which transceiver to use. */ |
610 | #define XCVR_INTERNAL 0x00 | 611 | #define XCVR_INTERNAL 0x00 |