diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2024-12-13 06:01:26 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2024-12-31 21:58:17 +0000 |
commit | aa178783710f31e3f421065bc17a701abbaf9a18 (patch) | |
tree | d1585a633950f0084e9952073ae350b3263c08e7 | |
parent | 5ec914e06c96ff40bf0e6567359c0de039b59ed2 (diff) |
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
-rw-r--r-- | sys/dev/rtwn/if_rtwn_fw.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |