From 69237b102dd42f51acc9a925d82a5af9712c2db6 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Fri, 1 Aug 2008 22:13:39 +0000 Subject: [PATCH] Make "1000baseT" the description and "1000baseTX" the alias for IFM_1000_T instead of the reverse. It is possible FreeBSD doesn't even support 1000baseTX. This changes ifconfig(8) output. Requested by: gavin@ and bms@ See also: http://docs.freebsd.org/cgi/mid.cgi?20050307191901.H32508 --- sys/net/if_media.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/if_media.h b/sys/net/if_media.h index f32003404b60..18726da0f868 100644 --- a/sys/net/if_media.h +++ b/sys/net/if_media.h @@ -343,7 +343,7 @@ struct ifmedia_description { { IFM_1000_SX, "1000baseSX" }, \ { IFM_1000_LX, "1000baseLX" }, \ { IFM_1000_CX, "1000baseCX" }, \ - { IFM_1000_T, "1000baseTX" }, \ + { IFM_1000_T, "1000baseT" }, \ { IFM_HPNA_1, "homePNA" }, \ { IFM_10G_LR, "10Gbase-LR" }, \ { IFM_10G_SR, "10Gbase-SR" }, \ @@ -368,7 +368,7 @@ struct ifmedia_description { { IFM_1000_SX, "1000SX" }, \ { IFM_1000_LX, "1000LX" }, \ { IFM_1000_CX, "1000CX" }, \ - { IFM_1000_T, "1000baseT" }, \ + { IFM_1000_T, "1000baseTX" }, \ { IFM_1000_T, "1000TX" }, \ { IFM_1000_T, "1000T" }, \ { IFM_2500_SX, "2500SX" }, \