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)
Dec 11 2025, 4:15 AM
Unknown Object (File)
Dec 10 2025, 6:59 AM
Unknown Object (File)
Dec 9 2025, 10:43 AM
Unknown Object (File)
Dec 1 2025, 6:39 PM
Unknown Object (File)
Nov 19 2025, 9:54 AM
Unknown Object (File)
Nov 9 2025, 4:40 AM
Unknown Object (File)
Nov 3 2025, 3:31 AM
Unknown Object (File)
Oct 14 2025, 2:47 AM
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.