Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2017 10:50:46 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315857 - head/sys/cam/scsi
Message-ID:  <201703231050.v2NAokvU057057@repo.freebsd.org>

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



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