Page MenuHomeFreeBSD

acpi_gpiobus: implement bus_child_deleted
AcceptedPublic

Authored by vexeduxr on Jul 27 2025, 8:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 5, 11:47 PM
Unknown Object (File)
Sat, Oct 4, 7:47 AM
Unknown Object (File)
Sat, Sep 27, 4:46 PM
Unknown Object (File)
Wed, Sep 17, 3:05 PM
Unknown Object (File)
Sep 12 2025, 12:17 PM
Unknown Object (File)
Sep 3 2025, 4:59 PM
Unknown Object (File)
Aug 30 2025, 6:32 AM
Unknown Object (File)
Aug 26 2025, 10:01 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 65787
Build 62670: arc lint + arc unit

Event Timeline

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

Why is this needed?

sys/dev/gpio/acpi_gpiobus.c
358–359

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