diff options
-rw-r--r-- | ethtool-copy.h | 2 | ||||
-rw-r--r-- | ethtool.c | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ethtool-copy.h b/ethtool-copy.h index 1f8ad45..d366c3a 100644 --- a/ethtool-copy.h +++ b/ethtool-copy.h @@ -504,6 +504,8 @@ struct ethtool_flash { #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. */ @@ -965,6 +965,12 @@ static int dump_ecmd(struct ethtool_cmd *ep) case DUPLEX_FULL: fprintf(stdout, "Full\n"); break; + case PORT_DA: + fprintf(stdout, "Direct Attach Copper\n"); + break; + case PORT_NONE: + fprintf(stdout, "None\n"); + break; default: fprintf(stdout, "Unknown! (%i)\n", ep->duplex); break; |