diff options
author | Gordon Willem Klok <gwk@cvs.openbsd.org> | 2007-04-24 16:02:41 +0000 |
---|---|---|
committer | Gordon Willem Klok <gwk@cvs.openbsd.org> | 2007-04-24 16:02:41 +0000 |
commit | 05b439b5bc0dcff73c53434bda493c0662993ca8 (patch) | |
tree | ef0ba475d1ab32fd2eeac781ccc280a4b064bafb | |
parent | 46d741bee7c9fdd9923c3a10d8b314f9a14b0444 (diff) |
Firmware lies! Switching from LEVEL to EDGE triggered interrupt prevents
storms.
ok kettenis
-rw-r--r-- | sys/arch/macppc/dev/sysbutton.c | 2 |
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); } |