summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-06 14:20:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-06 14:20:15 +0000
commitc1f00f4f76dd0e3d2195b25bf859a2350f12c416 (patch)
tree2b7ec9f4d5adcc63c3b51fae134f8d34deda65fc /usr.sbin
parentf95c05f286b01e37607284a13bacb98d0a3d9e34 (diff)
As part of a revamp of the PM1/GPE code, I write this diff to look for
unmanaged EN & STS bits in the PM1 register at interrupt time and report them. As a side effect this splits the STS acknowledgement into two writes (for power, and sleep) instead of one. The printf that is added (to spot unmanaged STS bits) has not yet been triggered as far as we know. Before the "write to PM1 registers at the right offset" diff went in, this was not neccessary. But newer thinkpads do not have a working soft power button without this diff. We have no idea why. ok mlarkin kettenis
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions