Re: [PATCH net-next 0/6] net: dsa: abstract PHY accesses

From: David Miller
Date: Mon Aug 15 2016 - 19:44:22 EST


From: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Aug 2016 17:18:56 -0400

> The Marvell 88E6xxx switch chips have different way to access the PHY
> devices registers.
>
> Old chips use a direct access to the PHY registers. Next chips have a
> PHY Polling Unit (PPU) which needs to be disabled before accessing PHY
> registers. Newer chips have an indirect access to the PHY devices so
> that disabling the PPU is not necessary.
>
> This patchset abstracts these accesses behind a new mv88e6xxx_phy_* API.
>
> It also has the side effect to fix the temperature access code for
> 88E61xx chips which were using the wrong PHY access functions.

Looks good, series applied, thanks.