diff options
author | Vivien Didelot <[email protected]> | 2016-07-18 20:45:34 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-07-19 19:42:01 -0700 |
commit | 3b4caa1b1ce95eaa405c8a27443fe7ddafb563a0 (patch) | |
tree | ffce44956ea29eba239b488a4c6822fdc37a0af2 /lib/mpi/mpi-bit.c | |
parent | 47395ed28056a7ac7fbd9e7ff06bbbd66d01e256 (diff) |
net: dsa: mv88e6xxx: rework Switch MAC setter
Switches such as 88E6185 as 3 Switch MAC registers in Global 1. Newer
chips such as 88E6352 have freed these registers in favor of an indirect
access in a Switch MAC/WoL/WoF register in Global 2.
Explicit this difference with G1 and G2 helpers and flags.
Also, note that this indirect access is a single-register which doesn't
require to wait for the operation to complete (like Switch MAC, Trunk
Mapping, etc.), in contrary to multi-registers indirect accesses with
several operations and a busy bit.
Signed-off-by: Vivien Didelot <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions