diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-08-25 08:38:49 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-08-25 08:38:49 +0000 |
commit | e7bdaf7b9085ddf893c42d722c9392bac9ed6456 (patch) | |
tree | 6d65ca8171f53d0985116560812c71640a34433d /sys/arch/sparc/include/cpu.h | |
parent | 1819af27a48172c6658bdb220a4920839ae7c19d (diff) |
Implement LED blinking as a run-time configurable option via the sysctl
machdep.led_blink.
Rename auxreg.h because we need config to generate one now.
Diffstat (limited to 'sys/arch/sparc/include/cpu.h')
-rw-r--r-- | sys/arch/sparc/include/cpu.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/sparc/include/cpu.h b/sys/arch/sparc/include/cpu.h index 7f743246e7a..60e158da345 100644 --- a/sys/arch/sparc/include/cpu.h +++ b/sys/arch/sparc/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.3 1997/08/08 08:26:11 downsj Exp $ */ +/* $OpenBSD: cpu.h,v 1.4 1997/08/25 08:38:45 downsj Exp $ */ /* $NetBSD: cpu.h,v 1.24 1997/03/15 22:25:15 pk Exp $ */ /* @@ -51,10 +51,12 @@ /* * CTL_MACHDEP definitions. */ -#define CPU_MAXID 1 /* no valid machdep ids */ +#define CPU_LED_BLINK 1 /* int: twiddle the power LED */ +#define CPU_MAXID 2 /* 1 valid machdep ID */ #define CTL_MACHDEP_NAMES { \ { 0, 0 }, \ + { "led_blink", CTLTYPE_INT }, \ } #ifdef _KERNEL @@ -172,6 +174,8 @@ void vmeintr_establish __P((int vec, int level, struct intrhand *)); */ void intr_fasttrap __P((int level, void (*vec)(void))); +/* auxreg.c */ +void led_blink __P((void *)); /* disksubr.c */ struct dkbad; int isbad __P((struct dkbad *bt, int, int, int)); |