Skip to content

Commit adfccf1

Browse files
lunndavem330
authored andcommitted
net: dsa: mv88e6xxx: Add missing g1 IRQ numbers
With the recent change to polling for interrupts, it is important that the number of global 1 interrupts is listed. Without it, the driver requests an interrupt domain for zero interrupts, which returns EINVAL, and the probe fails. Add two missing entries. Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ef44d78 commit adfccf1

File tree

1 file changed

+2
-0
lines changed
  • drivers/net/dsa/mv88e6xxx

1 file changed

+2
-0
lines changed

drivers/net/dsa/mv88e6xxx/chip.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3422,6 +3422,7 @@ static const struct mv88e6xxx_info mv88e6xxx_table[] = {
34223422
.global2_addr = 0x1c,
34233423
.age_time_coeff = 3750,
34243424
.atu_move_port_mask = 0x1f,
3425+
.g1_irqs = 9,
34253426
.g2_irqs = 10,
34263427
.pvt = true,
34273428
.multi_chip = true,
@@ -3730,6 +3731,7 @@ static const struct mv88e6xxx_info mv88e6xxx_table[] = {
37303731
.global2_addr = 0x1c,
37313732
.age_time_coeff = 3750,
37323733
.atu_move_port_mask = 0x1f,
3734+
.g1_irqs = 9,
37333735
.g2_irqs = 10,
37343736
.pvt = true,
37353737
.multi_chip = true,

0 commit comments

Comments
 (0)