Add support for LEDs on i225/i226. The LEDs can be controlled via sysfs from user space using the netdev trigger. The LEDs are named as igc-<bus><device>-<led> to be easily identified. Offloading link speed and activity are supported. Other modes are simulated in software by using on/off. Tested on Intel i225. Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Naama Meir <naamax.meir@linux.intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Link: https://lore.kernel.org/r/20240213184138.1483968-1-anthony.l.nguyen@intel.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
12 lines
340 B
Makefile
12 lines
340 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (c) 2018 Intel Corporation
|
|
|
|
#
|
|
# Intel(R) I225-LM/I225-V 2.5G Ethernet Controller
|
|
#
|
|
|
|
obj-$(CONFIG_IGC) += igc.o
|
|
igc-$(CONFIG_IGC_LEDS) += igc_leds.o
|
|
|
|
igc-objs := igc_main.o igc_mac.o igc_i225.o igc_base.o igc_nvm.o igc_phy.o \
|
|
igc_diag.o igc_ethtool.o igc_ptp.o igc_dump.o igc_tsn.o igc_xdp.o
|