From 66e77f8d1cb185966fe3209dee7b5621eca44e96 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Tue, 24 Apr 2018 13:07:17 +0000 Subject: [PATCH] [amdsbwd] teach amdsbwd that it has options AMDSBWD_DEBUG was previously checked for as a #define but it was not possible to define it Reviewed by: kevans Discussed with: kenm --- sys/conf/options | 3 +++ sys/dev/amdsbwd/amdsbwd.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/sys/conf/options b/sys/conf/options index 980cf73df88..e2a09a4b51d 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -1006,3 +1006,6 @@ EKCD opt_ekcd.h # NVME options NVME_USE_NVD opt_nvme.h + +# amdsbwd options +AMDSBWD_DEBUG opt_amdsbwd.h diff --git a/sys/dev/amdsbwd/amdsbwd.c b/sys/dev/amdsbwd/amdsbwd.c index 81cf2cbc854..16466627abe 100644 --- a/sys/dev/amdsbwd/amdsbwd.c +++ b/sys/dev/amdsbwd/amdsbwd.c @@ -49,6 +49,8 @@ #include __FBSDID("$FreeBSD$"); +#include "opt_amdsbwd.h" + #include #include #include