[U-Boot] [PATCH 7/8] net/ethoc: don't advertise gigabit on the connected PHY

Max Filippov jcmvbkbc at gmail.com
Fri Jul 15 01:51:42 CEST 2016


Hi Michal,

On Wed, Jul 13, 2016 at 08:28:44AM +0200, Michal Simek wrote:
> On 8.7.2016 17:42, Max Filippov wrote:
> > Introduce MDIO communication routines. Scan MDIO bus at reset to find
> > attached PHYs and see if they support gigabit speeds. If they do check
> > their gigabit control register: if gigabit autonegotiation is enabled
> > clear it and reset the PHY.
> > 
> > This allows using OpenCores 10/100 MAC with gigabit PHY connected to
> > gigabit network.
> > 
> > Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>
> 
> This looks kind of weird. If you have standard phy and you do it
> properly in the driver you shouldn't do it in this way.
> We have the same stuff for emaclite where IP can work only at 10/100 and
> it can be used with 1G phy. Just look at setting there.

Ok, let me look at that.

-- 
Thanks.
-- Max


More information about the U-Boot mailing list