aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2024-04-09 22:02:58 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2024-07-18 17:19:18 +0000
commit24687a65dd7f7eb4042f783b9d0f5af4f969f13c (patch)
treed637c9a41d768793766f9fd00aaee7fcb876b13d
parent15e2ffbbfade7cf5e37ff4e3259f698436d425d4 (diff)
sys: Enable NVMe drivers on all architectures
The NVMe drivers are portable and are already included statically in GENERIC on other architectures such as aarch64 and riscv64. Reviewed by: imp Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D44690 (cherry picked from commit 16e846fa1ed3c97419b55b292f77b0f4209f0875)
-rw-r--r--share/man/man4/Makefile11
-rw-r--r--sys/modules/Makefile8
2 files changed, 4 insertions, 15 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index aa55108d8b4e..612b063de3de 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -408,9 +408,9 @@ MAN= aac.4 \
${_if_ntb.4} \
null.4 \
numa.4 \
- ${_nvd.4} \
+ nvd.4 \
${_nvdimm.4} \
- ${_nvme.4} \
+ nvme.4 \
${_nvram.4} \
oce.4 \
ocs_fc.4\
@@ -843,8 +843,6 @@ _ntb_hw_amd.4= ntb_hw_amd.4
_ntb_hw_intel.4= ntb_hw_intel.4
_ntb_hw_plx.4= ntb_hw_plx.4
_ntb_transport.4=ntb_transport.4
-_nvd.4= nvd.4
-_nvme.4= nvme.4
_nvram.4= nvram.4
_padlock.4= padlock.4
_pchtherm.4= pchtherm.4
@@ -892,11 +890,6 @@ _vmm.4= vmm.4
.endif
.endif
-.if ${MACHINE_CPUARCH} == "powerpc"
-_nvd.4= nvd.4
-_nvme.4= nvme.4
-.endif
-
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" || \
${MACHINE_CPUARCH} == "aarch64"
_gve.4= gve.4
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 56a28b4b71ec..674ae1a86bc5 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -291,9 +291,9 @@ SUBDIR= \
nmdm \
nullfs \
${_ntb} \
- ${_nvd} \
+ nvd \
${_nvdimm} \
- ${_nvme} \
+ nvme \
${_nvram} \
oce \
${_ocs_fc} \
@@ -798,8 +798,6 @@ _iwmfw= iwmfw
_iwnfw= iwnfw
.endif
_nfe= nfe
-_nvd= nvd
-_nvme= nvme
_nvram= nvram
.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
_padlock= padlock
@@ -881,8 +879,6 @@ _cfi= cfi
_cpufreq= cpufreq
_exca= exca
_ffec= ffec
-_nvd= nvd
-_nvme= nvme
.endif
.if ${MACHINE_ARCH:Mpowerpc64*} != ""