svn commit: r275497 - stable/10/sys/dev/isp
Alexander Motin
mav at FreeBSD.org
Fri Dec 5 07:46:29 UTC 2014
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 {
More information about the svn-src-stable-10
mailing list