Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2020 17:36:29 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r363422 - head/sys/cam/mmc
Message-ID:  <202007221736.06MHaTUV033339@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Wed Jul 22 17:36:28 2020
New Revision: 363422
URL: https://svnweb.freebsd.org/changeset/base/363422

Log:
  mmc_xpt: Fix debug messages
  
  PROBE_RESET was printed for PROBE_IDENTIFY, fix this.
  While here add one for the PROBE_RESET.
  
  Submitted by:	kibab

Modified:
  head/sys/cam/mmc/mmc_xpt.c

Modified: head/sys/cam/mmc/mmc_xpt.c
==============================================================================
--- head/sys/cam/mmc/mmc_xpt.c	Wed Jul 22 17:33:35 2020	(r363421)
+++ head/sys/cam/mmc/mmc_xpt.c	Wed Jul 22 17:36:28 2020	(r363422)
@@ -574,10 +574,11 @@ mmcprobe_start(struct cam_periph *periph, union ccb *s
 	/* Here is the place where the identify fun begins */
 	switch (softc->action) {
 	case PROBE_RESET:
+		CAM_DEBUG(start_ccb->ccb_h.path, CAM_DEBUG_PROBE, ("Start with PROBE_RESET\n"));
 		/* FALLTHROUGH */
 	case PROBE_IDENTIFY:
 		xpt_path_inq(&start_ccb->cpi, periph->path);
-		CAM_DEBUG(start_ccb->ccb_h.path, CAM_DEBUG_PROBE, ("Start with PROBE_RESET\n"));
+		CAM_DEBUG(start_ccb->ccb_h.path, CAM_DEBUG_PROBE, ("Start with PROBE_IDENTIFY\n"));
 		init_standard_ccb(start_ccb, XPT_GET_TRAN_SETTINGS);
 		xpt_action(start_ccb);
 		if (cts->ios.power_mode != power_off) {



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