OSDN Git Service

net: dsa: b53: Have b53_hdr_setup() enable/disable tagging
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 30 Oct 2017 22:17:20 +0000 (15:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 11:51:24 +0000 (20:51 +0900)
commitcdb583cfe7d79b784a74b97deb2997fccb5dcf9b
tree3d03f8a440be1e28344afec749b66faebf0362cb
parent6683ed96b5d788a5876f1c6f84bed2b93b002a07
net: dsa: b53: Have b53_hdr_setup() enable/disable tagging

Have b53_hdr_setup() check what kind of tagging protocol is configured
(Broadcom or none) and apply the correct settings in both cases.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_common.c