]> 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>
Fri, 17 Feb 2023 23:42:16 +0000 (23:42 +0000)
commit03a85378b81fcaffae5f8efdd75e2b8e10094e6a
treeb36f8afa7f1fe1989a50492f272e8bb93e099b0a
parent7d23664b35a2611dc4fea56f7cfd2b99f91626a0
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)
MFC after: 3 days
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D38222

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