net: dsa: Allow the DSA driver to indicate the tag protocol
authorAndrew Lunn <andrew@lunn.ch>
Mon, 22 Aug 2016 14:01:01 +0000 (16:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Aug 2016 04:08:08 +0000 (21:08 -0700)
commit7b314362a2344feaafbdf6aa8f3d57077728e37a
tree348a762b9bcfb4bb4adc2d0648dcd44e3d04865c
parent1ae292a2457cd692828da2be87cb967260993ad0
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>
drivers/net/dsa/b53/b53_common.c
drivers/net/dsa/bcm_sf2.c
drivers/net/dsa/mv88e6060.c
drivers/net/dsa/mv88e6xxx/chip.c
include/net/dsa.h
net/dsa/dsa.c
net/dsa/dsa2.c