diff options
Diffstat (limited to 'sys/mips/rmi/pic.h')
-rw-r--r-- | sys/mips/rmi/pic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/rmi/pic.h b/sys/mips/rmi/pic.h index 7b90eb9..d7e3add 100644 --- a/sys/mips/rmi/pic.h +++ b/sys/mips/rmi/pic.h @@ -214,7 +214,7 @@ void pic_setup_intr(int picintr, int irq, uint32_t cpumask, int level) mtx_lock_spin(&xlr_pic_lock); xlr_write_reg(mmio, PIC_IRT_0(picintr), cpumask); - xlr_write_reg(mmio, PIC_IRT_1(picintr), ((1 << 31) | (level << 30) | + xlr_write_reg(mmio, PIC_IRT_1(picintr), ((1U << 31) | (level << 30) | (1 << 6) | irq)); mtx_unlock_spin(&xlr_pic_lock); } |