Bug 232148

Summary: NVME and loader src.conf knobs missing src.conf(5) descriptions
Product: Base System Reporter: Ed Maste <emaste>
Component: miscAssignee: Warner Losh <imp>
Status: Closed FIXED    
Severity: Affects Only Me CC: imp, kevans, val, wma
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Ed Maste freebsd_committer freebsd_triage 2018-10-10 12:51:06 UTC
Running makeman in tools/build/options reports a number of missing descriptions:

no description found for WITH_LOADER_FORCE_LE, skipping
no description found for WITH_LOADER_GELI, skipping
no description found for WITHOUT_LOADER_LUA, skipping
no description found for WITHOUT_NVME, skipping
no description found for WITH_NVME, skipping
Comment 1 Warner Losh freebsd_committer freebsd_triage 2018-10-10 13:47:48 UTC
I'll take care of this...
Comment 2 Val Packett 2019-03-10 15:23:28 UTC
Does WITH_NVME/WITHOUT_NVME do anything at all?

The only mention of WITH_NVME in the code is in camcontrol.c and it's defined in the makefile in CFLAGS as -DWITH_NVME.

Looks like nvme support is determined by kernel configs — adding 'device nvme' and 'device nvd' to sys/arm64/conf/GENERIC was enough to enable the drivers on aarch64…
Comment 3 Kyle Evans freebsd_committer freebsd_triage 2019-03-10 15:25:52 UTC
(In reply to Greg V from comment #2)

Sure, see [0]; WITH/WITHOUT typically get converted to MK_ knob values and are checked as such.

[0] http://src.illumos.org/source/search?q=MK_NVME&defs=&refs=&path=&hist=&project=freebsd-head
Comment 4 Warner Losh freebsd_committer freebsd_triage 2021-07-07 02:00:12 UTC
All but WITH_LOADER_FORCE_LE are in the src.conf.
LOADER_FORCE_LE is no longer in the tree.