so use the appropriate define to report that.

Index: isp_openbsd.c
===================================================================
RCS file: /cvs/src/sys/dev/ic/isp_openbsd.c,v
retrieving revision 1.46
diff -u -p -r1.46 isp_openbsd.c
--- isp_openbsd.c       5 Apr 2011 12:09:20 -0000       1.46
+++ isp_openbsd.c       5 Apr 2011 13:01:11 -0000
@@ -330,7 +330,7 @@ ispcmd(XS_T *xs)
         */
        if (isp->isp_osinfo.blocked) {
                if (xs->flags & SCSI_POLL) {
-                       xs->error = XS_NO_CCB;
+                       xs->error = XS_BUSY;
                        scsi_done(xs);
                        ISP_UNLOCK(isp);
                        return;
@@ -401,7 +401,7 @@ isp_polled_cmd(struct ispsoftc *isp, XS_
                break;
        case CMD_RQLATER:
        case CMD_EAGAIN:
-               xs->error = XS_NO_CCB;
+               xs->error = XS_BUSY;
                /* FALLTHROUGH */
        case CMD_COMPLETE:
                scsi_done(xs);

Reply via email to