diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2019-06-04 07:34:25 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-04 20:07:57 -0700 |
commit | 7b83df0dcf8477433dec3df308f101d9910d80c7 (patch) | |
tree | 575818c3e734e690cc53e416066f00a7d586b905 /lib/test_strscpy.c | |
parent | f30a19b828c645cdde1e7a7733dce1cab8bcb25a (diff) |
net: dsa: mv88e6xxx: prepare mv88e6xxx_g1_atu_op() for the mv88e6250
All the currently supported chips have .num_databases either 256 or
4096, so this patch does not change behaviour for any of those. The
mv88e6250, however, has .num_databases == 64, and it does not put the
upper two bits in ATU control 13:12, but rather in ATU Operation
9:8. So change the logic to prepare for supporting mv88e6250.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_strscpy.c')
0 files changed, 0 insertions, 0 deletions