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
Unknown Object (File)
Tue, Oct 14, 6:18 PM
Unknown Object (File)
Fri, Oct 3, 6:00 AM
Unknown Object (File)
Fri, Oct 3, 1:46 AM
Unknown Object (File)
Thu, Oct 2, 12:08 AM
Unknown Object (File)
Wed, Oct 1, 11:05 PM
Unknown Object (File)
Tue, Sep 30, 8:11 AM
Unknown Object (File)
Sep 14 2025, 7:23 AM
Unknown Object (File)
Sep 13 2025, 1:32 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