diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2004-10-01 18:18:50 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2004-10-01 18:18:50 +0000 |
commit | 07f253751fdc947b9c4695a8e03c54642df44fea (patch) | |
tree | cb49a0bcf38166dd0f1313d3aa51d7a7ce6a97e4 /sys/arch/sparc64/dev/auxiovar.h | |
parent | 9a47a1174cb544bd7c4ab22a11f4144ef6340ab6 (diff) |
add a blink_led API (shaves ~1k from GENERIC) rather than have the same
logic in 3 files. Devices register a function to be called to turn the
led on and off based on load average. (Note: rerun config and make depend)
Diffstat (limited to 'sys/arch/sparc64/dev/auxiovar.h')
-rw-r--r-- | sys/arch/sparc64/dev/auxiovar.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/arch/sparc64/dev/auxiovar.h b/sys/arch/sparc64/dev/auxiovar.h index 56189a83e3b..2bfc1973f53 100644 --- a/sys/arch/sparc64/dev/auxiovar.h +++ b/sys/arch/sparc64/dev/auxiovar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: auxiovar.h,v 1.5 2003/02/10 10:02:59 jason Exp $ */ +/* $OpenBSD: auxiovar.h,v 1.6 2004/10/01 18:18:49 jason Exp $ */ /* $NetBSD: auxiovar.h,v 1.4 2000/04/15 03:08:13 mrg Exp $ */ /* @@ -51,12 +51,5 @@ struct auxio_softc { #define AUXIO_LEDONLY 0x1 #define AUXIO_EBUS 0x2 #define AUXIO_SBUS 0x4 - struct timeout sc_to; + struct blink_led sc_blink; }; - -/* - * XXX: old interfaces. we set auxio_reg the first auxio we attach. - */ -#ifndef _LOCORE -void auxio_led_blink(void *); -#endif |