svn commit: r268395 - head/sys/dev/isp
Alexander Motin
mav at FreeBSD.org
Tue Jul 8 13:01:36 UTC 2014
Author: mav
Date: Tue Jul 8 13:01:36 2014
New Revision: 268395
URL: http://svnweb.freebsd.org/changeset/base/268395
Log:
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.
MFC after: 1 week
Modified:
head/sys/dev/isp/isp_freebsd.c
Modified: head/sys/dev/isp/isp_freebsd.c
==============================================================================
--- head/sys/dev/isp/isp_freebsd.c Tue Jul 8 12:46:33 2014 (r268394)
+++ head/sys/dev/isp/isp_freebsd.c Tue Jul 8 13:01:36 2014 (r268395)
@@ -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-all
mailing list