Only check whether we have an MSI interrupt controller when we try to
authorkettenis <kettenis@openbsd.org>
Sun, 10 Oct 2021 16:23:17 +0000 (16:23 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 10 Oct 2021 16:23:17 +0000 (16:23 +0000)
commitf2ee0c128242a14ebbf6adcd7db68a433518b610
tree6c66189a5647b843259df64c46a3c6d0b513db42
parentfb4391c8ece2accc11e179de77e8e0da1546035d
Only check whether we have an MSI interrupt controller when we try to
establish an MSI or MSI-X interrupt.  Fixes establishing legacy INTx
interrupts on machines without a (usable) MSI interrupt controller.

ok patrick@
sys/arch/arm64/dev/acpipci.c