net: dsa: mv88e6xxx: Add missing g1 IRQ numbers
authorAndrew Lunn <andrew@lunn.ch>
Sat, 17 Mar 2018 19:32:03 +0000 (20:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Mar 2018 20:52:58 +0000 (16:52 -0400)
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 <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c

index d21f6c93c0c2c6ec422fbc89cdee484bbcd60d6e..077e24fcf849376191c28587f0b40fcf9bf3c903 100644 (file)
@@ -3422,6 +3422,7 @@ static const struct mv88e6xxx_info mv88e6xxx_table[] = {
                .global2_addr = 0x1c,
                .age_time_coeff = 3750,
                .atu_move_port_mask = 0x1f,
+               .g1_irqs = 9,
                .g2_irqs = 10,
                .pvt = true,
                .multi_chip = true,
@@ -3730,6 +3731,7 @@ static const struct mv88e6xxx_info mv88e6xxx_table[] = {
                .global2_addr = 0x1c,
                .age_time_coeff = 3750,
                .atu_move_port_mask = 0x1f,
+               .g1_irqs = 9,
                .g2_irqs = 10,
                .pvt = true,
                .multi_chip = true,