]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: add port parse functions
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 27 Oct 2017 19:55:14 +0000 (15:55 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 02:47:03 +0000 (11:47 +0900)
commit3e37610a4a1d013fcaf4057c890c0201f7d5a441
tree4b7e73df61eb1f13c3ba39a01781a28c01e017e9
parent4facd92b8ce6795b738249ea7099bb01f21684d3
net: dsa: add port parse functions

Add symmetrical DSA port parsing functions for pdata and device tree,
used to parse and validate a given port node or platform data.

They don't do much for the moment but will be extended later on to
assign a port type and get device references.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa2.c