Page MenuHomeFreeBSD

LinuxKPI: move MODULE_DEVICE_TABLE from pci.h to module.h
ClosedPublic

Authored by bz on Jan 26 2026, 9:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 23, 4:20 AM
Unknown Object (File)
Tue, Jul 21, 7:07 PM
Unknown Object (File)
Wed, Jul 15, 7:04 AM
Unknown Object (File)
Wed, Jul 15, 7:04 AM
Unknown Object (File)
Sun, Jul 12, 3:24 PM
Unknown Object (File)
Wed, Jul 8, 11:12 AM
Unknown Object (File)
Wed, Jul 8, 10:25 AM
Unknown Object (File)
Jul 7 2026, 6:10 AM
Subscribers

Details

Summary

Move the MODULE_DEVICE_TABLE macro to module.h where it belongs
in preparation for different bus (e.g., USB, SDIO) support.
The various struct <bus>_device_id, if not elsewhere, should be
defined in mod_devicetable.h.

This is the next step after 2f5666c1727c.

No functional changes.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

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

Event Timeline

bz requested review of this revision.Jan 26 2026, 9:06 PM

This is just moving a macro from one file to the other? Anyone? Otherwise it will go in within 48 hours.

This revision is now accepted and ready to land.Feb 9 2026, 2:21 PM