diff options
author | 2007-04-24 16:02:40 +0000 | |
---|---|---|
committer | 2007-04-24 16:02:40 +0000 | |
commit | a7f03ebc75b87c139890f77e44336f95e2e6e517 (patch) | |
tree | cb418f2a92c18b781fafe4a5e4ed9ad8dd0c1269 | |
parent | replace D, D1 and D2 by date, date1 and date2 respectively; (diff) | |
download | wireguard-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.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); } |