summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1998-05-22 03:10:32 +0000
committerJason Wright <jason@cvs.openbsd.org>1998-05-22 03:10:32 +0000
commita265a6ba668112f7d3f3d3300f657d527591a402 (patch)
treea0454cff4813057b29541dce23e6bc82d4a974f7 /sys/arch
parent6d09a0abf80331fd7359d04b587410a1a02b3382 (diff)
Start the timeout's if sparc_led_blink is initialized to true
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/dev/led.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/led.c b/sys/arch/sparc/dev/led.c
index b92008cb2b2..93be079a1f0 100644
--- a/sys/arch/sparc/dev/led.c
+++ b/sys/arch/sparc/dev/led.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: led.c,v 1.2 1998/03/26 07:04:30 jason Exp $ */
+/* $OpenBSD: led.c,v 1.3 1998/05/22 03:10:31 jason Exp $ */
/*
* Copyright (c) 1998 Jason L. Wright (jason@thought.net)
@@ -90,6 +90,10 @@ ledattach(parent, self, aux)
{
led_attached = 1;
printf("\n");
+
+ /* In case it's initialized to true... */
+ if (sparc_led_blink)
+ led_blink((caddr_t)0);
}
/*