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)
Wed, Nov 12, 2:21 AM
Unknown Object (File)
Sat, Nov 8, 12:54 AM
Unknown Object (File)
Thu, Nov 6, 4:49 AM
Unknown Object (File)
Nov 1 2025, 4:44 PM
Unknown Object (File)
Oct 20 2025, 6:33 PM
Unknown Object (File)
Oct 18 2025, 3:43 AM
Unknown Object (File)
Oct 18 2025, 1:33 AM
Unknown Object (File)
Oct 18 2025, 1:11 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