Age | Commit message (Collapse) | Author |
|
i386. Stop abusing it on other archs for controling a shutdown by
pressing the soft power button:
* Add a MI sysctl hw.allowpowerdown; if set to 1 (the default) it
allows a power button shutdown.
* Make acpi(4)/acpibtn(4) honor hw.allowpowerdown.
* Switch the various power button intercepts on landisk, sgi, sparc64
and zaurus over to hw.allowpowerdown.
* Garbage collect the machdep.kbdreset sysctl on all archs other than
amd64 and i386.
ok miod@
|
|
!= 0 bit. Makes GCC 4.2.1 happy.
|
|
|
|
instead of NULL. Makes rtc(4) really work on the u25.
tested by mikeb@
|
|
Ultra 25 and Ultra 45.
|
|
|
|
ok deraadt@
|
|
|
|
power button interrupts on ds1287 models. The hardware will stil power off
automatically about 20 seconds after the power button is pressed, but we get
a decent chance at doing a clean shutdown before that.
"a good start" deraadt@
|