svn commit: r230033 - head/sys/cam/ctl
Kenneth D. Merry
ken at FreeBSD.org
Thu Jan 12 22:08:33 UTC 2012
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 "
More information about the svn-src-head
mailing list