Page MenuHomeFreeBSD

acpi_gpiobus: implement bus_child_deleted
ClosedPublic

Authored by vexeduxr on Jul 27 2025, 8:46 PM.
Tags
None
Referenced Files
F175521047: D51585.diff
Sun, Oct 11, 10:29 AM
Unknown Object (File)
Thu, Oct 8, 8:42 PM
Unknown Object (File)
Fri, Oct 2, 11:34 AM
Unknown Object (File)
Fri, Sep 25, 10:30 AM
Unknown Object (File)
Sep 7 2026, 9:48 PM
Unknown Object (File)
Sep 7 2026, 12:09 PM
Unknown Object (File)
Sep 6 2026, 6:00 PM
Unknown Object (File)
Sep 6 2026, 6:00 PM
Subscribers

Details

Summary

Implement bus_child_deleted and attach the gpio_aei dev to it's ACPI
handle.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

vexeduxr added a parent revision: D51584: gpio: rework gpioaei.
sys/dev/gpio/acpi_gpiobus.c
374–375

Why is this needed?

sys/dev/gpio/acpi_gpiobus.c
374–375

It's how acpi_get_device gets a device_t from an ACPI handle. For gpioaei it's currently not needed anywhere, but it's expected that acpi_get_device works on devices which represent ACPI objects.

This revision is now accepted and ready to land.Aug 30 2025, 11:29 AM
This revision was automatically updated to reflect the committed changes.