]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: pci: add more functions
authorBjoern A. Zeeb <bz@FreeBSD.org>
Sat, 28 Jan 2023 15:02:51 +0000 (15:02 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Sun, 5 Feb 2023 20:31:40 +0000 (20:31 +0000)
commitfd1a2f3dfc0e8fb20d0d397d586000bb918aab47
treece0f0976f0e5258beb970861333981fe279cef9c
parent70b97048a051958be37b650b8a67c89203fd6b70
LinuxKPI: pci: add more functions

Add a dummy pci_assign_resource() and an implementation of
pci_irq_vector() returning the irq for MSI-X, MSI, and legacy interrupt.
Both are needed by wirless drivers.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D38237
sys/compat/linuxkpi/common/include/linux/pci.h