aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-07-22 17:36:28 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-07-22 17:36:28 +0000
commit484489d4f2407a755c6ec9f06ccdbc53b67dd57c (patch)
tree873ed759a2ee569aa0258caf6aaa8a20661b2cde
parentca7f7593ba7c3e5f930089bc07b20fdd5ab5d6cc (diff)
downloadsrc-484489d4f2407a755c6ec9f06ccdbc53b67dd57c.tar.gz
src-484489d4f2407a755c6ec9f06ccdbc53b67dd57c.zip
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
Notes
Notes: svn path=/head/; revision=363422
-rw-r--r--sys/cam/mmc/mmc_xpt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/cam/mmc/mmc_xpt.c b/sys/cam/mmc/mmc_xpt.c
index b4ea0968d135..c1d0abeb0ade 100644
--- a/sys/cam/mmc/mmc_xpt.c
+++ b/sys/cam/mmc/mmc_xpt.c
@@ -574,10 +574,11 @@ mmcprobe_start(struct cam_periph *periph, union ccb *start_ccb)
/* 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) {