diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2018-08-30 03:13:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-01 09:05:41 +0300 |
commit | 0340376ecc89568825f6c5628c0c23f8daadbc61 (patch) | |
tree | 1d53ed9a60fc22b4795bbe7b2347b7092721d454 /drivers/net/dsa | |
parent | 1367bbf52a4355990f14e7e97cad708b2e266e65 (diff) | |
download | linux-0340376ecc89568825f6c5628c0c23f8daadbc61.tar.xz |
net: dsa: mv88e6xxx: Share main switch IRQ
On some boards the interrupt can be shared between multiple devices.
For example on Turris Mox the interrupt is shared between all switches.
Signed-off-by: Marek Behun <marek.behun@nic.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/chip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c index 8da3d39e3218..b57f5403982a 100644 --- a/drivers/net/dsa/mv88e6xxx/chip.c +++ b/drivers/net/dsa/mv88e6xxx/chip.c @@ -434,7 +434,7 @@ static int mv88e6xxx_g1_irq_setup(struct mv88e6xxx_chip *chip) err = request_threaded_irq(chip->irq, NULL, mv88e6xxx_g1_irq_thread_fn, - IRQF_ONESHOT, + IRQF_ONESHOT | IRQF_SHARED, dev_name(chip->dev), chip); if (err) mv88e6xxx_g1_irq_free_common(chip); |