| 1 |
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause |
| 2 |
/* Copyright(c) 2025 Realtek Corporation |
| 3 |
*/ |
| 4 |
|
| 5 |
#include <linux/module.h> |
| 6 |
#include <linux/pci.h> |
| 7 |
#include "pci.h" |
| 8 |
#include "rtw8814a.h" |
| 9 |
|
| 10 |
static const struct pci_device_id rtw_8814ae_id_table[] = { |
| 11 |
{ |
| 12 |
PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8813), |
| 13 |
.driver_data = (kernel_ulong_t)&rtw8814a_hw_spec |
| 14 |
}, |
| 15 |
{} |
| 16 |
}; |
| 17 |
MODULE_DEVICE_TABLE(pci, rtw_8814ae_id_table); |
| 18 |
|
| 19 |
static struct pci_driver rtw_8814ae_driver = { |
| 20 |
.name = KBUILD_MODNAME, |
| 21 |
.id_table = rtw_8814ae_id_table, |
| 22 |
.probe = rtw_pci_probe, |
| 23 |
.remove = rtw_pci_remove, |
| 24 |
.driver.pm = &rtw_pm_ops, |
| 25 |
.shutdown = rtw_pci_shutdown, |
| 26 |
}; |
| 27 |
module_pci_driver(rtw_8814ae_driver); |
| 28 |
|
| 29 |
MODULE_AUTHOR("Bitterblue Smith <[email protected]>"); |
| 30 |
MODULE_DESCRIPTION("Realtek 802.11ac wireless 8814ae driver"); |
| 31 |
MODULE_LICENSE("Dual BSD/GPL"); |