diff options
author | KATO Takenori <kato@FreeBSD.org> | 1999-09-04 01:39:52 +0000 |
---|---|---|
committer | KATO Takenori <kato@FreeBSD.org> | 1999-09-04 01:39:52 +0000 |
commit | acd0dd6ce11f0ee59aa7648e5bbd35dc954ef266 (patch) | |
tree | 75a85fe305712c36c376a685935e70ca9e0f994b /sys/pc98/cbus | |
parent | 4fcaaf69e76dd6133e3e8493f2c965fb330df42e (diff) | |
download | src-acd0dd6ce11f0ee59aa7648e5bbd35dc954ef266.tar.gz src-acd0dd6ce11f0ee59aa7648e5bbd35dc954ef266.zip |
Merge from sys/i386/isa/clock.c revision 1.145.
Notes
Notes:
svn path=/head/; revision=50869
Diffstat (limited to 'sys/pc98/cbus')
-rw-r--r-- | sys/pc98/cbus/clock.c | 10 | ||||
-rw-r--r-- | sys/pc98/cbus/pcrtc.c | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c index ba644841a9e4..56a92bce113b 100644 --- a/sys/pc98/cbus/clock.c +++ b/sys/pc98/cbus/clock.c @@ -95,6 +95,11 @@ #include <i386/isa/intr_machdep.h> +#include "mca.h" +#if NMCA > 0 +#include <i386/isa/mca_machdep.h> +#endif + #ifdef SMP #define disable_intr() CLOCK_DISABLE_INTR() #define enable_intr() CLOCK_ENABLE_INTR() @@ -283,6 +288,11 @@ clkintr(struct clockframe frame) } break; } +#if NMCA > 0 + /* Reset clock interrupt by asserting bit 7 of port 0x61 */ + if (MCA_system) + outb(0x61, inb(0x61) | 0x80); +#endif } /* diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c index ba644841a9e4..56a92bce113b 100644 --- a/sys/pc98/cbus/pcrtc.c +++ b/sys/pc98/cbus/pcrtc.c @@ -95,6 +95,11 @@ #include <i386/isa/intr_machdep.h> +#include "mca.h" +#if NMCA > 0 +#include <i386/isa/mca_machdep.h> +#endif + #ifdef SMP #define disable_intr() CLOCK_DISABLE_INTR() #define enable_intr() CLOCK_ENABLE_INTR() @@ -283,6 +288,11 @@ clkintr(struct clockframe frame) } break; } +#if NMCA > 0 + /* Reset clock interrupt by asserting bit 7 of port 0x61 */ + if (MCA_system) + outb(0x61, inb(0x61) | 0x80); +#endif } /* |