summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc/dev/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvmeppc/dev/clock.c')
-rw-r--r--sys/arch/mvmeppc/dev/clock.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/mvmeppc/dev/clock.c b/sys/arch/mvmeppc/dev/clock.c
index 8cc39d5bffa..61a7af3cd6e 100644
--- a/sys/arch/mvmeppc/dev/clock.c
+++ b/sys/arch/mvmeppc/dev/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.8 2004/01/28 23:50:16 miod Exp $ */
+/* $OpenBSD: clock.c,v 1.9 2004/05/14 20:38:32 miod Exp $ */
/* $NetBSD: clock.c,v 1.1 1996/09/30 16:34:40 ws Exp $ */
/*
@@ -40,6 +40,8 @@
#include <machine/intr.h>
#include <machine/powerpc.h>
+#include "bugtty.h"
+
void resettodr(void);
void decr_intr(struct clockframe *);
void calc_delayconst(void);
@@ -345,6 +347,12 @@ decr_intr(struct clockframe *frame)
lasttb += ticks_per_intr;
intrcnt[PPC_CLK_IRQ]++;
hardclock(frame);
+#if NBUGTTY > 0
+ {
+ extern void bugtty_chkinput(void);
+ bugtty_chkinput();
+ }
+#endif
}
while (nstats-- > 0)