]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: move VTU flush
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 1 May 2017 18:05:13 +0000 (14:05 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2017 19:03:09 +0000 (15:03 -0400)
commita8e7df535e21e9d96437d948358772b7a8da4037
tree92a1d3a7a915d9f7b94a1290564cd6c56d7afd6e
parentdae4960b2ac806d1959b9c6d67a86a14e0d72333
net: dsa: mv88e6xxx: move VTU flush

Move the VTU flush operation to global1_vtu.c and call it from a
mv88e6xxx_vtu_setup helper, similarly to the ATU and PVT setup.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/global1.h
drivers/net/dsa/mv88e6xxx/global1_vtu.c