
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] Signed-off-by: Aaron Ma <aaron.ma@canonical.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200612082745.204400-1-aaron.ma@canonical.com
35 lines
887 B
C
35 lines
887 B
C
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
|
|
/* Copyright(c) 2018-2019 Realtek Corporation
|
|
*/
|
|
|
|
#include <linux/module.h>
|
|
#include <linux/pci.h>
|
|
#include "rtw8822ce.h"
|
|
|
|
static const struct pci_device_id rtw_8822ce_id_table[] = {
|
|
{
|
|
PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xC822),
|
|
.driver_data = (kernel_ulong_t)&rtw8822c_hw_spec
|
|
},
|
|
{
|
|
PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xC82F),
|
|
.driver_data = (kernel_ulong_t)&rtw8822c_hw_spec
|
|
},
|
|
{}
|
|
};
|
|
MODULE_DEVICE_TABLE(pci, rtw_8822ce_id_table);
|
|
|
|
static struct pci_driver rtw_8822ce_driver = {
|
|
.name = "rtw_8822ce",
|
|
.id_table = rtw_8822ce_id_table,
|
|
.probe = rtw_pci_probe,
|
|
.remove = rtw_pci_remove,
|
|
.driver.pm = &rtw_pm_ops,
|
|
.shutdown = rtw_pci_shutdown,
|
|
};
|
|
module_pci_driver(rtw_8822ce_driver);
|
|
|
|
MODULE_AUTHOR("Realtek Corporation");
|
|
MODULE_DESCRIPTION("Realtek 802.11ac wireless 8822ce driver");
|
|
MODULE_LICENSE("Dual BSD/GPL");
|