summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/tools/array2bin.c
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2021-07-24 15:52:16 +0000
committerthorpej <thorpej@NetBSD.org>2021-07-24 15:52:16 +0000
commite7fc6d4d83944ff6298155ffff42506613048cd4 (patch)
treef922c4c790938e79ca98c21a3ad4b8816c1a4830 /sys/dev/microcode/tools/array2bin.c
parente6e1ba2f350ded834f6aa4c0bd5a7b75fb9ac967 (diff)
Don't blindly establish our interrupt handler as IST_LEVEL. If the INTDEF
register has the INTHIGH bit set, the controller is going to keep the line low when *not* asserting an interrupt, and since EISA level-tiggered interrupts are active-low, this would result in a forever-interrupt-storm. So, if INTHIGH is set in INTDEF, establish our interrupt handler as IST_EDGE, which will program the EISA PIC to detect the interrupt on the rising edge of the IRQ line.
Diffstat (limited to 'sys/dev/microcode/tools/array2bin.c')
0 files changed, 0 insertions, 0 deletions