diff options
author | Hans de Goede <hdegoede@redhat.com> | 2017-08-30 15:54:49 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-08-31 15:58:39 +0300 |
commit | f38966a7ace842afd3a9bf5d0fb56640f49df60c (patch) | |
tree | 6720acad53b539d9c3474c613e2db2e0d147f88a /drivers/net/wireless/broadcom/brcm80211 | |
parent | f31039d4aea97d3827d0518f267f32a74dbdc498 (diff) | |
download | linux-next-f38966a7ace842afd3a9bf5d0fb56640f49df60c.tar.gz |
brcmfmac: Log chip id and revision
For debugging some problems, it is useful to know the chip revision
add a brcmf_info message logging this.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211')
-rw-r--r-- | drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c index d231042f19d6..091b52979e03 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c @@ -601,6 +601,9 @@ int brcmf_fw_map_chip_to_name(u32 chip, u32 chiprev, if ((nvram_name) && (mapping_table[i].nvram)) strlcat(nvram_name, mapping_table[i].nvram, BRCMF_FW_NAME_LEN); + brcmf_info("using %s for chip %#08x(%d) rev %#08x\n", + fw_name, chip, chip, chiprev); + return 0; } |