commit | 7b314362a2344feaafbdf6aa8f3d57077728e37a | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Mon Aug 22 16:01:01 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 22 21:08:08 2016 -0700 |
tree | 348a762b9bcfb4bb4adc2d0648dcd44e3d04865c | |
parent | 1ae292a2457cd692828da2be87cb967260993ad0 [diff] |
net: dsa: Allow the DSA driver to indicate the tag protocol DSA drivers may drive different families of switches which need different tag protocol. Rather than hard code the tag protocol in the driver structure, have a callback for the DSA core to call. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>