Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2013 18:48:10 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r256215 - stable/9/sys/cam/ata
Message-ID:  <201310091848.r99ImAPH055012@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Wed Oct  9 18:48:10 2013
New Revision: 256215
URL: http://svnweb.freebsd.org/changeset/base/256215

Log:
  MFC r249438:
  Use full freeze while PMP does hard reset. This is only cosmetical change.

Modified:
  stable/9/sys/cam/ata/ata_pmp.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/cam/ata/ata_pmp.c
==============================================================================
--- stable/9/sys/cam/ata/ata_pmp.c	Wed Oct  9 18:45:42 2013	(r256214)
+++ stable/9/sys/cam/ata/ata_pmp.c	Wed Oct  9 18:48:10 2013	(r256215)
@@ -193,8 +193,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);
 		}
 	}
@@ -215,8 +214,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);
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310091848.r99ImAPH055012>