opnsense-src/sys/compat/linuxkpi/common/include
Corvin Köhne 99902b1c52 linuxkpi/dmi: don't match exactly on DMI_MATCH
Linux has two defines to check dmi data. DMI_MATCH checks if the dmi
string includes substr. DMI_EXACT_MATCH checks if the dmi string exactly
matches substr. Compat layer should have the same behaviour.

The new definition of dmi_strmatch shouldn't break any driver. A driver
would break if it uses the highest bit of the slot field. Nevertheless,
linux uses the same definition and FreeBSD uses dmi_field values as slot
which are lower than 128.

Sponsored by:		Beckhoff Automation GmbH & Co. KG
MFC after:		1 week
Differential Revision:	https://reviews.freebsd.org/D35395
2022-06-03 16:20:45 +02: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/dmi: don't match exactly on DMI_MATCH 2022-06-03 16:20:45 +02:00
net LinuxKPI 802.11 / iwlwifi / rtw88 : re-factor ieee802211_sta for MLO 2022-05-20 18:45:18 +00:00
stdarg.h LinuxKPI: Add stdarg.h proxy header 2022-01-10 22:49:37 +03:00