CVSROOT: /cvs
Module name: src
Changes by: [EMAIL PROTECTED] 2008/09/08 01:38:33
Modified files:
sys/dev/pci : if_txp.c
sys/dev/mii : amphy.c dcphy.c inphy.c iophy.c nsphy.c rlphy.c
ukphy_subr.c
Log message:
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 did not honor the order such that 100BASE-T4 had
higher priority than 100BASE-TX full duplex. Fix a long standing bug
such that PHY drivers choose the highest common denominator ability.
This bug is exposed by a Cisco 3550 switch which inadvertently
announces 100BASE-T4 capability even though it is not capable of
100BASE-T4 operation, it is a 100BASE-TX switch.
>From FreeBSD
Tested with dc(4), fxp(4), rl(4), sis(4).