0001
0002
0003
0004
0005 #include <linux/module.h>
0006 #include <linux/pci.h>
0007 #include "pci.h"
0008 #include "rtw8822c.h"
0009
0010 static const struct pci_device_id rtw_8822ce_id_table[] = {
0011 {
0012 PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xC822),
0013 .driver_data = (kernel_ulong_t)&rtw8822c_hw_spec
0014 },
0015 {
0016 PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xC82F),
0017 .driver_data = (kernel_ulong_t)&rtw8822c_hw_spec
0018 },
0019 {}
0020 };
0021 MODULE_DEVICE_TABLE(pci, rtw_8822ce_id_table);
0022
0023 static struct pci_driver rtw_8822ce_driver = {
0024 .name = "rtw_8822ce",
0025 .id_table = rtw_8822ce_id_table,
0026 .probe = rtw_pci_probe,
0027 .remove = rtw_pci_remove,
0028 .driver.pm = &rtw_pm_ops,
0029 .shutdown = rtw_pci_shutdown,
0030 };
0031 module_pci_driver(rtw_8822ce_driver);
0032
0033 MODULE_AUTHOR("Realtek Corporation");
0034 MODULE_DESCRIPTION("Realtek 802.11ac wireless 8822ce driver");
0035 MODULE_LICENSE("Dual BSD/GPL");