projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1367bbf
)
net: dsa: mv88e6xxx: Share main switch IRQ
author
Marek BehĂșn
<marek.behun@nic.cz>
Thu, 30 Aug 2018 00:13:50 +0000
(
02:13
+0200)
committer
David S. Miller
<davem@davemloft.net>
Sat, 1 Sep 2018 06:05:41 +0000
(23:05 -0700)
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>
drivers/net/dsa/mv88e6xxx/chip.c
patch
|
blob
|
history
diff --git
a/drivers/net/dsa/mv88e6xxx/chip.c
b/drivers/net/dsa/mv88e6xxx/chip.c
index 8da3d39e321890726bd3c0270153bde685842942..b57f5403982a3daab802146c7408a9ec2c304f54 100644
(file)
--- 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);