o substitute INTR_FAST with FILTER in a panic message.
o wrap a BUS_SETUP_INTR() line at 80.
This commit is contained in:
parent
d069140339
commit
856e1ae84c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167261
@ -549,9 +549,9 @@ 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 && 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);
|
||||
panic("All system interrupt ISRs must be FILTER");
|
||||
BUS_SETUP_INTR(device_get_parent(dev), child, ires, flags, filt,
|
||||
intr, arg, cookiep);
|
||||
bus_space_write_4(sc->sc_st, sc->sc_sys_sh, IC_IECR,
|
||||
1 << rman_get_start(ires));
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user