]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pcib: Allocate the memory BAR with the MSI-X table.
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 19 Jun 2023 16:15:48 +0000 (09:15 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 28 Jun 2023 01:32:47 +0000 (18:32 -0700)
commit12ce57e6d3e770db9ca83a8cbaa8f332515ce3d7
tree6dc553bd4086c01f1588048ac2165825fcf1e8bc
parent7148e1593b6866bfaf5d640d099af1931d053459
pcib: Allocate the memory BAR with the MSI-X table.

This is required for pci_alloc_msix() to work and to thus use
MSI-X interrupts for PCI-e hotplug.

Reported by: cperciva
Reviewed by: cperciva
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D40581

(cherry picked from commit e6b838363fb473b5e35a8ae6a1da5e15f5b52960)
sys/dev/pci/pci_pci.c
sys/dev/pci/pcib_private.h