Re: [PATCH 1/4] net: dsa: Allow the DSA driver to indicate the tag protocol

2016-08-22 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: > 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 Great, this DSA structure finall

[PATCH 1/4] net: dsa: Allow the DSA driver to indicate the tag protocol

2016-08-22 Thread Andrew Lunn
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 --- drivers/net/dsa/b53/b53_common.c | 7 ++- drivers/net/dsa/bcm_sf2.c