If device is down, don't handle any interrupts.  Even don't read the interrupt status register instead return directly.  This fixes the machine freeze on amd64 and let me receive proper interrupts if device is up. This bit was originaly in the DragonFly code, and must have sneaked out while porting ...
If device is down, don't handle any interrupts.  Even don't read the
interrupt status register instead return directly.  This fixes the machine
freeze on amd64 and let me receive proper interrupts if device is up.
This bit was originaly in the DragonFly code, and must have sneaked out
while porting ...

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars