OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Mark Kettenis (ketteniscvs.openbsd.org)
Date: Mon Apr 09 2007 - 14:59:06 CDT


CVSROOT: /cvs
Module name: src
Changes by: ketteniscvs.openbsd.org 2007/04/09 13:59:06

Modified files:
        sys/arch/sparc64/conf: files.sparc64
        sys/arch/sparc64/sparc64: clock.c
Added files:
        sys/arch/sparc64/dev: rtc.c

Log message:
Seperate rtc(4) code out into its own file. Add support for catching the
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