Re: [PATCH] net: dsa: set slave MII bus PHY mask

2015-01-25 Thread David Miller
From: Vivien Didelot Date: Tue, 20 Jan 2015 19:13:32 -0500 > When registering a mdio bus, Linux assumes than every port has a PHY and tries > to scan it. If a switch port has no PHY registered, DSA will fail to register > the slave MII bus. To fix this, set the slave MII bus PHY mask to the switc

Re: [PATCH] net: dsa: set slave MII bus PHY mask

2015-01-20 Thread Florian Fainelli
On 20/01/15 16:13, Vivien Didelot wrote: > When registering a mdio bus, Linux assumes than every port has a PHY and tries > to scan it. If a switch port has no PHY registered, DSA will fail to register > the slave MII bus. To fix this, set the slave MII bus PHY mask to the switch > PHYs mask. > >

[PATCH] net: dsa: set slave MII bus PHY mask

2015-01-20 Thread Vivien Didelot
When registering a mdio bus, Linux assumes than every port has a PHY and tries to scan it. If a switch port has no PHY registered, DSA will fail to register the slave MII bus. To fix this, set the slave MII bus PHY mask to the switch PHYs mask. As an example, if we use a Marvell MV88E6352 (which i