From nobody Tue Dec 31 21:58:34 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 4YN6L261L5z5k4Kj; Tue, 31 Dec 2024 21:58:34 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YN6L25751z52dg; Tue, 31 Dec 2024 21:58:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735682314; 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=XyjFgOzkcLtTg3bLxRDBSmomA5oXO3vXzbvs94zKS5s=; b=R1U6akjKWVovLZDpO+h4VstlfAH/3XiuYNzFMNkAQL+Y7IdCXccVyxf5zrWydmNOiIU7AP Rv5JPaY+FXRB04AhulyRBYb6ywZ3Upfsy67kPw8S7z2fz9vF+z1LICUkDZG6uwNI4bEQLs zv8Za4Dhy10I+eoYN9iRt9AfI2i/Gt3guiea1ui3Vu12/MgN75IaxHe6KOLbPwTeijHM+q vbvOEfwHxaQCxRi9BudYFIzrgFMbebMvtdIef7jGLmt6wg81LXH5ANjptdG0THZNq04KsR +yBhHWB7xsekxcwWqcGuS92LA2tNYYRCrpDHK/uRnL/prUdQPKDlZ2Yd/mahvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735682314; 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=XyjFgOzkcLtTg3bLxRDBSmomA5oXO3vXzbvs94zKS5s=; b=ESZQVdqxdVBHXZZE1mv3Y3MLLwvVODXmxv0LI/V397LL5FFWBENzBZ57mIZNypT/oOPE9F fIfxte+h9aWs8JXOqJa9EV1PYcFHNwfj8MlyJMKHQZUpbtxyLHS89K1ro9pSXzDp3Phrmn uh0hjOHlACzpYDKE5hUdpeecb/YyXJC/zz9Q8VLltlUayPtvOEDBfdl3RtF16vGVCcfNTX 8Tvu4niAMxCRzct2FG/RkcNzRaScW+5kXTXhfM+o6YAceAOd8AfoFN9yLLhut2iK5iIcuW AT+AyP1joTkM2Lb939jpt68pnlwWQhijhFi8QU2qxy4c1e2GxNczNA0S7Eu48Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735682314; a=rsa-sha256; cv=none; b=m9H/ZSayU9GhWNXlyJnKyaCji9kp6tjwR64+InAwLvJxTsNw/UsBJHhejot896E08/FFns Seu8YcqhO/Mfr/e7e11bW3JUMh3Kw6ggaS4qFsuFlqyPjtevwBtZJ/fzoXXdvVTZUhfr/y UOs5VF4pv6/GR3GGy/0FM6BFYCTKg4AhgTiSJv7ajVQ3zkuf2LNDYt/nK0218rWJHjdT61 Ke9QFzuNDg0phPQUkcFVaeOU1g1WlUkWLxv7msguB2QDDb3QDAisPTkqvlAx8SJy61k3Xo 8he8H0VusQtTWDByHy3cQ8AqJsBObapADTK2x4TCNUTKShN7KUh0VzOR/3jGcA== 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 4YN6L23YVnzx7q; Tue, 31 Dec 2024 21:58:34 +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 4BVLwY1t060838; Tue, 31 Dec 2024 21:58:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BVLwYn7060835; Tue, 31 Dec 2024 21:58:34 GMT (envelope-from git) Date: Tue, 31 Dec 2024 21:58:34 GMT Message-Id: <202412312158.4BVLwYn7060835@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Adrian Chadd Subject: git: aa178783710f - main - rtwn: print out the firmware file being loaded 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: adrian X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aa178783710f31e3f421065bc17a701abbaf9a18 Auto-Submitted: auto-generated The branch main has been updated by adrian: URL: https://cgit.FreeBSD.org/src/commit/?id=aa178783710f31e3f421065bc17a701abbaf9a18 commit aa178783710f31e3f421065bc17a701abbaf9a18 Author: Adrian Chadd AuthorDate: 2024-12-13 06:01:26 +0000 Commit: Adrian Chadd CommitDate: 2024-12-31 21:58:17 +0000 rtwn: print out the firmware file being loaded The firmware version isn't enough; different firmware is loaded for different revisions of a given chip. So print out the file too; it'll make handling reports much easier. Differential Revision: https://reviews.freebsd.org/D48067 Reviewed by: emaste --- sys/dev/rtwn/if_rtwn_fw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/rtwn/if_rtwn_fw.c b/sys/dev/rtwn/if_rtwn_fw.c index 551adbdb8704..0fc5bac75c82 100644 --- a/sys/dev/rtwn/if_rtwn_fw.c +++ b/sys/dev/rtwn/if_rtwn_fw.c @@ -141,7 +141,8 @@ rtwn_load_firmware(struct rtwn_softc *sc) sc->fwver = le16toh(hdr->version); RTWN_DPRINTF(sc, RTWN_DEBUG_FIRMWARE, - "FW V%u.%u %02u-%02u %02u:%02u\n", + "FW (%s) V%u.%u %02u-%02u %02u:%02u\n", + sc->fwname, le16toh(hdr->version), le16toh(hdr->subversion), hdr->month, hdr->date, hdr->hour, hdr->minute); ptr += sizeof(*hdr);