wifi: rtl8xxxu: Print the ROM version too
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Tue, 10 Jan 2023 15:41:42 +0000 (17:41 +0200)
committerKalle Valo <kvalo@kernel.org>
Mon, 16 Jan 2023 16:28:14 +0000 (18:28 +0200)
Make rtl8xxxu_print_chipinfo() print the ROM version. This is relevant
at least for the RTL8723AU and possibly relevant for the RTL8710BU.

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/add46396-95af-1164-2033-7d4eb4d0b554@gmail.com
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c

index 93dce8c79bd4e064cca45300c04e9d23de0c2c00..9fa2b8306f78bd190610214548e0d6d2490124cc 100644 (file)
@@ -1582,10 +1582,11 @@ static void rtl8xxxu_print_chipinfo(struct rtl8xxxu_priv *priv)
                cut = 'A' + priv->chip_cut;
 
        dev_info(dev,
-                "RTL%s rev %c (%s) %iT%iR, TX queues %i, WiFi=%i, BT=%i, GPS=%i, HI PA=%i\n",
-                priv->chip_name, cut, priv->chip_vendor, priv->tx_paths,
-                priv->rx_paths, priv->ep_tx_count, priv->has_wifi,
-                priv->has_bluetooth, priv->has_gps, priv->hi_pa);
+                "RTL%s rev %c (%s) romver %d, %iT%iR, TX queues %i, WiFi=%i, BT=%i, GPS=%i, HI PA=%i\n",
+                priv->chip_name, cut, priv->chip_vendor, priv->rom_rev,
+                priv->tx_paths, priv->rx_paths, priv->ep_tx_count,
+                priv->has_wifi, priv->has_bluetooth, priv->has_gps,
+                priv->hi_pa);
 
        dev_info(dev, "RTL%s MAC: %pM\n", priv->chip_name, priv->mac_addr);
 }