]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: extract FID write from ATU command
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 4 Sep 2015 18:34:10 +0000 (14:34 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Sep 2015 19:04:21 +0000 (12:04 -0700)
commitd875d931263b09a82e571ebf7bb46dedc313e8b6
treea81f22620c3c1d071cd90f5c059653a01c059f4a
parenta2e043bb5dedb22d92a81bac8d03da039b0e0f07
net: dsa: mv88e6xxx: extract FID write from ATU command

Not every ATU commands apply to an FID, thus remove the FID writing from
mv88e6xxx_atu_cmd and write it explicitly where needed, in order to ease
introduction of such commands.

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