Page MenuHomeFreeBSD

LinuxKPI: add general module_driver(), use it for module_pci_driver()
ClosedPublic

Authored by bz on Aug 28 2024, 2:26 PM.
Tags
None
Referenced Files
F155014586: D46467.id142965.diff
Thu, Apr 30, 4:57 PM
F154941745: D46467.diff
Thu, Apr 30, 5:27 AM
Unknown Object (File)
Mon, Apr 27, 2:42 PM
Unknown Object (File)
Fri, Apr 24, 7:18 PM
Unknown Object (File)
Tue, Apr 7, 2:16 PM
Unknown Object (File)
Sat, Apr 4, 4:14 AM
Unknown Object (File)
Sat, Apr 4, 1:39 AM
Unknown Object (File)
Sat, Apr 4, 12:00 AM
Subscribers

Details

Summary

Factor out module_pci_driver() from 366d68f283793 into a general
module_driver() so other bus attachments can also use the same kind
of macro without duplicating all the lines.

Redefine module_pci_driver() using the new general macro.

No functional changes intended.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 59215
Build 56102: arc lint + arc unit