summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/i386/isa/clock.c3
-rw-r--r--sys/isa/atrtc.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/i386/isa/clock.c b/sys/i386/isa/clock.c
index 1c82ffa..20763b2 100644
--- a/sys/i386/isa/clock.c
+++ b/sys/i386/isa/clock.c
@@ -712,6 +712,7 @@ rtc_restore(void)
writertc(RTC_STATUSB, RTCSB_24HR);
writertc(RTC_STATUSA, rtc_statusa);
writertc(RTC_STATUSB, rtc_statusb);
+ rtcin(RTC_INTR);
}
/*
@@ -911,6 +912,7 @@ resettodr()
/* Reenable RTC updates and interrupts. */
writertc(RTC_STATUSB, rtc_statusb);
+ rtcin(RTC_INTR);
}
@@ -957,6 +959,7 @@ cpu_initclocks()
INTR_TYPE_CLK | INTR_FAST, NULL);
writertc(RTC_STATUSB, rtc_statusb);
+ rtcin(RTC_INTR);
}
init_TSC_tc();
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c
index 1c82ffa..20763b2 100644
--- a/sys/isa/atrtc.c
+++ b/sys/isa/atrtc.c
@@ -712,6 +712,7 @@ rtc_restore(void)
writertc(RTC_STATUSB, RTCSB_24HR);
writertc(RTC_STATUSA, rtc_statusa);
writertc(RTC_STATUSB, rtc_statusb);
+ rtcin(RTC_INTR);
}
/*
@@ -911,6 +912,7 @@ resettodr()
/* Reenable RTC updates and interrupts. */
writertc(RTC_STATUSB, rtc_statusb);
+ rtcin(RTC_INTR);
}
@@ -957,6 +959,7 @@ cpu_initclocks()
INTR_TYPE_CLK | INTR_FAST, NULL);
writertc(RTC_STATUSB, rtc_statusb);
+ rtcin(RTC_INTR);
}
init_TSC_tc();
OpenPOWER on IntegriCloud