diff mbox series

[1/1] UBUNTU: SAUCE: rtw88: 8822ce: add support for device ID 0xc82f

Message ID 20200707094406.108238-2-aaron.ma@canonical.com
State New
Headers show
Series Add new realtek wifi 0x82f support | expand

Commit Message

Aaron Ma July 7, 2020, 9:44 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1886247

New device ID 0xc82f found on Lenovo ThinkCenter.
Tested it with c822 driver, works good.

PCI id:
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd.
Device [10ec:c82f]
        Subsystem: Lenovo Device [17aa:c02f]

Link: https://lore.kernel.org/lkml/20200612082745.204400-1-aaron.ma@canonical.com/
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
---
 drivers/net/wireless/realtek/rtw88/pci.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Juerg Haefliger July 7, 2020, 11:18 a.m. UTC | #1
On Tue,  7 Jul 2020 17:44:06 +0800
Aaron Ma <aaron.ma@canonical.com> wrote:

> BugLink: https://bugs.launchpad.net/bugs/1886247
> 
> New device ID 0xc82f found on Lenovo ThinkCenter.
> Tested it with c822 driver, works good.
> 
> PCI id:
> 03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd.
> Device [10ec:c82f]
>         Subsystem: Lenovo Device [17aa:c02f]
> 
> Link: https://lore.kernel.org/lkml/20200612082745.204400-1-aaron.ma@canonical.com/

The patch that you submitted looks different. I'm assuming things have changed
since v5.4 and this patch here is a backport? Might be helpful to add a note.


> Signed-off-by: Aaron Ma <aaron.ma@canonical.com>

Acked-by: Juerg Haefliger <juergh@canonical.com>


> ---
>  drivers/net/wireless/realtek/rtw88/pci.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/wireless/realtek/rtw88/pci.c b/drivers/net/wireless/realtek/rtw88/pci.c
> index 4d019fd351d8..6ed7d6694572 100644
> --- a/drivers/net/wireless/realtek/rtw88/pci.c
> +++ b/drivers/net/wireless/realtek/rtw88/pci.c
> @@ -1547,6 +1547,7 @@ static const struct pci_device_id rtw_pci_id_table[] = {
>  #endif
>  #ifdef CONFIG_RTW88_8822CE
>  	{ RTK_PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xC822, rtw8822c_hw_spec) },
> +	{ RTK_PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xC82F, rtw8822c_hw_spec) },
>  #endif
>  #ifdef CONFIG_RTW88_8723DE
>  	{ RTK_PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xD723, rtw8723d_hw_spec) },
diff mbox series

Patch

diff --git a/drivers/net/wireless/realtek/rtw88/pci.c b/drivers/net/wireless/realtek/rtw88/pci.c
index 4d019fd351d8..6ed7d6694572 100644
--- a/drivers/net/wireless/realtek/rtw88/pci.c
+++ b/drivers/net/wireless/realtek/rtw88/pci.c
@@ -1547,6 +1547,7 @@  static const struct pci_device_id rtw_pci_id_table[] = {
 #endif
 #ifdef CONFIG_RTW88_8822CE
 	{ RTK_PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xC822, rtw8822c_hw_spec) },
+	{ RTK_PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xC82F, rtw8822c_hw_spec) },
 #endif
 #ifdef CONFIG_RTW88_8723DE
 	{ RTK_PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xD723, rtw8723d_hw_spec) },