not XS_NO_CCB.
discussed with krw@ who agrees
-/* $OpenBSD: aic79xx_openbsd.c,v 1.40 2013/05/30 16:15:02 deraadt Exp $ */
+/* $OpenBSD: aic79xx_openbsd.c,v 1.41 2014/01/17 23:23:58 dlg Exp $ */
/*
* Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom
case CAM_REQ_CMP:
switch (xs->status) {
case SCSI_TASKSET_FULL:
- xs->error = XS_NO_CCB;
- break;
case SCSI_BUSY:
xs->error = XS_BUSY;
break;
}
break;
case CAM_BUSY:
+ case CAM_REQUEUE_REQ:
xs->error = XS_BUSY;
break;
case CAM_CMD_TIMEOUT:
case CAM_SCSI_BUS_RESET:
xs->error = XS_RESET;
break;
- case CAM_REQUEUE_REQ:
- xs->error = XS_NO_CCB;
- break;
case CAM_SEL_TIMEOUT:
xs->error = XS_SELTIMEOUT;
break;
#endif
ahd_lock(ahd, &s);
ahd_free_scb(ahd, scb);
- xs->error = XS_NO_CCB;
+ xs->error = XS_DRIVER_STUFFUP;
scsi_done(xs);
ahd_unlock(ahd, &s);
return;
-/* $OpenBSD: aic7xxx_openbsd.c,v 1.51 2011/07/17 22:46:48 matthew Exp $ */
+/* $OpenBSD: aic7xxx_openbsd.c,v 1.52 2014/01/17 23:25:07 dlg Exp $ */
/* $NetBSD: aic7xxx_osm.c,v 1.14 2003/11/02 11:07:44 wiz Exp $ */
/*
case CAM_REQ_CMP:
switch (xs->status) {
case SCSI_TASKSET_FULL:
- xs->error = XS_NO_CCB;
- break;
case SCSI_BUSY:
xs->error = XS_BUSY;
break;
break;
}
break;
+ case CAM_REQUEUE_REQ:
case CAM_BUSY:
xs->error = XS_BUSY;
break;
case CAM_SCSI_BUS_RESET:
xs->error = XS_RESET;
break;
- case CAM_REQUEUE_REQ:
- xs->error = XS_NO_CCB;
- break;
case CAM_SEL_TIMEOUT:
xs->error = XS_SELTIMEOUT;
break;