[PATCH] convert powermac ide blink to new led infrastructure

Johannes Berg johannes at sipsolutions.net
Fri Jun 9 21:47:09 EST 2006


On Thu, 2006-06-08 at 10:28 +1000, Benjamin Herrenschmidt wrote:

> No objection, but a question: how do you bind the led to the hard disk
> by default ? some userland stuff ? can't be automatic at boot by
> default ?

The way it usually works is via sysfs. Automatic at boot could be
default by assigning a default name somewhere IIRC, but since I don't
use the LED I optimised for that case ;)
I'd say having a script that *enables* it at boot is probably cleaner
than having one that *disables* it, and having a Kconfig option just for
the default seems overkill.

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 793 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20060609/0ef500e1/attachment.pgp>


More information about the Linuxppc-dev mailing list