Re: [PATCH v2 net 6/8] net: bcmgenet: Power up the internal PHY before probing the MII

From: Florian Fainelli
Date: Thu Mar 09 2017 - 20:45:02 EST


On 03/09/2017 04:58 PM, Doug Berger wrote:
> When using the internal PHY it must be powered up when the MII is probed
> or the PHY will not be detected. Since the PHY is powered up at reset
> this has not been a problem. However, when the kernel is restarted with
> kexec the PHY will likely be powered down when the kernel starts so it
> will not be detected and the Ethernet link will not be established.
>
> This commit explicitly powers up the internal PHY when the GENET driver
> is probed to correct this behavior.
>
> Fixes: 1c1008c793fa ("net: bcmgenet: add main driver file")
> Signed-off-by: Doug Berger <opendmb@xxxxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian