Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Dec 2014 07:46:29 +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-10@freebsd.org
Subject:   svn commit: r275497 - stable/10/sys/dev/isp
Message-ID:  <201412050746.sB57kT87048190@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Fri Dec  5 07:46:28 2014
New Revision: 275497
URL: https://svnweb.freebsd.org/changeset/base/275497

Log:
  MFC r268395:
  Pass correct command that should be aborted to ISPCTL_ABORT_CMD.
  
  This makes XPT_ABORT to work for me on initiator side of isp(4).
  Previous code was trying to abort the XPT_ABORT itself and failed.

Modified:
  stable/10/sys/dev/isp/isp_freebsd.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/isp/isp_freebsd.c
==============================================================================
--- stable/10/sys/dev/isp/isp_freebsd.c	Fri Dec  5 07:29:31 2014	(r275496)
+++ stable/10/sys/dev/isp/isp_freebsd.c	Fri Dec  5 07:46:28 2014	(r275497)
@@ -5107,7 +5107,7 @@ isp_action(struct cam_sim *sim, union cc
 			break;
 #endif
 		case XPT_SCSI_IO:
-			error = isp_control(isp, ISPCTL_ABORT_CMD, ccb);
+			error = isp_control(isp, ISPCTL_ABORT_CMD, accb);
 			if (error) {
 				ccb->ccb_h.status = CAM_UA_ABORT;
 			} else {



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