opnsense-src/sys/compat/linuxkpi/common/include
Bjoern A. Zeeb 5493c6277a LinuxKPI: pci.h MODULE_DEVICE_TABLE to MODULE_PNP_INFO
Implement MODULE_PNP_INFO() support in LinuxKPI for the Linux
MODULE_DEVICE_TABLE.

This will allow us to auto-load LinuxKPI PCI drivers (drm-kmod do
not currently as they attach to vgapci0 which in turn grabs the PCI
to my understanding) and make any loading from loader or kld_list in
rc.conf unnecessary; see devmatch(8) for more information.

We need to ensure there is a DRIVER_MODULE() (or probably just
a DECLARE_MODULE but that makes not much difference) before the
MODULE_PNP_INFO (which we otherwise would not need).

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Reviewed by:	imp, hselasky, manu
Differential Revision:	https://reviews.freebsd.org/D26651
2022-03-04 00:12:45 +00:00
..
acpi LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
asm linuxkpi: Add atomic64_fetch_add 2022-02-17 09:31:39 +01:00
linux LinuxKPI: pci.h MODULE_DEVICE_TABLE to MODULE_PNP_INFO 2022-03-04 00:12:45 +00:00
net LinuxKPI: update 802.11 headers 2022-02-22 22:57:31 +00:00
stdarg.h LinuxKPI: Add stdarg.h proxy header 2022-01-10 22:49:37 +03:00