xref: /linux/drivers/net/wireless/realtek/rtw88/rtw8822be.c (revision 416e87fcc780cae8d72cb9370fa0f46007faa69a)
1*416e87fcSZong-Zhe Yang // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2*416e87fcSZong-Zhe Yang /* Copyright(c) 2018-2019  Realtek Corporation
3*416e87fcSZong-Zhe Yang  */
4*416e87fcSZong-Zhe Yang 
5*416e87fcSZong-Zhe Yang #include <linux/module.h>
6*416e87fcSZong-Zhe Yang #include <linux/pci.h>
7*416e87fcSZong-Zhe Yang #include "rtw8822be.h"
8*416e87fcSZong-Zhe Yang 
9*416e87fcSZong-Zhe Yang static const struct pci_device_id rtw_8822be_id_table[] = {
10*416e87fcSZong-Zhe Yang 	{
11*416e87fcSZong-Zhe Yang 		PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xB822),
12*416e87fcSZong-Zhe Yang 		.driver_data = (kernel_ulong_t)&rtw8822b_hw_spec
13*416e87fcSZong-Zhe Yang 	},
14*416e87fcSZong-Zhe Yang 	{}
15*416e87fcSZong-Zhe Yang };
16*416e87fcSZong-Zhe Yang MODULE_DEVICE_TABLE(pci, rtw_8822be_id_table);
17*416e87fcSZong-Zhe Yang 
18*416e87fcSZong-Zhe Yang static struct pci_driver rtw_8822be_driver = {
19*416e87fcSZong-Zhe Yang 	.name = "rtw_8822be",
20*416e87fcSZong-Zhe Yang 	.id_table = rtw_8822be_id_table,
21*416e87fcSZong-Zhe Yang 	.probe = rtw_pci_probe,
22*416e87fcSZong-Zhe Yang 	.remove = rtw_pci_remove,
23*416e87fcSZong-Zhe Yang 	.driver.pm = &rtw_pm_ops,
24*416e87fcSZong-Zhe Yang 	.shutdown = rtw_pci_shutdown,
25*416e87fcSZong-Zhe Yang };
26*416e87fcSZong-Zhe Yang module_pci_driver(rtw_8822be_driver);
27*416e87fcSZong-Zhe Yang 
28*416e87fcSZong-Zhe Yang MODULE_AUTHOR("Realtek Corporation");
29*416e87fcSZong-Zhe Yang MODULE_DESCRIPTION("Realtek 802.11ac wireless 8822be driver");
30*416e87fcSZong-Zhe Yang MODULE_LICENSE("Dual BSD/GPL");
31