From f6cee2673be09385e78c0301c8d1b05db528947a Mon Sep 17 00:00:00 2001 From: Artem Ignatyev <230930+cryo28@users.noreply.github.com> Date: Thu, 25 Jan 2024 20:07:57 -0600 Subject: [PATCH] linux: CONFIG_LED_TRIGGER_PHY=y --- pkgs/os-specific/linux/kernel/common-config.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 69f16fd79cf6..a66996b6c143 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -1023,6 +1023,9 @@ let # Bump the maximum number of CPUs to support systems like EC2 x1.* # instances and Xeon Phi. NR_CPUS = freeform "384"; + + # Enable LEDS to display link-state status of PHY devices (i.e. eth lan/wan interfaces) + LED_TRIGGER_PHY = whenAtLeast "4.10" yes; } // optionalAttrs (stdenv.hostPlatform.system == "armv7l-linux" || stdenv.hostPlatform.system == "aarch64-linux") { # Enables support for the Allwinner Display Engine 2.0 SUN8I_DE2_CCU = yes;