Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="aKEpdHCM" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 897403856 for ; Mon, 11 Dec 2023 08:05:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=RVOZKACN7S6KRe39gGSq2n8Snn8QaJkst9bJApxKv6o=; b=aKEpdHCMAI6wszoWUw4aFasHOm ecAbVWDgq4qI3zJlx3DaMHxzcSA4XV6BZQXsecVIEN2kkt7wAREG2wsrnl8//mh6B8VtV9UZUrjs1 0bjU5iIrXzZ1eGfliS9LDAub9CNzHX0+MzFQ3IU2X5DYqu5gtmGj7SnVkQM7hsDAJ2/M=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rCimr-002dXy-6K; Mon, 11 Dec 2023 17:05:41 +0100 Date: Mon, 11 Dec 2023 17:05:41 +0100 From: Andrew Lunn To: Heiner Kallweit Cc: Realtek linux nic maintainers , Paolo Abeni , Jakub Kicinski , Eric Dumazet , David Miller , "netdev@vger.kernel.org" Subject: Re: [PATCH net-next] r8169: add support for LED's on RTL8168/RTL8101 Message-ID: <5c67b0ae-439c-4da0-bb7a-c6b03149d42e@lunn.ch> References: Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Dec 07, 2023 at 03:34:08PM +0100, Heiner Kallweit wrote: > This adds support for the LED's on most chip versions. Excluded are > the old non-PCIe versions and RTL8125. RTL8125 has a different LED > register layout, support for it will follow later. > > LED's can be controlled from userspace using the netdev LED trigger. Since you cannot implement set_brightness, the hardware only supports offload, it probably makes sense to add Kconfig to enable the building of the netdev LED trigger. It seems pointless just having plain LEDs which can then usable. Andrew