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, Mar 12, 10:00 PM
Unknown Object (File)
Thu, Mar 12, 5:12 PM
Unknown Object (File)
Thu, Mar 12, 10:35 AM
Unknown Object (File)
Wed, Mar 11, 10:39 AM
Unknown Object (File)
Mon, Mar 9, 9:54 AM
Unknown Object (File)
Mon, Mar 9, 9:54 AM
Unknown Object (File)
Mon, Feb 23, 7:11 PM
Unknown Object (File)
Mon, Feb 23, 8:01 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