Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 03/24/2001 04:07:55
Module Name:	syssrc
Committed By:	christos
Date:		Sat Mar 24 02:07:55 UTC 2001

Modified Files:
	syssrc/sys/arch/i386/i386: apm.c
	syssrc/sys/arch/i386/include: apmvar.h

Log Message:
Some bios's when apm is disabled [or even some functions of it are disabled],
they keep giving error 0x30b. Unfortunately this keeps happening every second
making the console unusable. Keep track of the last error that occurred and
if the last 10 times apm was called the same error was returned, give up and
exit the apm thread.


To generate a diff of this commit:
cvs rdiff -r1.59 -r1.60 syssrc/sys/arch/i386/i386/apm.c
cvs rdiff -r1.10 -r1.11 syssrc/sys/arch/i386/include/apmvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.