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)
Sun, May 17, 6:16 AM
Unknown Object (File)
Fri, May 15, 1:13 AM
Unknown Object (File)
Tue, May 12, 9:36 AM
Unknown Object (File)
Mon, May 11, 7:25 PM
Unknown Object (File)
Sun, May 10, 1:07 PM
Unknown Object (File)
Sun, May 10, 1:03 PM
Unknown Object (File)
Sat, May 2, 9:36 AM
Unknown Object (File)
Sat, May 2, 9:19 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