Don't restrict GPIO events to pin numbers below 256. With the _EVT()
authorkettenis <kettenis@openbsd.org>
Sat, 10 Sep 2022 13:18:31 +0000 (13:18 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 10 Sep 2022 13:18:31 +0000 (13:18 +0000)
commit8f365b07629612495509f08f9f22e38492a9dd98
treeffdcb7defb3b77b98c15d8e0ab26071457a90e22
parent0771892136a2d8bc257cb5ed7004595a0e44f841
Don't restrict GPIO events to pin numbers below 256.  With the _EVT()
method events corresponding to larger numbers are possible.

Fixes lid state detection on the x13s.

ok patrick@
sys/dev/acpi/acpi.c