Page MenuHomeFreeBSD

LinuxKPI: allow bsddriver name to be set for PCI
ClosedPublic

Authored by bz on Mar 24 2022, 1:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 19 2024, 10:09 AM
Unknown Object (File)
Oct 12 2024, 4:06 AM
Unknown Object (File)
Oct 4 2024, 4:33 PM
Unknown Object (File)
Oct 1 2024, 10:19 PM
Unknown Object (File)
Oct 1 2024, 10:03 PM
Unknown Object (File)
Sep 28 2024, 7:25 PM
Unknown Object (File)
Sep 26 2024, 11:21 AM
Unknown Object (File)
Sep 25 2024, 12:46 PM
Subscribers

Details

Summary

Allow a driver to overwrite the bsddriver name (we use for pci and
for wlan parent devices). This allows us to to set
.bsddriver.name in struct pci_driver passed to module_pci_driver()
and with that set the BSD driver name while retaining the Linux .name
one.

This is helpful for divers which have different parts depending on
chipset and with that would change driver names which is highly
confusing especially for configuration. One example is an upcoming
rtw88 driver which would be rtw_8822be or rtw_8822ce depending on
chipset.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable