commit | 6d4e5c570c2d66c806ecc6bd851fcf881fe8a38e | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Fri Oct 27 15:55:15 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 01 11:47:03 2017 +0900 |
tree | 707af0bea1b4f2e500650db1dc2f0179bada58db | |
parent | fd223e2e66eb076b5dda586db9a5a3c99f76f99a [diff] |
net: dsa: get port type at parse time Assign a port's type at parsed time instead of waiting for the tree to be completed. Because this is now done earlier, we can use the port's type in dsa_port_is_* helpers instead of digging again in topology description. 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>