commit | 06e24d0868a361774fc46d0819450915e63a2815 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Fri Nov 03 19:05:29 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 05 22:31:39 2017 +0900 |
tree | 5899f5ebc8b0671a582c7b0b4f95d0e25a6fade6 | |
parent | 54df6fa9541752b3b28106eb1a9764dcda815fd2 [diff] |
net: dsa: add one port parsing function per type Add dsa_port_parse_user, dsa_port_parse_dsa and dsa_port_parse_cpu functions to factorize the code shared by both OF and pdata parsing. They don't do much for the moment but will be extended later to support tagging protocol resolution for example. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>