Skip to content

Commit 4ae01ec

Browse files
elkablokuba-moo
authored andcommitted
net: dsa: mv88e6xxx: fix atu_move_port_mask for 6341 family
The atu_move_port_mask for 6341 family (Topaz) is 0xf, not 0x1f. The PortVec field is 8 bits wide, not 11 as in 6390 family. Fix this. Fixes: e606ca3 ("net: dsa: mv88e6xxx: rework ATU Remove") Signed-off-by: Marek Behún <kabel@kernel.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20250317173250.28780-3-kabel@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent f9a4577 commit 4ae01ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • drivers/net/dsa/mv88e6xxx

drivers/net/dsa/mv88e6xxx/chip.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5818,7 +5818,7 @@ static const struct mv88e6xxx_info mv88e6xxx_table[] = {
58185818
.global1_addr = 0x1b,
58195819
.global2_addr = 0x1c,
58205820
.age_time_coeff = 3750,
5821-
.atu_move_port_mask = 0x1f,
5821+
.atu_move_port_mask = 0xf,
58225822
.g1_irqs = 9,
58235823
.g2_irqs = 10,
58245824
.stats_type = STATS_TYPE_BANK0 | STATS_TYPE_BANK1,
@@ -6296,7 +6296,7 @@ static const struct mv88e6xxx_info mv88e6xxx_table[] = {
62966296
.global1_addr = 0x1b,
62976297
.global2_addr = 0x1c,
62986298
.age_time_coeff = 3750,
6299-
.atu_move_port_mask = 0x1f,
6299+
.atu_move_port_mask = 0xf,
63006300
.g1_irqs = 9,
63016301
.g2_irqs = 10,
63026302
.stats_type = STATS_TYPE_BANK0 | STATS_TYPE_BANK1,

0 commit comments

Comments
 (0)