Received: by 2002:a05:7412:a9a8:b0:f9:92ae:e617 with SMTP id o40csp41165rdh; Wed, 20 Dec 2023 15:23:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IH5iAIjdi9h/nPkaQnI562UaM8UoxV0BsLHSaaZIvS7Ie1kwNG5WG01Gjuq0TbB99S6vWwm X-Received: by 2002:a17:902:cec3:b0:1d0:cbef:2efd with SMTP id d3-20020a170902cec300b001d0cbef2efdmr12054206plg.21.1703114632270; Wed, 20 Dec 2023 15:23:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703114632; cv=none; d=google.com; s=arc-20160816; b=sQGKoHwgsUBx5HzRCkfXTXmoeR8IhCKbopfAWyV/NkpWf9RVV6bBj5zXrdzy1JLckV 8coGST7TrSx4bY8kKKr2WuNyHyjXCmAPi+f/apZsBDWr7B1k0ASTujj63waTAA3MBeP4 6pvV02H8SO0dUWWQN3i6v+Ky/5SvVlpbYdiO1sPbYakl5Q1msWCnKhh+DZKxAP4Corh2 7kiuNm3mUgyCNHbLwHhmMkw5Ej0zaxJt2CtYqPAHto1DWjlW76w0BHWqZJq8SSUR0SwR UDElrWZryMYF4riisj4Q+wTf/Yjcp2C7rK3cVt/Ii9bv8SdSluNaiLcdeT4CENqR3+gy Pdjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=XsKFunyIEF//ykMeSfV/a0SwdfxlBLJSsRhTiMN79G0=; fh=QOrG5/W8ri+IYqs809jupQxEvT8IMTKMegYvIri3yQU=; b=XydJRFwZDdceFsj4/yr9Rp13APvEt5RhLM0WZjnO4We7RB4DlXbrhGx/+fCeiHnv8Z lmkoEt2PkgelsncLseGSHef1IHzNwjuqP9f0hlmGV6j/LdmwfNE9bBJpFQBXGQ1b6R70 3X9E3o9GQLJ1HXBdXHTgQzrd6sttEPTw/WaYpBkq32U1Q1ydZSI4u630d40bs4PZ0Xcv JNG6CLR+Zghf98defYPyHBGFzrD4fKpfw4joq1j3C0iZs1ppzKD7JVBTezhxkZtZFhwD o1l73A5I1ECTvwcUB/R+hACU6QySoA3MXugKDEZOdVSN0+4WSFVdNxSyFRS5B8neaxZ8 2FLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZwOXiCHa; spf=pass (google.com: domain of linux-kernel+bounces-7609-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7609-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id ix17-20020a170902f81100b001cfa3845be9si394937plb.542.2023.12.20.15.23.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:23:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7609-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZwOXiCHa; spf=pass (google.com: domain of linux-kernel+bounces-7609-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7609-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4BCBCB261A2 for ; Wed, 20 Dec 2023 23:09:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D9954C631; Wed, 20 Dec 2023 22:49:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZwOXiCHa" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 08D6A4C634; Wed, 20 Dec 2023 22:49:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-40d05ebe642so7820055e9.0; Wed, 20 Dec 2023 14:49:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703112545; x=1703717345; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=XsKFunyIEF//ykMeSfV/a0SwdfxlBLJSsRhTiMN79G0=; b=ZwOXiCHasH2dqJ1hZ0lVqm8bm7LQXXSUC15smv25RqICJmzN4MAsbLI5CX4qvmw3iI LKxh7hgd3qxi9z0OL6GzDafXySkTYoMjgTlNHPGoh6m8HcXMEpvfGIZbladbsuMhZBvN x+FhIcbmV04Af0J+LLkMzzjIFSuieleslJaEiz1gRZPuvhv6haZm+XWuueLmM1JyzvSu iBOI0hP7B9Mo5Ov+GkrgxSjRH1MpwFjtaS/a1D8f0Laej7AO0zMwQzQushs/mKfWuQQ1 gjfkShuNuKVUc0c2o4b9HnVadte0uyRn1UJC5/6n56fyCOtp2iEpYOWf8c4dyuaAOopt +gSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703112545; x=1703717345; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XsKFunyIEF//ykMeSfV/a0SwdfxlBLJSsRhTiMN79G0=; b=UWtEsrvD2m6nKQrareyGTGlbVylIn+bwtEW3y8ywdx32kfLi6KmLEpmZVAo68Qm8C4 q2Kai5EfFLbZ1KpqKKmoplFEmQIL4WuVJFGQKLUQ4XchQAZrj+G5DClbhe8ETMTIfLPQ H2thKnMVuf9NaeWFewFlu4JpvcoI7fRDT8cghNkEd1Eplccvk6Jl4k/8aS5HchO7/XOh +HOQcTL32+UzMgqYOhmWPxEuhr+ptMrr31L5P4wCSruo774qFJSkSYE2SvwJSEIwlpXS 5pxTR2vz3XWP94k4u2CU7AGRD6Zgek1q5IS31Qo4Fg4o70nWkQc1ykihH0XxHZ5EXKK9 +h+Q== X-Gm-Message-State: AOJu0Yw14VUrMGl4C2HpblmMhhK4AZuByDSAoaAh2Dzi7ctJsHsCHQ+D oaM/DZqhvxhAZUKkZr1QXMU= X-Received: by 2002:a7b:ce0f:0:b0:40c:3c2b:b72e with SMTP id m15-20020a7bce0f000000b0040c3c2bb72emr142289wmc.116.1703112544559; Wed, 20 Dec 2023 14:49:04 -0800 (PST) Received: from localhost.localdomain (host-95-250-248-68.retail.telecomitalia.it. [95.250.248.68]) by smtp.googlemail.com with ESMTPSA id bi8-20020a05600c3d8800b0040d28bbaf7bsm8220838wmb.10.2023.12.20.14.49.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 14:49:04 -0800 (PST) From: Christian Marangi To: Pavel Machek , Lee Jones , Christian Marangi , Andrew Lunn , Jakub Kicinski , Daniel Golle , =?UTF-8?q?Marek=20Beh=C3=BAn?= , "David S. Miller" , Li Zetao , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org Subject: [PATCH v5 2/2] docs: ABI: sysfs-class-led-trigger-netdev: Document now hidable link_* Date: Wed, 20 Dec 2023 23:48:27 +0100 Message-Id: <20231220224827.27667-2-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231220224827.27667-1-ansuelsmth@gmail.com> References: <20231220224827.27667-1-ansuelsmth@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Document now hidable link speed modes for the LED netdev trigger. Link speed modes are now showed only if the named network device supports them and are hidden if not. Signed-off-by: Christian Marangi --- Changes v2: - Add this patch .../ABI/testing/sysfs-class-led-trigger-netdev | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-class-led-trigger-netdev b/Documentation/ABI/testing/sysfs-class-led-trigger-netdev index a6c307c4befa..ed46b37ab8a2 100644 --- a/Documentation/ABI/testing/sysfs-class-led-trigger-netdev +++ b/Documentation/ABI/testing/sysfs-class-led-trigger-netdev @@ -88,6 +88,8 @@ Description: speed of 10MBps of the named network device. Setting this value also immediately changes the LED state. + Present only if the named network device supports 10Mbps link speed. + What: /sys/class/leds//link_100 Date: Jun 2023 KernelVersion: 6.5 @@ -101,6 +103,8 @@ Description: speed of 100Mbps of the named network device. Setting this value also immediately changes the LED state. + Present only if the named network device supports 100Mbps link speed. + What: /sys/class/leds//link_1000 Date: Jun 2023 KernelVersion: 6.5 @@ -114,6 +118,8 @@ Description: speed of 1000Mbps of the named network device. Setting this value also immediately changes the LED state. + Present only if the named network device supports 1000Mbps link speed. + What: /sys/class/leds//link_2500 Date: Nov 2023 KernelVersion: 6.8 @@ -127,6 +133,8 @@ Description: speed of 2500Mbps of the named network device. Setting this value also immediately changes the LED state. + Present only if the named network device supports 2500Mbps link speed. + What: /sys/class/leds//link_5000 Date: Nov 2023 KernelVersion: 6.8 @@ -140,6 +148,8 @@ Description: speed of 5000Mbps of the named network device. Setting this value also immediately changes the LED state. + Present only if the named network device supports 5000Mbps link speed. + What: /sys/class/leds//link_10000 Date: Nov 2023 KernelVersion: 6.8 @@ -153,6 +163,8 @@ Description: speed of 10000Mbps of the named network device. Setting this value also immediately changes the LED state. + Present only if the named network device supports 10000Mbps link speed. + What: /sys/class/leds//half_duplex Date: Jun 2023 KernelVersion: 6.5 -- 2.40.1