net: phy: c45: detect the BASE-T1 speed from the ability register
authorStefan Eichenberger <eichest@gmail.com>
Wed, 19 Jul 2023 06:42:57 +0000 (08:42 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 20 Jul 2023 10:24:06 +0000 (12:24 +0200)
commita60eb72066af272c2891c6685b9a082dde69198c
tree28d2aa3482ccb148c4066b4d1285722776930cc8
parenteba2e4c2faef618b6e33dfdba918c76727f891b5
net: phy: c45: detect the BASE-T1 speed from the ability register

Read the ability to do 100BASE-T1 and 1000BASE-T1 from the extended
BASE-T1 ability register of the PHY.

Signed-off-by: Stefan Eichenberger <eichest@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/phy-c45.c