From nobody Wed Aug 26 00:57:01 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hV5p547qGz6qKxY for ; Wed, 26 Aug 2026 00:57:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hV5p518v3z3tyb for ; Wed, 26 Aug 2026 00:57:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1787705821; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NmepOns6i90I/vNo/LKGRq9clY9HYrLKjPYWtJjw1Vg=; b=dM/4ih+qktYpC17JJaN/0hnoR+V0E9JA9/5Eg9uJrY+6rJH7GwJwzwU29rxoGDmmHcFx28 gFMWjKIIKY7tgSvUEB2VEPSle8cTFU/GS8npz+v4ECbUZMgf2bdF1HNq2E+1vTDHlz0iMu ABJ8ZLJUhKsX2kFI6fQrNTO1NrlsHW87epzlNHSJfMRDrGoc64Ci1Ed22BTYBp1+lqpPou +cGnOzl0DQvY2EQ8b3o4AESRKrasAgFrxA5rjHDg3MV/RTMq3QrieRiWGEhppkT0Efwqcw d/FnuwxC2uZBHUIc+DiFStYMndZBbtnpAUVCkaUFpYfVOCUzv4dZy9I5IjkYDg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1787705821; a=rsa-sha256; cv=none; b=rPDKumqHmbNAJWvbY0IQ/jn6qR0So/vDaGhrSMSLLgrJRyA2TETwiAxOeC02/Vdzmzj4OW upcNfMP/YCLcrz7KmZNOSp9vTTih4yIXDWvHaMO9c/ayc7kMzOxZFF5RS1992qHCEkvHlh Lchu+vsrpInHT/xWgHhqklW5NzdaWEyb+zzDaB+srji+Ct26tSOF1qG+VRy4+tbXwDy3Wj rSEQbhNXx6poMqUn3CIwraET+kKpiSQNVe4ByEXWWnmTTIc9cbFupcOJItd8mYtWoRNcH3 VpBoNzvPG/E4KbSyhGjnRDBfs/llkdPHbprB9+ela2EtFVOuynDMNPbVvf3low== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1787705821; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NmepOns6i90I/vNo/LKGRq9clY9HYrLKjPYWtJjw1Vg=; b=xDOXIZUAWQ5YCAUrbzr55bryiqJLJX/AJSFjZxEHUjG5nmOW91fplTFGWiRCy3IICbu90U gjfvgJqmMeTHOF8aC8rTWe+WG2+UE+S36tFGvI3EbnBWYOFgsSfMBfLtdDZ4C9eneIOuJ0 V0lsc+TrGRxZW8VjrQ7g7SfLRyJO25D1Vb5ttoYyLuy5lHGPRPpDnUNFromT/8vi/zhkgG oZVon6WLqXDHhax8eHNVQgwlqT6CLQF7yr2Zl0aI4xe2SlSjI7P++aDwoXi4uSZB9c4K40 mYFUuIOsUTvZWLIbusf6RKCML5dYpPVQm4E183D9MMVWspoufmJTEivUWfrlVg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hV5p50BdSzwY for ; Wed, 26 Aug 2026 00:57:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 437a2 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 26 Aug 2026 00:57:01 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: c43037f2bef7 - stable/15 - e1000: Identify SerDes adapters with LED blink List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: c43037f2bef77dff2d5c211b3bbf29236bb8eb58 Auto-Submitted: auto-generated Date: Wed, 26 Aug 2026 00:57:01 +0000 Message-Id: <6a8e39dd.437a2.28af032d@gitrepo.freebsd.org> The branch stable/15 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=c43037f2bef77dff2d5c211b3bbf29236bb8eb58 commit c43037f2bef77dff2d5c211b3bbf29236bb8eb58 Author: Kevin Bowling AuthorDate: 2026-08-12 00:29:17 +0000 Commit: Kevin Bowling CommitDate: 2026-08-26 00:56:51 +0000 e1000: Identify SerDes adapters with LED blink The generic LED on and off operations do not handle internal SerDes media, leaving the led(4) device ineffective on my I210 fiber port. Use the hardware blink operation for the on phase on internal SerDes. The off phase restores the saved OEM LED configuration as before. (cherry picked from commit 28f96cc3748fc46408cc6ab6172f09bc2182cad7) --- sys/dev/e1000/if_em.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index d4044b547068..6032c7945947 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -4932,7 +4932,10 @@ em_if_led_func(if_ctx_t ctx, int onoff) if (onoff) { e1000_setup_led(&sc->hw); - e1000_led_on(&sc->hw); + if (sc->hw.phy.media_type == e1000_media_type_internal_serdes) + e1000_blink_led(&sc->hw); + else + e1000_led_on(&sc->hw); } else { e1000_led_off(&sc->hw); e1000_cleanup_led(&sc->hw);