HomeFreeBSD

Add plug and play information macroses for ACPI and I2C buses.

Description

Add plug and play information macroses for ACPI and I2C buses.

Matching table format is compatible with ACPI_ID_PROBE bus method.

Note that while ACPI_ID_PROBE matches against _HID and all _CIDs, current
acpi_pnpinfo_str() exports only _HID and first _CID. That means second
and further _CIDs should be added to both acpi_pnpinfo_str() and
ACPICOMPAT_PNP_INFO if device matching against them is required.

Reviewed by: imp
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D26824

Details

Provenance
wulfAuthored on
Reviewer
imp
Differential Revision
D26824: Add plug and play information macroses for ACPI and I2C buses.
Parents
rS367238: Fix 32-bit build after r367209
Branches
Unknown
Tags
Unknown