svn commit: r363422 - head/sys/cam/mmc
Emmanuel Vadot
manu at FreeBSD.org
Wed Jul 22 17:36:29 UTC 2020
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) {
More information about the svn-src-all
mailing list