diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2015-10-22 09:34:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-22 07:38:38 -0700 |
commit | b0e1a692ff17a37031af03599fbb3666e82c777b (patch) | |
tree | bdeedab4db00737d5b670877c67d5c3a43e12155 /drivers/net/dsa/mv88e6xxx.h | |
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>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx.h')
0 files changed, 0 insertions, 0 deletions