summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBen Hutchings2009-04-29 10:02:59 +0200
committerDavid S. Miller2009-04-30 02:32:27 +0200
commit0821c71751ef88f4251d7206e76ce497ee267a2d (patch)
tree3e41314b4f0848db9e06c403115707edee58f753 /include
parentpcnet32: Remove pointless memory barriers (diff)
downloadkernel-qcow2-linux-0821c71751ef88f4251d7206e76ce497ee267a2d.tar.gz
kernel-qcow2-linux-0821c71751ef88f4251d7206e76ce497ee267a2d.tar.xz
kernel-qcow2-linux-0821c71751ef88f4251d7206e76ce497ee267a2d.zip
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')
-rw-r--r--include/linux/ethtool.h1
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 {
#define PORT_MII 0x02
#define PORT_FIBRE 0x03
#define PORT_BNC 0x04
+#define PORT_OTHER 0xff
/* Which transceiver to use. */
#define XCVR_INTERNAL 0x00