Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102725253
D46863.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
408 B
Referenced Files
None
Subscribers
None
D46863.diff
View Options
diff --git a/sys/dev/gpio/pl061.c b/sys/dev/gpio/pl061.c
--- a/sys/dev/gpio/pl061.c
+++ b/sys/dev/gpio/pl061.c
@@ -460,6 +460,9 @@
goto free_mem;
}
+ /* Mask all interrupts. They will be unmasked as needed later */
+ bus_write_1(sc->sc_mem_res, PL061_INTMASK, 0);
+
ret = bus_setup_intr(dev, sc->sc_irq_res, INTR_TYPE_MISC | INTR_MPSAFE,
pl061_intr, NULL, sc, &sc->sc_irq_hdlr);
if (ret) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 9:55 AM (20 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13357589
Default Alt Text
D46863.diff (408 B)
Attached To
Mode
D46863: dev/gpio: Mask all pl011 interrupts
Attached
Detach File
Event Timeline
Log In to Comment