1416e87fcSZong-Zhe Yang // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2416e87fcSZong-Zhe Yang /* Copyright(c) 2018-2019  Realtek Corporation
3416e87fcSZong-Zhe Yang  */
4416e87fcSZong-Zhe Yang 
5416e87fcSZong-Zhe Yang #include <linux/module.h>
6416e87fcSZong-Zhe Yang #include <linux/pci.h>
72e86ef41SLee Jones #include "pci.h"
8*f429298dSLarry Finger #include "rtw8822b.h"
9416e87fcSZong-Zhe Yang 
10416e87fcSZong-Zhe Yang static const struct pci_device_id rtw_8822be_id_table[] = {
11416e87fcSZong-Zhe Yang 	{
12416e87fcSZong-Zhe Yang 		PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xB822),
13416e87fcSZong-Zhe Yang 		.driver_data = (kernel_ulong_t)&rtw8822b_hw_spec
14416e87fcSZong-Zhe Yang 	},
15416e87fcSZong-Zhe Yang 	{}
16416e87fcSZong-Zhe Yang };
17416e87fcSZong-Zhe Yang MODULE_DEVICE_TABLE(pci, rtw_8822be_id_table);
18416e87fcSZong-Zhe Yang 
19416e87fcSZong-Zhe Yang static struct pci_driver rtw_8822be_driver = {
20416e87fcSZong-Zhe Yang 	.name = "rtw_8822be",
21416e87fcSZong-Zhe Yang 	.id_table = rtw_8822be_id_table,
22416e87fcSZong-Zhe Yang 	.probe = rtw_pci_probe,
23416e87fcSZong-Zhe Yang 	.remove = rtw_pci_remove,
24416e87fcSZong-Zhe Yang 	.driver.pm = &rtw_pm_ops,
25416e87fcSZong-Zhe Yang 	.shutdown = rtw_pci_shutdown,
26416e87fcSZong-Zhe Yang };
27416e87fcSZong-Zhe Yang module_pci_driver(rtw_8822be_driver);
28416e87fcSZong-Zhe Yang 
29416e87fcSZong-Zhe Yang MODULE_AUTHOR("Realtek Corporation");
30416e87fcSZong-Zhe Yang MODULE_DESCRIPTION("Realtek 802.11ac wireless 8822be driver");
31416e87fcSZong-Zhe Yang MODULE_LICENSE("Dual BSD/GPL");
32