summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-02-06 22:48:13 +0000
committerdg <dg@FreeBSD.org>1994-02-06 22:48:13 +0000
commit9e053b094d9320c528bf2a6cc17c0240b103613f (patch)
tree82f811329dde7585611c15f20617e82b2a7d5860 /sys/isa
parente8b6460e300ab7d33f438b38b77ab8b54c6a21a9 (diff)
downloadFreeBSD-src-9e053b094d9320c528bf2a6cc17c0240b103613f.zip
FreeBSD-src-9e053b094d9320c528bf2a6cc17c0240b103613f.tar.gz
At the suggestion of Bruce Evans, don't zero RTC diag register. Doing so
was causing problems for some machines.
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/atrtc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c
index cc26d18..2c70507 100644
--- a/sys/isa/atrtc.c
+++ b/sys/isa/atrtc.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.4 1993/11/25 01:31:29 wollman Exp $
+ * $Id: clock.c,v 1.5 1993/12/19 00:50:30 wollman Exp $
*/
/*
@@ -81,8 +81,6 @@ startrtclock()
outb (IO_RTC, RTC_DIAG);
if (s = inb (IO_RTC+1))
printf("RTC BIOS diagnostic error %b\n", s, RTCDG_BITS);
- outb (IO_RTC, RTC_DIAG);
- outb (IO_RTC+1, 0);
}
unsigned int delaycount; /* calibrated loop variable (1 millisecond) */
OpenPOWER on IntegriCloud