svn commit: r249438 - head/sys/cam/ata
Alexander Motin
mav at FreeBSD.org
Sat Apr 13 14:03:44 UTC 2013
Author: mav
Date: Sat Apr 13 14:03:44 2013
New Revision: 249438
URL: http://svnweb.freebsd.org/changeset/base/249438
Log:
MFprojects/camlock r248894:
Use full freeze while PMP does hard reset. This is only cosmetical change.
Modified:
head/sys/cam/ata/ata_pmp.c
Modified: head/sys/cam/ata/ata_pmp.c
==============================================================================
--- head/sys/cam/ata/ata_pmp.c Sat Apr 13 10:31:45 2013 (r249437)
+++ head/sys/cam/ata/ata_pmp.c Sat Apr 13 14:03:44 2013 (r249438)
@@ -190,8 +190,7 @@ pmpfreeze(struct cam_periph *periph, int
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, in
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);
}
More information about the svn-src-head
mailing list