svn commit: r315857 - head/sys/cam/scsi

Alexander Motin mav at FreeBSD.org
Thu Mar 23 10:50:47 UTC 2017


Author: mav
Date: Thu Mar 23 10:50:45 2017
New Revision: 315857
URL: https://svnweb.freebsd.org/changeset/base/315857

Log:
  Remove "UNMAPPED" messages printed on da periph attach.
  
  I think this message is not very useful for end user.  Also its formatting
  does not match other messages printed at that time.  Those who really need
  this information can always find it in `camcontrol negotiate daX -v`.
  
  MFC after:	2 weeks

Modified:
  head/sys/cam/scsi/scsi_da.c

Modified: head/sys/cam/scsi/scsi_da.c
==============================================================================
--- head/sys/cam/scsi/scsi_da.c	Thu Mar 23 10:48:10 2017	(r315856)
+++ head/sys/cam/scsi/scsi_da.c	Thu Mar 23 10:50:45 2017	(r315857)
@@ -2546,7 +2546,6 @@ daregister(struct cam_periph *periph, vo
 	if ((cpi.hba_misc & PIM_UNMAPPED) != 0) {
 		softc->unmappedio = 1;
 		softc->disk->d_flags |= DISKFLAG_UNMAPPED_BIO;
-		xpt_print(periph->path, "UNMAPPED\n");
 	}
 	cam_strvis(softc->disk->d_descr, cgd->inq_data.vendor,
 	    sizeof(cgd->inq_data.vendor), sizeof(softc->disk->d_descr));


More information about the svn-src-head mailing list