History log of /freebsd-current/sys/compat/linuxkpi/common/include/linux/mod_devicetable.h
Revision Date Author Comments
# f7ea333e 08-Apr-2024 Vladimir Kondratyev <wulf@FreeBSD.org>

LinuxKPI: Add ACPI_ID_LEN const to linux/mod_devicetable.h

Sponsored by: Serenity Cyber Security, LLC
Reviewed by: emaste
MFC after: 1 week


# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 0bf56135 04-Apr-2023 Emmanuel Vadot <manu@FreeBSD.org>

linuxkpi: Include linux/types.h in linux/mod_devicetable.h

It's done like this in linux too.

Sponsored by: Beckhoff Automation GmbH & Co. KG


# cf541690 08-Feb-2023 Jean-Sébastien Pédron <dumbbell@FreeBSD.org>

linuxkpi: Declare missing `DMI_*` enum entries

Reviewed by: manu
Approved by: manu
Differential Revision: https://reviews.freebsd.org/D38532


# 7bf65b00 16-Aug-2022 Emmanuel Vadot <manu@FreeBSD.org>

linuxkpi: Add I2C_NAME_SIZE and I2C_MODULE_PREFIX defines

Both are needed by drm-kmod

Obtained from: drm-kmod
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: //reviews.freebsd.org/D36212


# 99902b1c 03-Jun-2022 Corvin Köhne <CorvinK@beckhoff.com>

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


# 307f78f3 19-Dec-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards

MFC after: 1 week
Reviewed by: bz, emaste, hselasky, manu
Differential Revision: https://reviews.freebsd.org/D33562


# a91b408a 02-Oct-2020 Emmanuel Vadot <manu@FreeBSD.org>

linuxkpi: Add dmi_* function

dmi function are used to get smbios values.
The DRM subsystem and drivers use it to enabled (or not) quirks.

Reviewed by: hselasky
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26046