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
This commit is contained in:
parent
ca7f7593ba
commit
484489d4f2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363422
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user