diff options
author | piso <piso@FreeBSD.org> | 2007-02-25 14:34:59 +0000 |
---|---|---|
committer | piso <piso@FreeBSD.org> | 2007-02-25 14:34:59 +0000 |
commit | 27f8ccc0d6f2a3b068434d5d62fa827c5884781e (patch) | |
tree | ad5297c3e03e615038a16fc7c0dcb70765527aac | |
parent | 865396057e0e5385b3ba38a45021395ba1b3d850 (diff) | |
download | FreeBSD-src-27f8ccc0d6f2a3b068434d5d62fa827c5884781e.zip FreeBSD-src-27f8ccc0d6f2a3b068434d5d62fa827c5884781e.tar.gz |
Fix attach of at91_pio() after bus_setup_intr() modification.
Reported and tested by: Krassimir Slavchev
-rw-r--r-- | sys/arm/at91/at91.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/at91/at91.c b/sys/arm/at91/at91.c index 59e5f08..bc0cd76 100644 --- a/sys/arm/at91/at91.c +++ b/sys/arm/at91/at91.c @@ -548,7 +548,7 @@ at91_setup_intr(device_t dev, device_t child, { struct at91_softc *sc = device_get_softc(dev); - if (rman_get_start(ires) == AT91RM92_IRQ_SYSTEM && !(flags & INTR_FAST)) + if (rman_get_start(ires) == AT91RM92_IRQ_SYSTEM && filt == NULL) panic("All system interrupt ISRs must be type INTR_FAST"); BUS_SETUP_INTR(device_get_parent(dev), child, ires, flags, filt, intr, arg, cookiep); |