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)
Tue, Sep 29, 12:07 AM
Unknown Object (File)
Mon, Sep 28, 2:36 PM
Unknown Object (File)
Fri, Sep 25, 11:17 PM
Unknown Object (File)
Fri, Sep 11, 1:51 AM
Unknown Object (File)
Tue, Sep 8, 8:26 AM
Unknown Object (File)
Mon, Sep 7, 11:46 PM
Unknown Object (File)
Sun, Sep 6, 1:19 PM
Unknown Object (File)
Sat, Sep 5, 11:28 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 Passed
Unit
No Test Coverage
Build Status
Buildable 70156
Build 67039: arc lint + arc unit

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