Add visibale debugging info for the RC7500 board.

This commit is contained in:
mark 1996-06-03 21:41:09 +00:00
parent 2a56b05b3d
commit 2d9f11e999
2 changed files with 20 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: clock.c,v 1.4 1996/04/19 19:39:17 mark Exp $ */
/* $NetBSD: clock.c,v 1.5 1996/06/03 21:41:09 mark Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -77,6 +77,15 @@ int
clockhandler(frame)
struct clockframe *frame;
{
#ifdef RC7500
extern void setleds();
static int leds = 0;
setleds(1 << leds);
leds++;
if (leds >> 3)
leds = 0;
#endif
hardclock(frame);
return(1);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: iomd_clock.c,v 1.4 1996/04/19 19:39:17 mark Exp $ */
/* $NetBSD: iomd_clock.c,v 1.5 1996/06/03 21:41:09 mark Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -77,6 +77,15 @@ int
clockhandler(frame)
struct clockframe *frame;
{
#ifdef RC7500
extern void setleds();
static int leds = 0;
setleds(1 << leds);
leds++;
if (leds >> 3)
leds = 0;
#endif
hardclock(frame);
return(1);
}