aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/bios
diff options
context:
space:
mode:
authorNate Williams <nate@FreeBSD.org>1996-04-22 19:40:28 +0000
committerNate Williams <nate@FreeBSD.org>1996-04-22 19:40:28 +0000
commite597b4972e665d578f46823da2bfa77346b2e338 (patch)
tree741690a9594b4c514b3873326f1166df1f184550 /sys/i386/bios
parent003aaef883db5f18fd43cfb6cc019383d681221b (diff)
downloadsrc-e597b4972e665d578f46823da2bfa77346b2e338.tar.gz
src-e597b4972e665d578f46823da2bfa77346b2e338.zip
- add apm to the GENERIC kernel (disabled by default), and add some comments
regarding apm to LINT - Disabled the statistics clock on machines which have an APM BIOS and have the options "APM_BROKEN_STATCLOCK" enabled (which is default in GENERIC now) - move around some of the code in clock.c dealing with the rtc to make it more obvios the effects of disabling the statistics clock Reviewed by: bde
Notes
Notes: svn path=/head/; revision=15345
Diffstat (limited to 'sys/i386/bios')
-rw-r--r--sys/i386/bios/apm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/i386/bios/apm.c b/sys/i386/bios/apm.c
index 6ff4766fdd22..f6b490ba06f3 100644
--- a/sys/i386/bios/apm.c
+++ b/sys/i386/bios/apm.c
@@ -14,7 +14,7 @@
*
* Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD)
*
- * $Id: apm.c,v 1.37 1996/03/28 14:28:00 scrappy Exp $
+ * $Id: apm.c,v 1.38 1996/04/18 19:21:47 nate Exp $
*/
#include "apm.h"
@@ -617,6 +617,9 @@ apmprobe(struct isa_device *dvp)
printf("apm: 32-bit connection error.\n");
return 0;
}
+#ifdef APM_BROKEN_STATCLOCK
+ statclock_disable = 1;
+#endif
return -1;
}