Skip to content
Snippets Groups Projects
Commit 9ba30f6b authored by Sascha Silbe's avatar Sascha Silbe Committed by Tom Rini
Browse files

phy: fix 10/100Mbps operation on 1Gbps-capable links


de1d786e [add support for Xilinx 1000BASE-X phy (GTX)] introduced a
check for the extended status register in order to support
1Gbps-capable PHYs that don't have the 1000BASE-T registers. Since
Extended Status only indicates what the PHY (i.e. the local side) is
capable of, this broke communication with non-1Gbps peers.

Only check the extended status if the 1000BASE-T registers are
actually missing so we don't end up setting speed to 1Gbps even though
the previous test (for the combination of local and peer support for
1Gbps) already indicated we can't do 1Gbps with the current peer.

Signed-off-by: default avatarSascha Silbe <t-uboot@infra-silbe.de>
Tested-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 971c450a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment