about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2024-02-17 12:26:18 +0300
committerGitHub <noreply@github.com>2024-02-17 12:26:18 +0300
commit5069879f509f453ef03c72c07b4f1e7638b49d47 (patch)
tree1e27bad8ee8eddf3ba46f3c3ecf903551db352d0 /pkgs/os-specific
parent59c08c81757a47f6b153f083b9177954c148ace1 (diff)
parentf6cee2673be09385e78c0301c8d1b05db528947a (diff)
downloadnixlib-5069879f509f453ef03c72c07b4f1e7638b49d47.tar
nixlib-5069879f509f453ef03c72c07b4f1e7638b49d47.tar.gz
nixlib-5069879f509f453ef03c72c07b4f1e7638b49d47.tar.bz2
nixlib-5069879f509f453ef03c72c07b4f1e7638b49d47.tar.lz
nixlib-5069879f509f453ef03c72c07b4f1e7638b49d47.tar.xz
nixlib-5069879f509f453ef03c72c07b4f1e7638b49d47.tar.zst
nixlib-5069879f509f453ef03c72c07b4f1e7638b49d47.zip
Merge pull request #283904 from cryo28/master
linux: CONFIG_LED_TRIGGER_PHY=y
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix3
1 files changed, 3 insertions, 0 deletions
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;