Subject: port-sparc/6443: auxreg does not control the LED if BLINK is not specified.
To: None <gnats-bugs@gnats.netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: netbsd-bugs
Date: 11/15/1998 07:15:37
>Number:         6443
>Category:       port-sparc
>Synopsis:       auxreg does not control the LED if BLINK is not specified.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 14 14:20:01 1998
>Last-Modified:
>Originator:     Izumi Tsutsui
>Organization:
tsutsui@ceres.dti.ne.jp
>Release:        NetBSD-current as of 98/10/16
>Environment:
System: NetBSD legnum 1.3H NetBSD 1.3H (LEGNUM) #17: Sun Oct 18 15:45:57 JST 1998 tsutsui@legnum:/usr/src/sys/arch/sparc/compile/LEGNUM sparc

>Description:
auxregattach() does not set the front panel LED status
if options BLINK is not specified. Currently the LED status
is random at the boot time.

>How-To-Repeat:
Boot the kernel without options BLINK several times.
>Fix:
Make the LED turn on in auxregattach().

--- sys/arch/sparc/sparc/auxreg.c.orig	Sat Oct 10 23:18:51 1998
+++ sys/arch/sparc/sparc/auxreg.c	Sun Oct 18 15:22:02 1998
@@ -178,6 +178,8 @@
 	printf("\n");
 #ifdef BLINK
 	blink((caddr_t)0);
+#else
+	LED_ON;
 #endif
 }
 
>Audit-Trail:
>Unformatted: