opnsense-src/sys/compat/linuxkpi/common/include
Bjoern A. Zeeb 4b56afaf7b LinuxKPI: implement irq_get_msi_desc()
Add irq_get_msi_desc() as a wrapper around a PCI function which will
allocate a single cached value (see comment on struct) for the
msi_desc requested if it doesn't exist yet and handle freeing it
when the PCI device goes away.  We take the values from the ivars of
the native (FreeBSD) device.

While changing struct pci_dev also add the msi_cap field requested by
a wireless driver.

Bump __FreeBSD_version so these changes can be detected.

MFC after:	3 days
X-MFC: move fields to end of struct (alloc happens in linux_pci.c)
Reviewed by:	hselasky (earlier version)
Differential Revision: https://reviews.freebsd.org/D37523
2023-01-13 00:43:23 +00:00
..
acpi linuxkpi: Include errno.h from acpi/video.h 2023-01-02 22:05:27 +01:00
asm copyright: chase my name and email change 2023-01-06 15:28:42 -05:00
asm-generic linuxkpi: Add io.h 2022-08-08 15:22:35 +02:00
linux LinuxKPI: implement irq_get_msi_desc() 2023-01-13 00:43:23 +00:00
net LinuxKPI: add (skeleton) functions to make drivers compile 2023-01-13 00:38:11 +00:00
video linuxkpi: Add video/mipi_display.h 2022-08-18 09:47:12 +02:00
stdarg.h LinuxKPI: Add stdarg.h proxy header 2022-01-10 22:49:37 +03:00