[patch] MFI mfivar.h needs to include the option header

Andrew Boyer aboyer at averesystems.com
Tue Jul 10 16:44:03 UTC 2012


sys/dev/mfivar.h contains references to MFI_DEBUG, but it never gets turned on unless the file also includes opt_mfi.h.

-Andrew

Index: sys/dev/mfi/mfivar.h
===================================================================
--- sys/dev/mfi/mfivar.h	(revision 238348)
+++ sys/dev/mfi/mfivar.h	(working copy)
@@ -61,6 +61,7 @@
 
 #include <sys/types.h>
 #include <sys/taskqueue.h>
+#include "opt_mfi.h"
 
 /*
  * SCSI structures and definitions are used from here, but no linking

--------------------------------------------------
Andrew Boyer	aboyer at averesystems.com






More information about the freebsd-scsi mailing list