Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Fuxbrumer, Dvora <dvorax.fuxbrumer@linux.intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [PATCH next-queue v2 5/5] igc: Export LEDs
Date: Thu, 8 Jul 2021 14:39:17 +0300	[thread overview]
Message-ID: <9375494f-ae6c-4dcd-65cf-bfa8b42e6660@linux.intel.com> (raw)
In-Reply-To: <20210629044332.3491232-6-vinicius.gomes@intel.com>

On 6/29/2021 07:43, Vinicius Costa Gomes wrote:
> From: Kurt Kanzenbach <kurt@linutronix.de>
> 
> Each i225 has three LEDs. Export them via the LED class framework.
> 
> Each LED is controllable via sysfs. Example:
> 
> $ cd /sys/class/leds/igc_led0
> $ cat brightness      # Current Mode
> $ cat max_brightness  # 15
> $ echo 0 > brightness # Mode 0
> $ echo 1 > brightness # Mode 1
> 
> The brightness field here reflects the different LED modes ranging
> from 0 to 15.
> 
> Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
> Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> ---
>   drivers/net/ethernet/intel/Kconfig           |   1 +
>   drivers/net/ethernet/intel/igc/igc.h         |  10 ++
>   drivers/net/ethernet/intel/igc/igc_defines.h |  10 ++
>   drivers/net/ethernet/intel/igc/igc_main.c    | 132 +++++++++++++++++++
>   drivers/net/ethernet/intel/igc/igc_regs.h    |   2 +
>   5 files changed, 155 insertions(+)
> 
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>

      reply	other threads:[~2021-07-08 11:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-29  4:43 [Intel-wired-lan] [PATCH next-queue v2 0/5] igc: Add support for RX Flex Filters Vinicius Costa Gomes
2021-06-29  4:43 ` [Intel-wired-lan] [PATCH next-queue v2 1/5] igc: Add possibility to add flex filter Vinicius Costa Gomes
2021-07-08 11:34   ` Fuxbrumer, Dvora
2021-06-29  4:43 ` [Intel-wired-lan] [PATCH next-queue v2 2/5] igc: Integrate flex filter into ethtool ops Vinicius Costa Gomes
2021-07-08 11:35   ` Fuxbrumer, Dvora
2021-06-29  4:43 ` [Intel-wired-lan] [PATCH next-queue v2 3/5] igc: Allow for Flex Filters to be installed Vinicius Costa Gomes
2021-07-08 11:37   ` Fuxbrumer, Dvora
2021-06-29  4:43 ` [Intel-wired-lan] [PATCH next-queue v2 4/5] igc: Make flex filter more flexible Vinicius Costa Gomes
2021-07-08 11:38   ` Fuxbrumer, Dvora
2021-06-29  4:43 ` [Intel-wired-lan] [PATCH next-queue v2 5/5] igc: Export LEDs Vinicius Costa Gomes
2021-07-08 11:39   ` Fuxbrumer, Dvora [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9375494f-ae6c-4dcd-65cf-bfa8b42e6660@linux.intel.com \
    --to=dvorax.fuxbrumer@linux.intel.com \
    --cc=intel-wired-lan@osuosl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox