Re: [PATCH -mm 4/4] LED: Add IDE disk activity LED trigger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/29/06, Richard Purdie <[email protected]> wrote:
> Add an LED trigger for IDE disk activity to the ide-disk driver.
>
> Signed-off-by: Richard Purdie <[email protected]>
>
> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux