mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
rtw89: add missing bsddriver.name assignments for two chipsets
On FreeBSDs we locally set bsddriver.name in struct pci_driver to have the same name for all chipsets. This helps with, e.g., device enumeration. For two chipsets the manual entry was missing. Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
7ff12dd25a
commit
ce15215bef
2 changed files with 6 additions and 0 deletions
|
|
@ -78,6 +78,9 @@ static struct pci_driver rtw89_8851be_driver = {
|
|||
.probe = rtw89_pci_probe,
|
||||
.remove = rtw89_pci_remove,
|
||||
.driver.pm = &rtw89_pm_ops,
|
||||
#if defined(__FreeBSD__)
|
||||
.bsddriver.name = KBUILD_MODNAME,
|
||||
#endif
|
||||
};
|
||||
module_pci_driver(rtw89_8851be_driver);
|
||||
|
||||
|
|
|
|||
|
|
@ -82,6 +82,9 @@ static struct pci_driver rtw89_8852be_driver = {
|
|||
.probe = rtw89_pci_probe,
|
||||
.remove = rtw89_pci_remove,
|
||||
.driver.pm = &rtw89_pm_ops,
|
||||
#if defined(__FreeBSD__)
|
||||
.bsddriver.name = KBUILD_MODNAME,
|
||||
#endif
|
||||
};
|
||||
module_pci_driver(rtw89_8852be_driver);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue