diff options
| author | Abdelkader Boudih <seuros@FreeBSD.org> | 2026-10-13 18:43:56 +0000 |
|---|---|---|
| committer | Abdelkader Boudih <seuros@FreeBSD.org> | 2026-10-13 18:43:56 +0000 |
| commit | 030e556ff8a9dfa6fd7b5328e410eb806f4d07ed (patch) | |
| tree | 555b60660841a1eb3a922833a6acf417a7b174e9 /sys/dev/al_eth/al_init_eth_lm.c | |
| parent | 3943973aaeba035bf36b34dfb9354d8d1c4684b9 (diff) | |
Lid state changes are only published to userland, via devd and evdev.
Drivers that need to react to the lid in the kernel have no hook, so
they end up installing a second ACPI_DEVICE_NOTIFY handler on the same
lid object and reimplementing the _LID evaluation.
Add acpi_lid_event, invoked from acpi_lid_status_update() alongside the
existing devd notification, carrying the new state (1 open, 0 closed).
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D60704
Diffstat (limited to 'sys/dev/al_eth/al_init_eth_lm.c')
0 files changed, 0 insertions, 0 deletions
