12774f206SBjoern A. Zeeb // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 22774f206SBjoern A. Zeeb /* Copyright(c) 2018-2019 Realtek Corporation 32774f206SBjoern A. Zeeb */ 42774f206SBjoern A. Zeeb 52774f206SBjoern A. Zeeb #include <linux/module.h> 62774f206SBjoern A. Zeeb #include <linux/pci.h> 72774f206SBjoern A. Zeeb #include "pci.h" 8*9c951734SBjoern A. Zeeb #include "rtw8723d.h" 92774f206SBjoern A. Zeeb 102774f206SBjoern A. Zeeb static const struct pci_device_id rtw_8723de_id_table[] = { 112774f206SBjoern A. Zeeb { 122774f206SBjoern A. Zeeb PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xD723), 132774f206SBjoern A. Zeeb .driver_data = (kernel_ulong_t)&rtw8723d_hw_spec 142774f206SBjoern A. Zeeb }, 152774f206SBjoern A. Zeeb {} 162774f206SBjoern A. Zeeb }; 172774f206SBjoern A. Zeeb MODULE_DEVICE_TABLE(pci, rtw_8723de_id_table); 182774f206SBjoern A. Zeeb 192774f206SBjoern A. Zeeb static struct pci_driver rtw_8723de_driver = { 202774f206SBjoern A. Zeeb .name = "rtw_8723de", 212774f206SBjoern A. Zeeb .id_table = rtw_8723de_id_table, 222774f206SBjoern A. Zeeb .probe = rtw_pci_probe, 232774f206SBjoern A. Zeeb .remove = rtw_pci_remove, 242774f206SBjoern A. Zeeb .driver.pm = &rtw_pm_ops, 252774f206SBjoern A. Zeeb .shutdown = rtw_pci_shutdown, 262774f206SBjoern A. Zeeb #if defined(__FreeBSD__) 272774f206SBjoern A. Zeeb .bsddriver.name = KBUILD_MODNAME, 282774f206SBjoern A. Zeeb #endif 292774f206SBjoern A. Zeeb }; 302774f206SBjoern A. Zeeb module_pci_driver(rtw_8723de_driver); 312774f206SBjoern A. Zeeb 322774f206SBjoern A. Zeeb MODULE_AUTHOR("Realtek Corporation"); 332774f206SBjoern A. Zeeb MODULE_DESCRIPTION("Realtek 802.11n wireless 8723de driver"); 342774f206SBjoern A. Zeeb MODULE_LICENSE("Dual BSD/GPL"); 35