diff options
author | 2016-10-25 06:55:59 +0000 | |
---|---|---|
committer | 2016-10-25 06:55:59 +0000 | |
commit | 11acbd79e0b4d889558d2ee5c5773ca249512a41 (patch) | |
tree | c7c9df0d072e81a88510de1a0bdd1d47e5cf5825 /sys/netinet/ip_carp.c | |
parent | Add the resource index to aml_parse_resource() callback function. (diff) | |
download | wireguard-openbsd-11acbd79e0b4d889558d2ee5c5773ca249512a41.tar.xz wireguard-openbsd-11acbd79e0b4d889558d2ee5c5773ca249512a41.zip |
Deduplicate the CRS parsing code and handle broken ACPI implementations.
This change was prompted by a report from Ilya Kaliman where acpiec(4)
failed to initialize on his Acer Aspire S7.
Further investigations showed that the machine had 4 instead of 2 resources
defined inside the EC device which is a violation of all existing ACPI
revisions.
We now handle such machines by using the aml resource parser directly, which
lead to the removal of the existing one from acpiec.c, and ignoring extra
resources (although they are reported in the dmesg).
In the process I also done a couple of more style(9) fixes.
Suggested by and ok guenther@
Diffstat (limited to 'sys/netinet/ip_carp.c')
0 files changed, 0 insertions, 0 deletions