Subject: CVS commit: src/sys/arch/evbarm/nslu2
To: None <source-changes@NetBSD.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 12/10/2006 10:23:37
Module Name:	src
Committed By:	scw
Date:		Sun Dec 10 10:23:37 UTC 2006

Modified Files:
	src/sys/arch/evbarm/nslu2: nslu2_leds.c

Log Message:
Ditch the messy "disk access" polling code. There was no way to
determine accurately which LED to illuminate.

Instead, hook into the PCI[ABC] interrupt chains (used solely for the
USB controller) and use the disk1/disk2 LEDS to indicate general USB
activity.

Use the "Ready/Status" LED as a CPU activity indicator by hooking the
TMR0 interrupt and illuminating the LED if the CPU is non-idle.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/sys/arch/evbarm/nslu2/nslu2_leds.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.