Page MenuHomeFreeBSD

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

Authored by wulf on Oct 17 2020, 12:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 7:03 AM
Unknown Object (File)
Oct 20 2024, 6:04 AM
Unknown Object (File)
Oct 3 2024, 1:05 PM
Unknown Object (File)
Oct 3 2024, 8:50 AM
Unknown Object (File)
Sep 29 2024, 7:43 PM
Unknown Object (File)
Sep 29 2024, 7:43 PM
Unknown Object (File)
Sep 29 2024, 7:43 PM
Unknown Object (File)
Sep 28 2024, 1:29 AM
Subscribers

Details

Summary

Matching table format is compatible with ACPI_ID_PROBE bus method used in most ACPI drivers.

Test Plan

ACPI part is tested with acpi_wmi(4) and acpi_dock(4) drivers. Required changes to these drivers are included.
IICBUS part is tested with development version of sysutils/iichid.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wulf requested review of this revision.Oct 17 2020, 12:26 AM
wulf created this revision.

One nit on the comments, otherwise it's fine. Fix that and I'm good with what you commit (so I'm accepting it now). I'm a little worried about the DEV_ACPI ifdef, but it's likely fine... I suspect we'll have at least one module not built properly, or built independently of the tree that has issues, but we can look into those when that happens.

sys/dev/acpica/acpivar.h
236 ↗(On Diff #78339)

You may wish to note that ACPI_ID_PROBE looks at both _HID and _CID, so both need to be listed. It took me a second to realize what you were doing here, and so I suspect others may need the hint as well.

This revision is now accepted and ready to land.Oct 17 2020, 7:27 PM