summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2017-04-06 06:31:48 +0000
committermav <mav@FreeBSD.org>2017-04-06 06:31:48 +0000
commitb312775241037f64570933d70476453ea393724a (patch)
tree635ceb3a2dd1ab2d0803f2ac5ff7c1a366e808ba /sys/cam
parentaa52aa7ef3e1008d025b80cd2f4130c4fb9ac920 (diff)
downloadFreeBSD-src-b312775241037f64570933d70476453ea393724a.zip
FreeBSD-src-b312775241037f64570933d70476453ea393724a.tar.gz
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`.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/scsi/scsi_da.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c
index 1cae0fd..9b10230 100644
--- a/sys/cam/scsi/scsi_da.c
+++ b/sys/cam/scsi/scsi_da.c
@@ -2533,7 +2533,6 @@ daregister(struct cam_periph *periph, void *arg)
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));
OpenPOWER on IntegriCloud