Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 04/27/2000 21:48:52
Module Name: syssrc
Committed By: thorpej
Date: Fri Apr 28 04:48:51 UTC 2000
Modified Files:
syssrc/sys/arch/i386/i386: apm.c
Log Message:
Keep track of current power state (resumed, standing by, suspended), and
only perform standby/suspend/resume actions if the state actually changes.
Inspired by some similar code in the USB code, pulled into here so that
the workaround isn't needed in every driver.
To generate a diff of this commit:
cvs rdiff -r1.47 -r1.48 syssrc/sys/arch/i386/i386/apm.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.