svn commit: r332931 - in head/sys: conf dev/amdsbwd

Eitan Adler eadler at FreeBSD.org
Tue Apr 24 13:07:18 UTC 2018


Author: eadler
Date: Tue Apr 24 13:07:17 2018
New Revision: 332931
URL: https://svnweb.freebsd.org/changeset/base/332931

Log:
  [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

Modified:
  head/sys/conf/options
  head/sys/dev/amdsbwd/amdsbwd.c

Modified: head/sys/conf/options
==============================================================================
--- head/sys/conf/options	Tue Apr 24 12:50:21 2018	(r332930)
+++ head/sys/conf/options	Tue Apr 24 13:07:17 2018	(r332931)
@@ -1006,3 +1006,6 @@ EKCD		opt_ekcd.h
 
 # NVME options
 NVME_USE_NVD	opt_nvme.h
+
+# amdsbwd options
+AMDSBWD_DEBUG	opt_amdsbwd.h

Modified: head/sys/dev/amdsbwd/amdsbwd.c
==============================================================================
--- head/sys/dev/amdsbwd/amdsbwd.c	Tue Apr 24 12:50:21 2018	(r332930)
+++ head/sys/dev/amdsbwd/amdsbwd.c	Tue Apr 24 13:07:17 2018	(r332931)
@@ -49,6 +49,8 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
+#include "opt_amdsbwd.h"
+
 #include <sys/param.h>
 #include <sys/kernel.h>
 #include <sys/module.h>


More information about the svn-src-head mailing list