Re: [PATCH 3/8] ARM: dts: armada-388-clearfog: Utilize new DSA binding

From: Vivien Didelot
Date: Wed Jan 04 2017 - 12:38:59 EST


Hi Florian, All,

Florian Fainelli <f.fainelli@xxxxxxxxx> writes:

>> However is there a way to be sure that the new binding is used?
>
> The best way is probably to make sure that your switch device appears
> parented to the MDIO bus driver under /sys/class/mdio_bus/*mvmdio*.
> Alternatively, if you see a message like:
>
> DSA: switch 0 0 parsed
>
> in your dmesg, that would also be indicative of using the new binding
> and corresponding code.

That makes me think that we should either remove, or use different
values for the version described in net/dsa/dsa.c:

char dsa_driver_version[] = "0.1";

Today this is absolutely useless and erroneous.

Thanks,

Vivien