Subject: port-sparc/2100: options BLINK doesn't :-)
To: None <gnats-bugs@NetBSD.ORG>
From: Neil J. McRae <neil@domino.org>
List: netbsd-bugs
Date: 02/18/1996 23:18:12
>Number:         2100
>Category:       port-sparc
>Synopsis:       Options blink is broken.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 18 18:35:00 1996
>Last-Modified:
>Originator:     Neil J. McRae
>Organization:
--  neil@domino.org                     Domino: In the glow of the night.  --
------  NetBSD doublesix.domino.org 1.1A NetBSD 1.1A (DOUBLESIX) #19  -------
--  Free your computer and your <a href="http://www.NetBSD.ORG/">mind</a>  --
>Release:        Todays Current
>Environment:
System: NetBSD doublesix.domino.org 1.1A NetBSD 1.1A (DOUBLESIX) #0: Sun Feb 18 19:08:07 GMT 1996 neil@doublesix.domino.org:/usr/src/sys/arch/sparc/compile/DOUBLESIX sparc


>Description:
	Defining options BLINK breaks a kernel compile.
>How-To-Repeat:
	Build a GENERIC kernel with options BLINK
>Fix:
Apply this patch:

-------------------------------------------------------------------
*** auxreg.c    Sun Feb 18 23:08:57 1996
--- /sys/arch/sparc/sparc/auxreg.c      Sun Feb 18 18:56:14 1996
***************
*** 76,82 ****
         *      full cycle every 3 seconds if loadav = 2
         * etc.
         */
!       s = (((averunnable[0] + FSCALE) * hz) >> (FSHIFT + 1));
        timeout(blink, (caddr_t)0, s);
  }
  #endif
--- 76,82 ----
         *      full cycle every 3 seconds if loadav = 2
         * etc.
         */
!       s = (((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1));
        timeout(blink, (caddr_t)0, s);
  }
  #endif


>Audit-Trail:
>Unformatted: