From nobody Thu Nov 14 01:53:58 2024 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 4Xpjqq2qGPz5ctPV; Thu, 14 Nov 2024 01:53:59 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xpjqq0T8dz44gS; Thu, 14 Nov 2024 01:53:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731549239; 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=zO8sUFhebE73HVhd1RJJnkg73+4YczlU6fN0Dhv7WT0=; b=YM1v3znRJB5/sgDXmQbbSRCPtQ8TUj0sjt8IOucVFB+7Zh1fokuaA/+YcIMJ05MUWi0oS7 GKct/ocQTszXlCa+KXRNVvuIy0mqRuzOPya1qvJ7l4tLg55jP8kA7k7GWs9Q0Ea/Y/6Zsd +v3VaQtCp3dZixVo40bIKWvuP7UxfNCsrUmyxaD9hUgKbsFGEAv2jel7LiLH0WKV9GfcBt LO3trJ/LGjJ15tmcYrpWZu0UhiAgKP2ZV4XmUY0LtxQ4t24Vyz+nhVI3zip22Em4WmJJjn AHpd7Ub8OouN9FOa4muAcyhMl57d2bL8HVLEm9lhh8GI6tb4sJblk+dOhjXHUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731549239; 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=zO8sUFhebE73HVhd1RJJnkg73+4YczlU6fN0Dhv7WT0=; b=W1valmJowUdZdXu4DIW5exsa9YkbXC8JOhUCFpC5CNlJdAWW8oeryPUoXSs58nHNXG2BB3 NaBpjargBLl8tvdnLAzgBiJHaSKjW+qRWfHP73DyHEtrbt6j8dfXoz+jVBxqkjrOPt6Q6p e98C5Ur+sUUl8HQZ4IxCQzuMOFIsASa648xMGxe7XmuYQBQfmKLea336RcY6zNMj6Pvfs1 tR0AIGYi6Fs2E3PCBrRjJ9fkFeImnRKNPxUGMUfCckdRCnjMYghnaz9erSBuh0IrJNHVLR distLcI7dkh+ZSWyH8+XbPT2EPPoeAysX15HEn58Jzkv+WGEhFLd4jHEz87bFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731549239; a=rsa-sha256; cv=none; b=iL9MpXE7xrjCFBQU/Iv2wiN1ku+cKVVKsUry7D9Vzst1FWeFZP1cZgYWdNCVisi/DKzWhG B7O4pvlxjtfNAytySFVSpkZ8qd4IS7/dtiel/2WKQA2dDDONrSXbQxYGHAumnsip4BxNR4 TdLpV+8L15Do7QHwoPehW5ENUFPzTnj+VBQ1/+cE/B+UYHWrjGnX3fTGy7SQVb1rY/iZbB KPhkS3pcGZGFKCIXyJ10onYnhwyk1Lc2i57mTE2KOEHtdiYYBIjtEK3qf413KmPmNm0qII axXsmSWF5HDfdxeLCgRNUYW0o7jjKR2JfoGSUmLDVbCHEsXy2ffGJwb8yqIQXQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xpjqp75HPzJc9; Thu, 14 Nov 2024 01:53:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AE1rwLQ055361; Thu, 14 Nov 2024 01:53:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AE1rwHN055358; Thu, 14 Nov 2024 01:53:58 GMT (envelope-from git) Date: Thu, 14 Nov 2024 01:53:58 GMT Message-Id: <202411140153.4AE1rwHN055358@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 7ff741003780 - stable/14 - iwlwifi: script to extract firmware details 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 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: 7ff7410037807498c2f56151d5c93fcd80987a17 Auto-Submitted: auto-generated The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=7ff7410037807498c2f56151d5c93fcd80987a17 commit 7ff7410037807498c2f56151d5c93fcd80987a17 Author: Bjoern A. Zeeb AuthorDate: 2024-11-08 18:09:37 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-11-14 01:53:12 +0000 iwlwifi: script to extract firmware details When having to find a firmware image with a lower version number we must only break the inner but not also the outer loop so we keep looking at any possibly remaining firmware details. While here also try to find a version from max..1 and not from 1..max. Sponsored by: The FreeBSD Foundation (cherry picked from commit 52f8e99e7e5e6fab52b3fff535d62b873f8c02dd) --- sys/contrib/dev/iwlwifi/zzz_fw_ports_fwget.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/contrib/dev/iwlwifi/zzz_fw_ports_fwget.sh b/sys/contrib/dev/iwlwifi/zzz_fw_ports_fwget.sh index 60c75c00cbc7..6b6798aae49e 100644 --- a/sys/contrib/dev/iwlwifi/zzz_fw_ports_fwget.sh +++ b/sys/contrib/dev/iwlwifi/zzz_fw_ports_fwget.sh @@ -155,11 +155,11 @@ list_fw() vn=$(echo ${fx} | awk '{ gsub(".ucode$", ""); gsub("^.*-", ""); print; }') #echo "BN ${bn} VN ${vn}" # Single digits are not zero-padded so just ${i} will be fine. - for i in `jot ${vn} 1`; do + for i in `jot ${vn} ${vn} 1`; do xn="${bn}-${i}.ucode" if test -e ${LFWDIR}/${xn}; then lx="${lx} ${xn}" - break 2; + break fi done ;;