ethtool: Add Direct Attach support to connector port reporting
authorPJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>
Wed, 25 Nov 2009 00:11:30 +0000 (00:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Nov 2009 08:34:00 +0000 (00:34 -0800)
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>
include/linux/ethtool.h

index edd03b79e8f8d6a44c8bf120a012592827814d43..bcaa0e0a54d393038bf295cbe7ca053de244f9ea 100644 (file)
@@ -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. */