mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00

New device ID 0xb821 found on TP-Link T2E Tested it with c821 driver. 2.4GHz and 5GHz works. PCI id: 05:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b821 Subsystem: Realtek Semiconductor Co., Ltd. Device b821 Signed-off-by: Jimmy Hon <honyuenkwun@gmail.com> Reviewed-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220407075123.420696-2-honyuenkwun@gmail.com
35 lines
904 B
C
35 lines
904 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 "pci.h"
|
|
#include "rtw8821ce.h"
|
|
|
|
static const struct pci_device_id rtw_8821ce_id_table[] = {
|
|
{
|
|
PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xB821),
|
|
.driver_data = (kernel_ulong_t)&rtw8821c_hw_spec
|
|
},
|
|
{
|
|
PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xC821),
|
|
.driver_data = (kernel_ulong_t)&rtw8821c_hw_spec
|
|
},
|
|
{}
|
|
};
|
|
MODULE_DEVICE_TABLE(pci, rtw_8821ce_id_table);
|
|
|
|
static struct pci_driver rtw_8821ce_driver = {
|
|
.name = "rtw_8821ce",
|
|
.id_table = rtw_8821ce_id_table,
|
|
.probe = rtw_pci_probe,
|
|
.remove = rtw_pci_remove,
|
|
.driver.pm = &rtw_pm_ops,
|
|
.shutdown = rtw_pci_shutdown,
|
|
};
|
|
module_pci_driver(rtw_8821ce_driver);
|
|
|
|
MODULE_AUTHOR("Realtek Corporation");
|
|
MODULE_DESCRIPTION("Realtek 802.11ac wireless 8821ce driver");
|
|
MODULE_LICENSE("Dual BSD/GPL");
|