new i386/amd64 machdep.lidsuspend sysctl which decides whether a lid
authorderaadt <deraadt@openbsd.org>
Thu, 5 Aug 2010 21:10:06 +0000 (21:10 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 5 Aug 2010 21:10:06 +0000 (21:10 +0000)
commita48c61d8b1d3dd859bd63050a426cb3940d5b9a6
treea9961c6445e1504b832e74bf485fe6a0b0c51793
parenteea4c4024677a715c027e0ca94ceb35a915077c6
new i386/amd64 machdep.lidsuspend sysctl which decides whether a lid
close causes a suspend.  resumes are not tied to this; they happen
unconditionally.  this is a temporary knob for the 4.8 release; afterwards
it will move to a more convenient place
much moaning discussing where to put the knob with kettenis
tested by various including phessler
sys/arch/amd64/amd64/machdep.c
sys/arch/amd64/include/cpu.h
sys/arch/i386/i386/machdep.c
sys/arch/i386/include/cpu.h
sys/dev/acpi/acpibtn.c