Re: [PATCH 3/8] ARM: dts: armada-388-clearfog: Utilize new DSA binding
From: Vivien Didelot
Date: Wed Jan 04 2017 - 12:51:02 EST
Hi Andrew,
Andrew Lunn <andrew@xxxxxxx> writes:
>> 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.
>
> I think it has been useless for over 9 years.
Do we want to get rid of it, or do we want to have a string version per
DSA implementation? (old vs. new bindings).
I don't like the actual way to distinguish between the two (grep'ing
dmesg as Florian shown). Maybe a pr_info in dsa2.c would be enough to
inform about DSA "v2". What do you guys prefer?
Thanks,
Vivien