Author: sbruno
Date: Fri Jan  3 20:45:56 2014
New Revision: 260243
URL: http://svnweb.freebsd.org/changeset/base/260243

Log:
  Wrap this debug statement in debug defines.  Else, this driver
  will refuse to load.
  
  MFC after:    2 weeks
  Sponsored by: Yahoo! Inc.

Modified:
  head/sys/dev/aacraid/aacraid.c

Modified: head/sys/dev/aacraid/aacraid.c
==============================================================================
--- head/sys/dev/aacraid/aacraid.c      Fri Jan  3 20:27:15 2014        
(r260242)
+++ head/sys/dev/aacraid/aacraid.c      Fri Jan  3 20:45:56 2014        
(r260243)
@@ -1728,7 +1728,9 @@ aac_check_firmware(struct aac_softc *sc)
                device_printf(sc->aac_dev, "Enable 64-bit array\n");
        }
 
+#ifdef AACRAID_DEBUG
        aacraid_get_fw_debug_buffer(sc);
+#endif
        return (0);
 }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to