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)
Mon, Feb 2, 4:18 AM
Unknown Object (File)
Sun, Feb 1, 4:49 AM
Unknown Object (File)
Sun, Feb 1, 1:57 AM
Unknown Object (File)
Sat, Jan 31, 12:42 PM
Unknown Object (File)
Sat, Jan 31, 8:17 AM
Unknown Object (File)
Sun, Jan 25, 12:03 PM
Unknown Object (File)
Fri, Jan 23, 5:53 PM
Unknown Object (File)
Dec 11 2025, 4:15 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.