diff options
author | Joshua Stein <jcs@cvs.openbsd.org> | 2017-02-16 18:02:23 +0000 |
---|---|---|
committer | Joshua Stein <jcs@cvs.openbsd.org> | 2017-02-16 18:02:23 +0000 |
commit | 6b768fa10e2b179065ecbdc755499e8962b6de81 (patch) | |
tree | 7b2dc04ad178781aefc01245e6750594f1c17cd4 /regress | |
parent | f3b70a9db51540f34842fd49d39d899b7147f3b0 (diff) |
On Apple hardware, claim an OSI of Darwin and no other OSes
The DSDT on at MacBooks takes many different and beneficial code
paths when the OS reports to be Darwin, but due to the way it checks
OSI, we can't just add Darwin to the aml_valid_osi array since later
checks for Windows variants will supersede the Darwin check.
Fixes suspend and keeps Thunderbolt ports powered up after resume.
One regression is that the acpibat driver no longer attaches and
will require an ACPI Smart Battery driver, which is in the works.
Adapted from a similar change in the Linux kernel from 2014.
ok deraadt
Diffstat (limited to 'regress')
0 files changed, 0 insertions, 0 deletions