svn commit: r316560 - stable/11/sys/cam/scsi

Alexander Motin mav at FreeBSD.org
Thu Apr 6 06:31:49 UTC 2017


Author: mav
Date: Thu Apr  6 06:31:48 2017
New Revision: 316560
URL: https://svnweb.freebsd.org/changeset/base/316560

Log:
  MFC r315857: 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`.

Modified:
  stable/11/sys/cam/scsi/scsi_da.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/cam/scsi/scsi_da.c
==============================================================================
--- stable/11/sys/cam/scsi/scsi_da.c	Thu Apr  6 06:11:04 2017	(r316559)
+++ stable/11/sys/cam/scsi/scsi_da.c	Thu Apr  6 06:31:48 2017	(r316560)
@@ -2533,7 +2533,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-all mailing list