]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: bcm_sf2: Move code enabling Broadcom tags
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 20 Jan 2017 20:36:31 +0000 (12:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jan 2017 21:58:31 +0000 (16:58 -0500)
commitb690e55f0ce8e23d7af0a3841310d964ae52f24b
treeb7293d1b72e4485a927b4c2fce58411c919bac5a
parent4e3e60154f0c6b605c9bec6f6592b692b663511c
net: dsa: bcm_sf2: Move code enabling Broadcom tags

In preparation for enabling Broadcom tags on different ports based on
configuration information, dedicate a function that is responsible for
enabling Broadcom tags for a given port and update the IMP port setup to
call it.

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