summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPJ Waskiewicz2009-11-25 01:11:30 +0100
committerDavid S. Miller2009-11-29 09:34:00 +0100
commit5789d290cda6854b03986031df02b965572279df (patch)
tree4887dba43e9ab3fd0616ce53e2a555e5b6c16a1e /include
parentixgbe: Fix Receive Address Register (RAR) cleaning and accounting (diff)
downloadkernel-qcow2-linux-5789d290cda6854b03986031df02b965572279df.tar.gz
kernel-qcow2-linux-5789d290cda6854b03986031df02b965572279df.tar.xz
kernel-qcow2-linux-5789d290cda6854b03986031df02b965572279df.zip
ethtool: Add Direct Attach support to connector port reporting
This patch allows a base driver to specify Direct Attach as the type of port through the ethtool interface. Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ethtool.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h
index edd03b79e8f8..bcaa0e0a54d3 100644
--- a/include/linux/ethtool.h
+++ b/include/linux/ethtool.h
@@ -631,6 +631,8 @@ struct ethtool_ops {
#define PORT_MII 0x02
#define PORT_FIBRE 0x03
#define PORT_BNC 0x04
+#define PORT_DA 0x05
+#define PORT_NONE 0xef
#define PORT_OTHER 0xff
/* Which transceiver to use. */