Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2012 22:08:33 +0000 (UTC)
From:      "Kenneth D. Merry" <ken@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r230033 - head/sys/cam/ctl
Message-ID:  <201201122208.q0CM8XhE028505@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ken
Date: Thu Jan 12 22:08:33 2012
New Revision: 230033
URL: http://svn.freebsd.org/changeset/base/230033

Log:
  Silence some unnecessary verbosity.
  
  Reported by:	mav
  MFC after:	1 month

Modified:
  head/sys/cam/ctl/scsi_ctl.c

Modified: head/sys/cam/ctl/scsi_ctl.c
==============================================================================
--- head/sys/cam/ctl/scsi_ctl.c	Thu Jan 12 21:21:20 2012	(r230032)
+++ head/sys/cam/ctl/scsi_ctl.c	Thu Jan 12 22:08:33 2012	(r230033)
@@ -305,8 +305,10 @@ ctlfeasync(void *callback_arg, uint32_t 
 
 		/* Don't attach if it doesn't support target mode */
 		if ((cpi->target_sprt & PIT_PROCESSOR) == 0) {
+#ifdef CTLFEDEBUG
 			printf("%s: SIM %s%d doesn't support target mode\n",
 			       __func__, cpi->dev_name, cpi->unit_number);
+#endif
 			break;
 		}
 
@@ -421,8 +423,10 @@ ctlfeasync(void *callback_arg, uint32_t 
 		 * XXX KDM need to figure out whether we're the master or
 		 * slave.
 		 */
+#ifdef CTLFEDEBUG
 		printf("%s: calling ctl_frontend_register() for %s%d\n",
 		       __func__, cpi->dev_name, cpi->unit_number);
+#endif
 		retval = ctl_frontend_register(fe, /*master_SC*/ 1);
 		if (retval != 0) {
 			printf("%s: ctl_frontend_register() failed with "



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