summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/led.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1999-03-01 04:56:06 +0000
committerJason Wright <jason@cvs.openbsd.org>1999-03-01 04:56:06 +0000
commit3d7a221c1d80b005419fa5addf0c89b19e15e945 (patch)
tree6152ad1aaf3484176580a81d3e4a9dfb942c22da /sys/arch/sparc/dev/led.h
parenta8acb50f28386be40de525479947be7b656e02e1 (diff)
led driver support for 4/[1236]00 machines
Diffstat (limited to 'sys/arch/sparc/dev/led.h')
-rw-r--r--sys/arch/sparc/dev/led.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/led.h b/sys/arch/sparc/dev/led.h
index 7cd51a3bab9..f362de852f2 100644
--- a/sys/arch/sparc/dev/led.h
+++ b/sys/arch/sparc/dev/led.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: led.h,v 1.2 1998/03/26 07:04:31 jason Exp $ */
+/* $OpenBSD: led.h,v 1.3 1999/03/01 04:56:05 jason Exp $ */
/*
* Copyright (c) 1998 Jason L. Wright (jason@thought.net)
@@ -32,7 +32,15 @@
*/
/*
- * Sun-4 diag register.
+ * Driver for leds on the 4/100, 4/200, 4/300, and 4/600
*/
-void led_sun4_cycle __P((void *));
+struct led_softc {
+ struct device sc_dev; /* base device */
+ int sc_node; /* which node */
+ u_int16_t * sc_reg; /* register (4/600) */
+ int sc_index; /* index into patterns */
+};
+extern struct led_softc *led_sc;
+
+void led_cycle __P((void *));