aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ethtool.h
diff options
context:
space:
mode:
authorPJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>2009-11-24 19:11:30 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-29 03:34:00 -0500
commit5789d290cda6854b03986031df02b965572279df (patch)
tree4887dba43e9ab3fd0616ce53e2a555e5b6c16a1e /include/linux/ethtool.h
parent91152c3242f32d3b68396c26c638250d2a00eb05 (diff)
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/linux/ethtool.h')
-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 {
631#define PORT_MII 0x02 631#define PORT_MII 0x02
632#define PORT_FIBRE 0x03 632#define PORT_FIBRE 0x03
633#define PORT_BNC 0x04 633#define PORT_BNC 0x04
634#define PORT_DA 0x05
635#define PORT_NONE 0xef
634#define PORT_OTHER 0xff 636#define PORT_OTHER 0xff
635 637
636/* Which transceiver to use. */ 638/* Which transceiver to use. */