Re: [PATCH] staging: octeon-ethernet: fix incorrect PHY mode

From: Aaro Koskinen
Date: Tue Mar 26 2019 - 05:36:59 EST


Hi,

On Tue, Mar 26, 2019 at 10:01:50AM +0100, Andrew Lunn wrote:
> Humm, that is unique, as far as i know. Every other MAC driver uses
> of_get_phy_mode() to get the value out of device tree. The proprietary
> delay values can then be used to fine tune the basic delay setting
> read from DT.

Problem is that OCTEON DTBs do not have phy-mode at the moment.
With the patch, I got the mode right also for board with SGMII
and non-upgradable firmware passed DTB.

A.