linux/drivers/net/dsa
Florian Fainelli ac7a04c33d net: dsa: change tag_protocol to an enum
Now that we introduced an additional multiplexing/demultiplexing layer
with commit 3e8a72d1da ("net: dsa: reduce number of protocol hooks")
that lives within the DSA code, we no longer need to have a given switch
driver tag_protocol be an actual ethertype value, instead, we can
replace it with an enum: dsa_tag_protocol.

Do this replacement in the drivers, which allows us to get rid of the
cpu_to_be16()/htons() dance, and remove ETH_P_BRCMTAG since we do not
need it anymore.

Suggested-by: Alexander Duyck <alexander.duyck@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-09-13 17:04:35 -04:00
..
Kconfig net: dsa: add Broadcom SF2 switch driver 2014-08-27 22:59:40 -07:00
Makefile net: dsa: add Broadcom SF2 switch driver 2014-08-27 22:59:40 -07:00
bcm_sf2.c net: dsa: change tag_protocol to an enum 2014-09-13 17:04:35 -04:00
bcm_sf2.h net: dsa: add Broadcom SF2 switch driver 2014-08-27 22:59:40 -07:00
bcm_sf2_regs.h net: dsa: add Broadcom SF2 switch driver 2014-08-27 22:59:40 -07:00
mv88e6xxx.c
mv88e6xxx.h
mv88e6060.c net: dsa: change tag_protocol to an enum 2014-09-13 17:04:35 -04:00
mv88e6123_61_65.c net: dsa: change tag_protocol to an enum 2014-09-13 17:04:35 -04:00
mv88e6131.c net: dsa: change tag_protocol to an enum 2014-09-13 17:04:35 -04:00