summaryrefslogtreecommitdiffstats
path: root/sys/dev/txp
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2007-11-16 10:25:36 +0000
committeryongari <yongari@FreeBSD.org>2007-11-16 10:25:36 +0000
commit21faca2ee7f073e31d345fd7f2af8494d7060517 (patch)
tree6a96fff67828f66a4043afba1a520e87965e3db4 /sys/dev/txp
parent6a78af898e9fd65c9dd5465d3915905b53846273 (diff)
downloadFreeBSD-src-21faca2ee7f073e31d345fd7f2af8494d7060517.zip
FreeBSD-src-21faca2ee7f073e31d345fd7f2af8494d7060517.tar.gz
IEEE 802.3 Annex 28B.3 explicitly specifies the following relative
priorities of the technologies supported by 802.3 Selector Field value. 1000BASE-T full duplex 1000BASE-T 100BASE-T2 full duplex 100BASE-TX full duplex 100BASE-T2 100BASE-T4 100BASE-TX 10BASE-T full duplex 10BAST-T However PHY drivers didn't honor the order such that 100BASE-T4 had higher priority than 100BASE-TX full duplex. Fix that long standing bugs such that have PHY drivers choose the highest common denominator ability. Fix a bug in dcphy which inadvertently aceepts 100BASE-T4. PR: 92599
Diffstat (limited to 'sys/dev/txp')
-rw-r--r--sys/dev/txp/if_txp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/txp/if_txp.c b/sys/dev/txp/if_txp.c
index 6d7eda1..3478970 100644
--- a/sys/dev/txp/if_txp.c
+++ b/sys/dev/txp/if_txp.c
@@ -1695,10 +1695,10 @@ txp_ifmedia_sts(ifp, ifmr)
return;
}
- if (anlpar & ANLPAR_T4)
- ifmr->ifm_active |= IFM_100_T4;
- else if (anlpar & ANLPAR_TX_FD)
+ if (anlpar & ANLPAR_TX_FD)
ifmr->ifm_active |= IFM_100_TX|IFM_FDX;
+ else if (anlpar & ANLPAR_T4)
+ ifmr->ifm_active |= IFM_100_T4;
else if (anlpar & ANLPAR_TX)
ifmr->ifm_active |= IFM_100_TX;
else if (anlpar & ANLPAR_10_FD)
OpenPOWER on IntegriCloud