summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgwk <gwk@openbsd.org>2007-04-24 16:02:40 +0000
committergwk <gwk@openbsd.org>2007-04-24 16:02:40 +0000
commita7f03ebc75b87c139890f77e44336f95e2e6e517 (patch)
treecb418f2a92c18b781fafe4a5e4ed9ad8dd0c1269
parentreplace D, D1 and D2 by date, date1 and date2 respectively; (diff)
downloadwireguard-openbsd-a7f03ebc75b87c139890f77e44336f95e2e6e517.tar.xz
wireguard-openbsd-a7f03ebc75b87c139890f77e44336f95e2e6e517.zip
Firmware lies! Switching from LEVEL to EDGE triggered interrupt prevents
storms. ok kettenis
-rw-r--r--sys/arch/macppc/dev/sysbutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/macppc/dev/sysbutton.c b/sys/arch/macppc/dev/sysbutton.c
index 81c74a525f7..2a2ad7ed640 100644
--- a/sys/arch/macppc/dev/sysbutton.c
+++ b/sys/arch/macppc/dev/sysbutton.c
@@ -70,7 +70,7 @@ sysbutton_attach(struct device *parent, struct device *self, void *aux)
printf(": irq %d\n", sc->sc_intr);
- mac_intr_establish(parent, sc->sc_intr, IST_LEVEL,
+ mac_intr_establish(parent, sc->sc_intr, IST_EDGE,
IPL_NONE, sysbutton_intr, sc, sc->sc_dev.dv_xname);
}