Messages in this thread | | | Date | Tue, 13 Oct 2015 14:48:43 -0400 | From | Vivien Didelot <> | Subject | Re: [PATCH net-next v2 3/6] net: dsa: mv88e6xxx: write MAC outside of ATU Get Next code |
| |
On Oct. Tuesday 13 (42) 12:46 PM, Vivien Didelot wrote: > 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: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
| |