]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: PCI: implement support for more than 1 MSI vector
authorBjoern A. Zeeb <bz@FreeBSD.org>
Fri, 27 Jan 2023 15:34:42 +0000 (15:34 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 23 Feb 2023 19:33:16 +0000 (19:33 +0000)
commit0de7dba20435c0361067b451886b8185d53b0951
treed0fd2e84da0df881e48eeaf6b0f6d3cca5dc00c1
parent4876c939ce63c86fe918e469881cc92ec40cfbee
LinuxKPI: PCI: implement support for more than 1 MSI vector

Following e9715b1c4474333ff119aba3a9a74bff91f72372 and
4b56afaf7bf4fa37bae5b26fd93ee1ff5969c1bb, implement support
for up-to 32 MSI vectors.  This is used by wireless drivers.
This also switches msi_desc to an array in order to store
per-vector information.

Sponsored by: The FreeBSD Foundation
Discussed with: grehan (in Dec)
Reviewed by: jhb
Approved by: re (cperciva)
Differential Revision: https://reviews.freebsd.org/D38222

(cherry picked from commit b15491b4773af99ce2470144ef6bcd9146cc9a98)
(cherry picked from commit 03a85378b81fcaffae5f8efdd75e2b8e10094e6a)
sys/compat/linuxkpi/common/include/linux/pci.h
sys/compat/linuxkpi/common/src/linux_pci.c