From: Florian Fainelli Date: Fri, 12 Sep 2014 04:18:09 +0000 (-0700) Subject: net: dsa: change tag_protocol to an enum X-Git-Tag: fixes-against-v3.18-rc2~81^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac7a04c33dd7f8e429df4b929ba3a3e8e729cc89;p=pandora-kernel.git net: dsa: change tag_protocol to an enum Now that we introduced an additional multiplexing/demultiplexing layer with commit 3e8a72d1dae37 ("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 Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed