[PATCH] ARM: ARMADA XP: WRT1900AC: Add support for the Ethernet switch

Gregory CLEMENT gregory.clement at free-electrons.com
Tue Mar 3 04:52:53 PST 2015


On 03/03/2015 11:44, Andrew Lunn wrote:
> On Tue, Mar 03, 2015 at 10:09:21AM +0100, Gregory CLEMENT wrote:
>> Hi Andrew,
>>
>> On 28/02/2015 21:20, Andrew Lunn wrote:
>>> Add a DSA section to the DT blob representing the Ethernet switch.
>>>
>>> Signed-off-by: Andrew Lunn <andrew at lunn.ch>
>>> ---
>>> This patch requires at runtime patches in net-next,
>>> 4c732668f98b96a0fa2645ac220fd9bbc17838c4
>>
>> This dts fragment looks sane. The dependencies is only at runtime so
>> it is less annoying for bissectability. So I tend applying it, however
>> what happens if patch 4c732668f98b96a0fa2645ac220fd9bbc17838c4 is not
>> present. Does the kernel crash? Or does it only make the Ethernet
>> switch not available?
> 
> Hi Gregory
> 
> It does not crash. During probe of DSA, it fails to find the phy's
> attached to the switch ports. This causes the probe to fail and the
> switch drive gets unloaded.

Good. So it is safe to apply this patch to mvebu/dt now.


Thanks,

Gregory


> 
>        Andrew
> 


-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the linux-arm-kernel mailing list