From nobody Fri Jan 16 19:40:46 2026 X-Original-To: dev-commits-src-branches@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 4dt9FB6dyCz6NlZK for ; Fri, 16 Jan 2026 19:40:46 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dt9FB2Ybhz3wtd for ; Fri, 16 Jan 2026 19:40:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768592446; 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=xQuKCOEl7S3IN00K7Bn5V5qXGE87msfGiWx/Mcg3bM0=; b=soZ6I2DdX10untL9VxjNe1smF1IRiD0cqIEWskNIxb7OSp+HDf8CfGjeUaUu8qbFXYmoem CGjAkk29Csw9fQn4vDdUgrQWShXIJ+Sow4qrTSd/G6OPDJx/x7pEJg2aQc5Gs1dvZGPMW0 jujVzShTyewVWk10lOHMhVTW08eyW+hCW3TrgGVV1S/hKP2vfg4SxcmHpUv+f5ZGKUAuPV oNhbXAH93UWKnj6rA0dcs/QF1ZwVYpwo/8BoppfjU943J/a4w90BGm73qvLl28EjvUeOrB Q3bImOdVz7MVOyk1eHyO8fz1J+KyHAPWLrzeb/j/za18kLwGNn+olV89aJ4c0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768592446; 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=xQuKCOEl7S3IN00K7Bn5V5qXGE87msfGiWx/Mcg3bM0=; b=noGrUeq7tE/wggsCCD9x7HSCSD54zkECDZFNXBuoCX3BCGovLuKCLHpzbHOKKFVbuuEwc5 LKzyixCCJZomfKgleuIhi9ILas1bAlE1aQm7Um+9Y3ev0c5L/9Vcwp+tJRji4RoZBfTiy8 TmEzonB6EIN+lHMqkguriab7nB6fD62NFzcUsb1REBwuyR8ltLAOBnUwWJRLmqflwSUahK AFNe4DM9Kaw5LQ9PTICCA0WEE3maRiKWIhAvYdgw+l5ju43fvIrGSp4yRhL4CT5YN4n3jC 39AzjjvqoY1mR+rBRIz+511TMavElkFT4rXoVs0RxDOJ/mwAETL8AOb9ac9mpQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1768592446; a=rsa-sha256; cv=none; b=qPvJYThCelT4ClQYYKsIPaNv3duJnmx1nseE/cKmK7Arvq5zmGjHwOsXF1Gt2TjqeXF332 CXk2HzP2++YP/bwRys0wH01DDFeIKPIWlL90/RbNrDyJ+UFM5IsDu/Elg+z8c/TviJKCRD 4NCklvEOP40j+8tL5bqIcuri/9eP1YyzWcrFgm4pInwSKLhBVQR/8uF6JCGaXMe2CNCSe8 8fOOml1MxxINM29RMumLnhsT+Jp6/npFeGMcLjeiLUKU91DInR4lpt47nRwgNBU+HQFNuP ijdCg7ZC9jkFKiTvuTQAfeql/NeqHg79wi9oV1+/FtVbTDkBLTeMHRerjqQFbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dt9FB1xCxzBlb for ; Fri, 16 Jan 2026 19:40:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id dbdf by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 16 Jan 2026 19:40:46 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Bjoern A. Zeeb Subject: git: 772579c13e5c - stable/14 - fwget: pci: hex strings use 0-9 and a-f not a-z List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 772579c13e5ce63eb4fddd97db77f5f53c7c19fa Auto-Submitted: auto-generated Date: Fri, 16 Jan 2026 19:40:46 +0000 Message-Id: <696a943e.dbdf.9271365@gitrepo.freebsd.org> The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=772579c13e5ce63eb4fddd97db77f5f53c7c19fa commit 772579c13e5ce63eb4fddd97db77f5f53c7c19fa Author: Bjoern A. Zeeb AuthorDate: 2025-08-31 18:51:12 +0000 Commit: Bjoern A. Zeeb CommitDate: 2026-01-16 19:37:46 +0000 fwget: pci: hex strings use 0-9 and a-f not a-z Reviewed by: imp, manu Differential Revision: https://reviews.freebsd.org/D52311 (cherry picked from commit 50cab1202d39e67cd38b395e3e08e140e7617d95) --- usr.sbin/fwget/pci/pci | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/fwget/pci/pci b/usr.sbin/fwget/pci/pci index fbdfa0001c5c..de8b7c8bb2b3 100644 --- a/usr.sbin/fwget/pci/pci +++ b/usr.sbin/fwget/pci/pci @@ -27,7 +27,7 @@ pci_get_class() { - local hexclass=$(echo $1 | sed 's/.*class=\(0x[0-9a-z]\{2\}\).*/\1/') + local hexclass=$(echo $1 | sed 's/.*class=\(0x[0-9a-f]\{2\}\).*/\1/') case "${hexclass}" in 0x00) echo "old" ;; # built before class codes were finalized 0x02) echo "network" ;; @@ -38,7 +38,7 @@ pci_get_class() pci_get_vendor() { - local hexvendor=$(echo $1 | sed 's/.*\ vendor=\(0x[0-9a-z]*\).*/\1/') + local hexvendor=$(echo $1 | sed 's/.*\ vendor=\(0x[0-9a-f]*\).*/\1/') case "${hexvendor}" in 0x1002) echo "amd" ;; @@ -52,7 +52,7 @@ pci_get_vendor() pci_get_device() { - local hexdevice=$(echo $1 | sed 's/.*\ device=\(0x[0-9a-z]*\).*/\1/') + local hexdevice=$(echo $1 | sed 's/.*\ device=\(0x[0-9a-f]*\).*/\1/') echo ${hexdevice} }