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, Aug 27, 7:28 AM
Unknown Object (File)
Tue, Aug 25, 6:56 PM
Unknown Object (File)
Tue, Aug 25, 9:05 AM
Unknown Object (File)
Sun, Aug 23, 12:49 PM
Unknown Object (File)
Fri, Aug 21, 8:30 PM
Unknown Object (File)
Fri, Aug 21, 1:27 PM
Unknown Object (File)
Mon, Aug 17, 6:54 PM
Unknown Object (File)
Wed, Aug 12, 7:12 PM
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