Only call qwx_dp_service_srng() if ext irq is enabled. It would be nicer
authorpatrick <patrick@openbsd.org>
Fri, 5 Jul 2024 21:24:13 +0000 (21:24 +0000)
committerpatrick <patrick@openbsd.org>
Fri, 5 Jul 2024 21:24:13 +0000 (21:24 +0000)
commit55f136012712fa857c5663d29c9e62259459afdc
tree4fd6c2b204074e3f19ef7ff65c7d842b7f959ea5
parentcb199c1bdd827d8e3147953281eebb8eea36d259
Only call qwx_dp_service_srng() if ext irq is enabled.  It would be nicer
if we could simply call the ext irq handler which already does that, but
that is requiring the irq groups to be set up to point to our softc, so
let's just check it again.  This allows single-msi vectors to behave.

ok stsp@
sys/dev/pci/if_qwx_pci.c