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
F132580275: D51048.id.diff
Sat, Oct 18, 3:43 AM
F132569236: D51048.diff
Sat, Oct 18, 1:33 AM
F132567282: D51048.id157620.diff
Sat, Oct 18, 1:11 AM
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
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