Update rtw88 based on wireless-testing at 4e051428044d5c47cd2c81c3b154788efe07ee11 (tag: wt-2022-06-10). This is in preparation to apply USB changes to work on these and LinuxKPI for them over the next weeks, as well to debug a reported issue, and possibly extract and upstream some local fixes. MFC after: 3 days
35 lines
867 B
C
35 lines
867 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 "rtw8822b.h"
|
|
|
|
static const struct pci_device_id rtw_8822be_id_table[] = {
|
|
{
|
|
PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xB822),
|
|
.driver_data = (kernel_ulong_t)&rtw8822b_hw_spec
|
|
},
|
|
{}
|
|
};
|
|
MODULE_DEVICE_TABLE(pci, rtw_8822be_id_table);
|
|
|
|
static struct pci_driver rtw_8822be_driver = {
|
|
.name = "rtw_8822be",
|
|
.id_table = rtw_8822be_id_table,
|
|
.probe = rtw_pci_probe,
|
|
.remove = rtw_pci_remove,
|
|
.driver.pm = &rtw_pm_ops,
|
|
.shutdown = rtw_pci_shutdown,
|
|
#if defined(__FreeBSD__)
|
|
.bsddriver.name = KBUILD_MODNAME,
|
|
#endif
|
|
};
|
|
module_pci_driver(rtw_8822be_driver);
|
|
|
|
MODULE_AUTHOR("Realtek Corporation");
|
|
MODULE_DESCRIPTION("Realtek 802.11ac wireless 8822be driver");
|
|
MODULE_LICENSE("Dual BSD/GPL");
|