> I attach a very small patch doing that. This a patch only for > drivers/ide/ppc/pmac.c file, > with respect to a pure kernel 2.6.9 from kernel.org > > It adds an entry in /sys/devices/ide-pmac/blinking_led > echo 1 > /sys/devices/ide-pmac/blinking_led > activates the led > > echo 0 > /sys/devices/ide-pmac/blinking_led > disactivates it > > It starts disactivated.
BTW.. looked at the patch a bit more, why do you create a platform device just for that ? The mac-io IDE already has it's own sysfs entry Ben.