Re: [PATCH v4 0/2] net: phy: Support managed Cortina phys

From: David Miller
Date: Tue May 30 2017 - 12:43:10 EST


From: Bogdan Purcareata <bogdan.purcareata@xxxxxxx>
Date: Mon, 29 May 2017 09:11:29 +0000

> So far, the Cortina family phys (CS4340 in this particular case) are only
> supported in fixed link mode (via fixed_phy_register). The generic 10G
> phy driver does not work well with the phylib state machine, when the phy
> is registered via of_phy_connect. This prohibits the user from describing the
> phy nodes in the device tree.
>
> In order to support this scenario, and to properly describe the board
> device tree, add a minimal Cortina driver that reads the status from the
> right register. With the generic 10G C45 driver, the kernel will print
> messages like:
> [ 0.226521] mdio_bus 8b96000: Error while reading PHY16 reg at 1.6
> [ 0.232780] mdio_bus 8b96000: Error while reading PHY16 reg at 1.5
...

Series applied, thanks.