On Sat, Feb 08, 2020 at 06:19:43AM -0800, Paul Goyette wrote:
The module should be MODULE_CLASS_DRIVER. And there should be a
sys/module/fault/Makefile to build the module, along with changes to
sys/module/Makefile (to descend into the fault directory) and to
src/distrib/sets/lists/modules/mi (for new files). The module init
code should also have appropriate config_{init,fini}_component()
calls for inserting the device into the autoconfig database.
Since all probes have to be hard-coded this is very intrusive and I am
not sure a module makes sense.