net: phy: add phyid search in vendor specific space
authorFlorin Chiculita <florinlaurentiu.chiculita@nxp.com>
Wed, 29 Apr 2020 11:25:48 +0000 (14:25 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 12 Jun 2020 17:17:23 +0000 (13:17 -0400)
commit9c6de508a6362a3ddd4067e90f07ae613f312aa4
tree43f1f44a29a8773f1517968fba9c0878a274448d
parenta7a435e7d41db6a611427b4cc5fd506a18fb2c2f
net: phy: add phyid search in vendor specific space

There are devices accesible through mdio clause-45, such as
retimers, that do not have PMA or PCS blocks.
This patch adds MDIO_MMD_VEND1 on the list of device addresses
where phyid is searched. Previous order of devices was kept.

Signed-off-by: Florin Chiculita <florinlaurentiu.chiculita@nxp.com>
Reviewed-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
drivers/net/phy/phy.c