aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2023-06-13 03:37:10 +0000
committerWarner Losh <imp@FreeBSD.org>2023-06-13 03:41:06 +0000
commitbdc81eeda05d3af80254f6aac95759b07f13f2b7 (patch)
tree237e313f3742dfa3a0585fb5570820eb97fff6f1 /sys
parent0449bc249b78a8c85afe375e581432351f90427d (diff)
downloadsrc-bdc81eeda05d3af80254f6aac95759b07f13f2b7.tar.gz
src-bdc81eeda05d3af80254f6aac95759b07f13f2b7.zip
nvme: Switch to nda by default
We already run nda by default on all the !x86 architectures. Switch the default to nda. nda created nvd compatibility links by default, so this should be a nop. If this causes problems for your application, set hw.nvme.use_nvd=1 in your loader.conf. Sponsored by: Netflix
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/nvme/nvme_sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/nvme/nvme_sysctl.c b/sys/dev/nvme/nvme_sysctl.c
index d6011bc34951..c238c86af5a2 100644
--- a/sys/dev/nvme/nvme_sysctl.c
+++ b/sys/dev/nvme/nvme_sysctl.c
@@ -38,7 +38,7 @@ __FBSDID("$FreeBSD$");
#include "nvme_private.h"
#ifndef NVME_USE_NVD
-#define NVME_USE_NVD 1
+#define NVME_USE_NVD 0
#endif
int nvme_use_nvd = NVME_USE_NVD;