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)
Fri, Aug 14, 3:22 AM
Unknown Object (File)
Tue, Aug 11, 10:55 AM
Unknown Object (File)
Mon, Aug 10, 12:35 AM
Unknown Object (File)
Sun, Aug 9, 11:56 AM
Unknown Object (File)
Sun, Aug 9, 11:55 AM
Unknown Object (File)
Fri, Aug 7, 6:52 AM
Unknown Object (File)
Jul 27 2026, 8:57 AM
Unknown Object (File)
Jul 24 2026, 12:51 PM
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