qdonep 6739 drivers/scsi/advansys.c static void asc_isr_callback(ASC_DVC_VAR *asc_dvc_varp, ASC_QDONE_INFO *qdonep) qdonep 6745 drivers/scsi/advansys.c ASC_DBG(1, "asc_dvc_varp 0x%p, qdonep 0x%p\n", asc_dvc_varp, qdonep); qdonep 6746 drivers/scsi/advansys.c ASC_DBG_PRT_ASC_QDONE_INFO(2, qdonep); qdonep 6751 drivers/scsi/advansys.c srb_tag = qdonep->d2.srb_tag - 1; qdonep 6765 drivers/scsi/advansys.c switch (qdonep->d3.done_stat) { qdonep 6776 drivers/scsi/advansys.c if (scsi_bufflen(scp) != 0 && qdonep->remain_bytes != 0 && qdonep 6777 drivers/scsi/advansys.c qdonep->remain_bytes <= scsi_bufflen(scp)) { qdonep 6779 drivers/scsi/advansys.c (unsigned)qdonep->remain_bytes); qdonep 6780 drivers/scsi/advansys.c scsi_set_resid(scp, qdonep->remain_bytes); qdonep 6786 drivers/scsi/advansys.c switch (qdonep->d3.host_stat) { qdonep 6788 drivers/scsi/advansys.c if (qdonep->d3.scsi_stat == SAM_STAT_CHECK_CONDITION) { qdonep 6805 drivers/scsi/advansys.c STATUS_BYTE(qdonep->d3.scsi_stat); qdonep 6807 drivers/scsi/advansys.c scp->result = STATUS_BYTE(qdonep->d3.scsi_stat); qdonep 6813 drivers/scsi/advansys.c ASC_DBG(1, "host_stat 0x%x\n", qdonep->d3.host_stat); qdonep 6822 drivers/scsi/advansys.c HOST_BYTE(DID_ABORT) | MSG_BYTE(qdonep->d3. qdonep 6824 drivers/scsi/advansys.c STATUS_BYTE(qdonep->d3.scsi_stat); qdonep 6828 drivers/scsi/advansys.c ASC_DBG(1, "done_stat 0x%x\n", qdonep->d3.done_stat); qdonep 6830 drivers/scsi/advansys.c HOST_BYTE(DID_ERROR) | MSG_BYTE(qdonep->d3. qdonep 6832 drivers/scsi/advansys.c STATUS_BYTE(qdonep->d3.scsi_stat); qdonep 6842 drivers/scsi/advansys.c qdonep->d3.done_stat == QD_NO_ERROR && qdonep 6843 drivers/scsi/advansys.c qdonep->d3.host_stat == QHSTA_NO_ERROR) {