net: dsa: bcm_sf2: Utilize b53_get_tag_protocol()
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 30 Nov 2017 17:55:35 +0000 (09:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Nov 2017 18:00:04 +0000 (13:00 -0500)
commit9f66816a6a4dd740bfa29cc8a8e19b90fd7df4e7
tree94799b910f8d099a4b8bae77120a4a8f3221897d
parente94a62f507f9498e5f4b2c69ef181b3402934c2a
net: dsa: bcm_sf2: Utilize b53_get_tag_protocol()

Utilize the much more capable b53_get_tag_protocol() which takes care of
all Broadcom switches specifics to resolve which port can have Broadcom
tags enabled or not.

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
drivers/net/dsa/b53/b53_priv.h
drivers/net/dsa/bcm_sf2.c