diff options
-rw-r--r-- | ethtool.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -965,12 +965,6 @@ 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; @@ -993,6 +987,12 @@ static int dump_ecmd(struct ethtool_cmd *ep) case PORT_FIBRE: fprintf(stdout, "FIBRE\n"); break; + case PORT_DA: + fprintf(stdout, "Direct Attach Copper\n"); + break; + case PORT_NONE: + fprintf(stdout, "None\n"); + break; case PORT_OTHER: fprintf(stdout, "Other\n"); break; |