]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: extract ATU data write access
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 4 Sep 2015 18:34:11 +0000 (14:34 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Sep 2015 19:04:21 +0000 (12:04 -0700)
commitac08c155dff6a2d2059ccf523804f75b5403be8e
tree9ccfe45fb8fa9349c6bdc774748d3154426cf024
parentd875d931263b09a82e571ebf7bb46dedc313e8b6
net: dsa: mv88e6xxx: extract ATU data write access

Other ATU commands need to write the ATU data register. To ease the
introduction of such commands, extract the ATU data write access from
_mv88e6xxx_atu_load to its own function.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c