Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2014 20:45:56 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r260243 - head/sys/dev/aacraid
Message-ID:  <201401032045.s03KjuZv037787@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401032045.s03KjuZv037787>