Skip to content

Commit

Permalink
ethtool: Add port type PORT_OTHER
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Apr 30, 2009
1 parent ce105a0 commit 0821c71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/ethtool.h
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ struct ethtool_ops {
#define PORT_MII 0x02
#define PORT_FIBRE 0x03
#define PORT_BNC 0x04
#define PORT_OTHER 0xff

/* Which transceiver to use. */
#define XCVR_INTERNAL 0x00
Expand Down

0 comments on commit 0821c71

Please sign in to comment.