freebsd-dev/sys/compat
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
..
freebsd32 fd: rename fget*_locked to fget*_noref 2022-02-22 18:53:43 +00:00
ia32 Add PT_GETREGSET 2022-01-27 11:40:34 +00:00
lindebugfs lindebugfs: Fix write 2022-02-04 14:31:08 +01:00
linprocfs linux: add sysctl to pass untranslated interface names 2022-01-17 09:35:15 +00:00
linsysfs linsysfs: create /sys/bus/ and /sys/subsystem/ 2021-03-11 15:50:51 +00:00
linux Use vmspace->vm_stacktop in place of sv_usrstack in more places. 2022-02-14 10:57:30 -08:00
linuxkpi/common LinuxKPI: pci.h MODULE_DEVICE_TABLE to MODULE_PNP_INFO 2022-03-04 00:12:45 +00:00
x86bios Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00