![]() | |||||||||||||
Messages in this thread |
On 3/29/06, Richard Purdie <rpurdie@rpsys.net> wrote: > Add an LED trigger for IDE disk activity to the ide-disk driver. > > Signed-off-by: Richard Purdie <rpurdie@rpsys.net> > > Index: linux-2.6.16/drivers/ide/ide-disk.c > =================================================================== > --- linux-2.6.16.orig/drivers/ide/ide-disk.c 2006-03-28 17:22:51.000000000 +0100 > +++ linux-2.6.16/drivers/ide/ide-disk.c 2006-03-28 17:25:12.000000000 +0100 > @@ -60,6 +60,7 @@ > #include <linux/genhd.h> > #include <linux/slab.h> > #include <linux/delay.h> > +#include <linux/leds.h> > > #define _IDE_DISK > > @@ -316,6 +317,8 @@ > return ide_stopped; > } > > + ledtrig_ide_activity(); > + Now this is really non-intrusive. :) Thank you for reworking the patch. The rest of changes also look fine for me, ACK. Bartlomiej - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2006-03-29 09:20 [from the cache] ©2003-2008 | |||||||||||||