diff options
author | Matthew N. Dodd <mdodd@FreeBSD.org> | 1999-09-03 02:04:28 +0000 |
---|---|---|
committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 1999-09-03 02:04:28 +0000 |
commit | 7612e4c12217566df9b94eb7b40226f33a40e0c0 (patch) | |
tree | 54f45b87ddbfa23075048d7efd56e8f0bff92c14 /sys/isa/atrtc.c | |
parent | d721abf23cde3e79b777081a61a07b3ad0d786b6 (diff) | |
download | src-7612e4c12217566df9b94eb7b40226f33a40e0c0.tar.gz src-7612e4c12217566df9b94eb7b40226f33a40e0c0.zip |
This adds the i386 specific support for systems with a MicroChannel
Architecture bus.
Reviewed by: msmith
Notes
Notes:
svn path=/head/; revision=50823
Diffstat (limited to 'sys/isa/atrtc.c')
-rw-r--r-- | sys/isa/atrtc.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c index 8a3e1c93030c..c65974141b01 100644 --- a/sys/isa/atrtc.c +++ b/sys/isa/atrtc.c @@ -85,6 +85,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() @@ -258,6 +263,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 } /* |