net: phy: c45: add a separate function to read BASE-T1 abilities
authorStefan Eichenberger <eichest@gmail.com>
Wed, 19 Jul 2023 06:42:56 +0000 (08:42 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 20 Jul 2023 10:24:06 +0000 (12:24 +0200)
commiteba2e4c2faef618b6e33dfdba918c76727f891b5
tree318a91f0686c8c58545779fcf53b5cae16a61e46
parent25108a834e145a274024d174083089f8a83fe5bb
net: phy: c45: add a separate function to read BASE-T1 abilities

Add a separate function to read the BASE-T1 abilities. Some PHYs do not
indicate the availability of the extended BASE-T1 ability register, so
this function must be called separately.

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
include/linux/phy.h