Re: [PATCH net-next 2/2] net: phy: Marvell: Add mv88e6390 internal PHY

2017-01-26 Thread Andrew Lunn
On Thu, Jan 26, 2017 at 01:01:06PM +0100, Gregory CLEMENT wrote: > Hi Andrew, > > On mer., janv. 25 2017, Andrew Lunn wrote: > > > > diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c > > index b5b73ff4329a..9debe1a4a6f6 100644 > > --- a/drivers/net/phy/marvell.c > > +++ b/dri

Re: [PATCH net-next 2/2] net: phy: Marvell: Add mv88e6390 internal PHY

2017-01-26 Thread Gregory CLEMENT
Hi Andrew, On mer., janv. 25 2017, Andrew Lunn wrote: > diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c > index b5b73ff4329a..9debe1a4a6f6 100644 > --- a/drivers/net/phy/marvell.c > +++ b/drivers/net/phy/marvell.c > @@ -2140,6 +2140,25 @@ static struct phy_driver marvell_dr

[PATCH net-next 2/2] net: phy: Marvell: Add mv88e6390 internal PHY

2017-01-24 Thread Andrew Lunn
The mv88e6390 Ethernet switch has internal PHYs. These PHYs don't have an model ID in the ID2 register. So the MDIO driver in the switch intercepts reads to this register, and returns the switch family ID. Extend the Marvell PHY driver by including this ID, and tread the PHY as a 88E1540. Signed-o