Module Name: src Committed By: jmcneill Date: Sun Dec 8 20:44:40 UTC 2024
Modified Files: src/sys/dev/acpi: acpi_i2c.c Log Message: acpi: find I2C devices that are not children of the controller node An I2C device does not necessarily have to be a child of an I2C controller device node. It may be defined elsewhere in the device tree, with a I2cSerialBusV2 resource that points to the I2C bus that it sits on. For the simple case of I2C HID devices, we know that they have exactly one I2C bus resource. When a controller calls acpi_enter_i2c_devs, search for unclaimed device nodes with a resource that points to this controller, and add any I2C HID devices found. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/acpi/acpi_i2c.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.