Page MenuHomeFreeBSD

LinuxKPI: MODULE_DEVICE_TABLE() remove hard coded pci
ClosedPublic

Authored by bz on Jun 25 2025, 8:20 PM.
Tags
None
Referenced Files
F170095814: D51048.id157918.diff
Thu, Sep 3, 12:11 PM
Unknown Object (File)
Wed, Sep 2, 9:04 AM
Unknown Object (File)
Wed, Sep 2, 7:10 AM
Unknown Object (File)
Wed, Sep 2, 6:32 AM
Unknown Object (File)
Wed, Sep 2, 2:42 AM
Unknown Object (File)
Wed, Sep 2, 2:35 AM
Unknown Object (File)
Mon, Aug 31, 1:50 PM
Unknown Object (File)
Mon, Aug 31, 9:39 AM
Subscribers

Details

Summary

While we currently only use MODULE_DEVICE_TABLE() for pci (or so I
thought [*]), this may soon change. Remove a hard coded "pci" for
the bus and use the bus name passed in as _bus.

  • see follow-up change

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

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