When trying to enable multiple MSI vectors, check the flag first whether
authorpatrick <patrick@openbsd.org>
Fri, 5 Jul 2024 22:53:57 +0000 (22:53 +0000)
committerpatrick <patrick@openbsd.org>
Fri, 5 Jul 2024 22:53:57 +0000 (22:53 +0000)
commit35ee0dc20abac1f6f4050bebf66979f24e1ce316
treeed7163e10b90cd7655c52e1f6d64b185f0a78d9c
parent351aecf31a5c1a816272ac3fb245c248aa60829e
When trying to enable multiple MSI vectors, check the flag first whether
or not it's supported.  This allows qwx(4) to properly handle missing
support for that and switch back to a single MSI vector.

ok kettenis@
sys/arch/arm64/dev/pci_machdep.c