Skip to content
Commit f462975c authored by Alexandru Tachici's avatar Alexandru Tachici Committed by Bruce Ashfield
Browse files

net: phy: Add 10BASE-T1L support in phy-c45



commit 5fa5fb1d0d594a9d7a3fbfd10d46ab2a438406fc from
https://github.com/nxp-auto-linux/linux

This patch is needed because the BASE-T1 uses different registers
for status, control and advertisement to those already
employed in the existing phy-c45 functions.

Where required, genphy_c45 functions will now check whether
the device supports BASE-T1 and use the specific registers
instead: 45.2.7.19 BASE-T1 AN control register,
45.2.7.20 BASE-T1 AN status, 45.2.7.21 BASE-T1 AN
advertisement register, 45.2.7.22 BASE-T1 AN LP Base
Page ability register, 45.2.1.185 BASE-T1 PMA/PMD control
register.

Issue: ALB-10440

Tested-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: default avatarAlexandru Tachici <alexandru.tachici@analog.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
(cherry picked from commit 3da8ffd8

)
Signed-off-by: default avatarZhantao Tang <zhantao.tang@windriver.com>
parent f9906191
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment