Re: [PATCH -mm 4/4] LED: Add IDE disk activity LED trigger
From: Bartlomiej Zolnierkiewicz
Date: Wed Mar 29 2006 - 02:15:25 EST
On 3/29/06, Richard Purdie <rpurdie@xxxxxxxxx> wrote:
> Add an LED trigger for IDE disk activity to the ide-disk driver.
>
> Signed-off-by: Richard Purdie <rpurdie@xxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/