Search Linux Wireless

RE: [PATCH 1/2] wifi: rtl8xxxu: Print the ROM version too

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx>
> Sent: Tuesday, January 10, 2023 11:42 PM
> To: linux-wireless@xxxxxxxxxxxxxxx
> Cc: Jes Sorensen <Jes.Sorensen@xxxxxxxxx>; Ping-Ke Shih <pkshih@xxxxxxxxxxx>
> Subject: [PATCH 1/2] wifi: rtl8xxxu: Print the ROM version too
> 
> 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@xxxxxxxxx>

Reviewed-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>

> ---
>  drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
> b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
> index fd97c040948a..d521435e1c07 100644
> --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
> +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
> @@ -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);
>  }
> --
> 2.38.0
> 
> ------Please consider the environment before printing this e-mail.




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux