summaryrefslogtreecommitdiffstats
path: root/sys/cam/ata
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2013-04-13 14:03:44 +0000
committermav <mav@FreeBSD.org>2013-04-13 14:03:44 +0000
commit7ae4e14b0e5c2b1e3d759894c1c71ef5b16ae2b3 (patch)
tree3f26fb68aa52119edc33d24134759624fe865125 /sys/cam/ata
parent33ed81146c2acbf96adce269875b2ae64266ed26 (diff)
downloadFreeBSD-src-7ae4e14b0e5c2b1e3d759894c1c71ef5b16ae2b3.zip
FreeBSD-src-7ae4e14b0e5c2b1e3d759894c1c71ef5b16ae2b3.tar.gz
MFprojects/camlock r248894:
Use full freeze while PMP does hard reset. This is only cosmetical change.
Diffstat (limited to 'sys/cam/ata')
-rw-r--r--sys/cam/ata/ata_pmp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/cam/ata/ata_pmp.c b/sys/cam/ata/ata_pmp.c
index 3c8bb51..3047cf0 100644
--- a/sys/cam/ata/ata_pmp.c
+++ b/sys/cam/ata/ata_pmp.c
@@ -190,8 +190,7 @@ pmpfreeze(struct cam_periph *periph, int mask)
i, 0) == CAM_REQ_CMP) {
softc->frozen |= (1 << i);
xpt_acquire_device(dpath->device);
- cam_freeze_devq_arg(dpath,
- RELSIM_RELEASE_RUNLEVEL, CAM_RL_BUS + 1);
+ cam_freeze_devq(dpath);
xpt_free_path(dpath);
}
}
@@ -212,8 +211,7 @@ pmprelease(struct cam_periph *periph, int mask)
xpt_path_path_id(periph->path),
i, 0) == CAM_REQ_CMP) {
softc->frozen &= ~(1 << i);
- cam_release_devq(dpath,
- RELSIM_RELEASE_RUNLEVEL, 0, CAM_RL_BUS + 1, FALSE);
+ cam_release_devq(dpath, 0, 0, 0, FALSE);
xpt_release_device(dpath->device);
xpt_free_path(dpath);
}
OpenPOWER on IntegriCloud