commit | b0e1a692ff17a37031af03599fbb3666e82c777b | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Thu Oct 22 09:34:40 2015 -0400 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 22 07:38:38 2015 -0700 |
tree | bdeedab4db00737d5b670877c67d5c3a43e12155 | |
parent | 36d04ba127eeed94b003155129c7509a2139b474 [diff] |
net: dsa: mv88e6xxx: write MAC outside of ATU Get Next code There is no need to write the MAC address before every Get Next operation, since ATU MAC registers are not cleared between calls. Move the _mv88e6xxx_atu_mac_write call outside of _mv88e6xxx_atu_getnext so future code could call ATU Get Next multiple times and save a few register access. Signed-off-by: David S. Miller <davem@davemloft.net>