Commit 0821c71751ef88f4251d7206e76ce497ee267a2d

Authored by Ben Hutchings
Committed by David S. Miller
1 parent ce105a0823

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

include/linux/ethtool.h
... ... @@ -605,6 +605,7 @@
605 605 #define PORT_MII 0x02
606 606 #define PORT_FIBRE 0x03
607 607 #define PORT_BNC 0x04
  608 +#define PORT_OTHER 0xff
608 609  
609 610 /* Which transceiver to use. */
610 611 #define XCVR_INTERNAL 0x00