summaryrefslogtreecommitdiffstats
path: root/sys/i386/bios
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1997-10-22 23:04:07 +0000
committernate <nate@FreeBSD.org>1997-10-22 23:04:07 +0000
commitbdf762c6f9473939030b7fa139f1ddf4b8898edf (patch)
tree7067ae56cd5c2b7967497a406d9a49c511bcb495 /sys/i386/bios
parent2e52ab6886d96936860712ad9d351e77059bd495 (diff)
downloadFreeBSD-src-bdf762c6f9473939030b7fa139f1ddf4b8898edf.zip
FreeBSD-src-bdf762c6f9473939030b7fa139f1ddf4b8898edf.tar.gz
- If APM_BROKEN_STATCLOCK is defined, make sure the statcloock is
disabled, don't rely on the flags to set it.
Diffstat (limited to 'sys/i386/bios')
-rw-r--r--sys/i386/bios/apm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/bios/apm.c b/sys/i386/bios/apm.c
index e6bc26b..0c17d18 100644
--- a/sys/i386/bios/apm.c
+++ b/sys/i386/bios/apm.c
@@ -15,7 +15,7 @@
*
* Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD)
*
- * $Id: apm.c,v 1.59 1997/06/19 00:25:03 wollman Exp $
+ * $Id: apm.c,v 1.60 1997/09/21 21:33:10 gibbs Exp $
*/
#include <sys/param.h>
@@ -592,7 +592,9 @@ apmprobe(struct isa_device *dvp)
printf("apm: 32-bit connection error.\n");
return 0;
}
+#ifndef APM_BROKEN_STATCLOCK
if (dvp->id_flags & 0x20)
+#endif
statclock_disable = 1;
return -1;
}
OpenPOWER on IntegriCloud