Map MSI-X in addition to MSI and INTx on rge(4).
authorkevlo <kevlo@openbsd.org>
Mon, 20 May 2024 01:51:32 +0000 (01:51 +0000)
committerkevlo <kevlo@openbsd.org>
Mon, 20 May 2024 01:51:32 +0000 (01:51 +0000)
commitd67d920d1bc53c58ec413051dbac20c6029d273e
tree8d4b858b57dd879f44a56aeb2b3f14cd0d67b8e7
parent172cfcf8acc102f111b733c8ff486e23d04d5dd0
Map MSI-X in addition to MSI and INTx on rge(4).

Brad noticed on Orange Pi 5 Plus apparently the RTL8125 Ethernet controller
doesn't support MSIs, but does support MSI-X.  With this diff running on
Orange Pi 5+ we switch over from shared INTx to device-specific MSI-X
interrupts.

Tested by Brad.
ok kettenis@
sys/dev/pci/if_rge.c