diff options
author | Andrew Lunn <andrew@lunn.ch> | 2018-03-17 22:32:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-18 23:52:58 +0300 |
commit | adfccf118211520ebe22f9f46e73834211ea492d (patch) | |
tree | ce0ab2b5db63d6383db90352ebf62950e6fb056e /drivers/net | |
parent | ef44d78d8937146269ec3f0de966817a6d630d5e (diff) | |
download | linux-adfccf118211520ebe22f9f46e73834211ea492d.tar.xz |
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 <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/chip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c index d21f6c93c0c2..077e24fcf849 100644 --- a/drivers/net/dsa/mv88e6xxx/chip.c +++ b/drivers/net/dsa/mv88e6xxx/chip.c @@ -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, |