summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2008-08-01 22:13:39 +0000
committerantoine <antoine@FreeBSD.org>2008-08-01 22:13:39 +0000
commitba030d52ce965411289fab707fb69efaeba9c852 (patch)
treeb860dd966adb98c815fd2452b94efe4277e6afe1 /sys/net
parentf5bceca63e8db10ddb522150b47f6dd29ed01cd3 (diff)
downloadFreeBSD-src-ba030d52ce965411289fab707fb69efaeba9c852.zip
FreeBSD-src-ba030d52ce965411289fab707fb69efaeba9c852.tar.gz
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
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_media.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h
index f320034..18726da 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" }, \
OpenPOWER on IntegriCloud