Page MenuHomeFreeBSD

acpi_gpiobus: implement bus_child_deleted
ClosedPublic

Authored by vexeduxr on Jul 27 2025, 8:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 9, 4:40 AM
Unknown Object (File)
Mon, Nov 3, 3:31 AM
Unknown Object (File)
Oct 14 2025, 2:47 AM
Unknown Object (File)
Oct 14 2025, 2:47 AM
Unknown Object (File)
Oct 13 2025, 1:24 PM
Unknown Object (File)
Oct 5 2025, 11:47 PM
Unknown Object (File)
Oct 4 2025, 7:47 AM
Unknown Object (File)
Sep 27 2025, 4:46 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.