From: Ben Hutchings Date: Wed, 29 Apr 2009 08:02:59 +0000 (+0000) Subject: ethtool: Add port type PORT_OTHER X-Git-Tag: v2.6.31-rc1~14^2~591 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0821c71751ef88f4251d7206e76ce497ee267a2d;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Signed-off-by: David S. Miller --- diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index 131b127..5ccb6bd 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h @@ -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