[Intel-wired-lan] [PATCH iwl-next v1 1/1] igc: add support for ethtool.set_phys_id
naamax.meir
naamax.meir at linux.intel.com
Sun Jun 2 10:17:40 UTC 2024
On 5/22/2024 12:19, Vitaly Lifshits wrote:
> Add support for ethtool.set_phys_id callback to initiate LED blinking
> and stopping them by the ethtool interface.
> This is done by storing the initial LEDCTL register value and restoring
> it when LED blinking is terminated.
>
> In addition, moved IGC_LEDCTL related defines from igc_leds.c to
> igc_defines.h where they can be included by all of the igc module
> files.
>
> Signed-off-by: Vitaly Lifshits <vitaly.lifshits at intel.com>
> Signed-off-by: Menachem Fogel <menachem.fogel at intel.com>
> ---
> drivers/net/ethernet/intel/igc/igc_defines.h | 22 ++++++++++++++
> drivers/net/ethernet/intel/igc/igc_ethtool.c | 32 ++++++++++++++++++++
> drivers/net/ethernet/intel/igc/igc_hw.h | 2 ++
> drivers/net/ethernet/intel/igc/igc_leds.c | 21 +------------
> drivers/net/ethernet/intel/igc/igc_main.c | 2 ++
> 5 files changed, 59 insertions(+), 20 deletions(-)
Tested-by: Naama Meir <naamax.meir at linux.intel.com>
More information about the Intel-wired-lan
mailing list