if (sym_get_cam_status(cmd) == CAM_REQUEUE_REQ) { 
if (sym_get_cam_status(cmd) == DID_SOFT_ERROR) { 
static void sym_flush_comp_queue(struct sym_hcb *np, int cam_status){	SYM_QUEHEAD *qp;	struct sym_ccb *cp;	while ((qp = sym_remque_head(&np->comp_ccbq)) != 0) {		struct scsi_cmnd *cmd;		cp = sym_que_entry(qp, struct sym_ccb, link_ccbq);		sym_insque_tail(&cp->link_ccbq, &np->busy_ccbq);		/* Leave quiet CCBs waiting for resources */		if (cp->host_status == HS_WAIT)			continue;		cmd = cp->cmd;		if (cam_status)			sym_set_cam_status(cmd, cam_status);#ifdef SYM_OPT_HANDLE_DEVICE_QUEUEING		if (sym_get_cam_status(cmd) == CAM_REQUEUE_REQ) {			struct sym_tcb *tp = &np->target[cp->target];			struct sym_lcb *lp = sym_lp(tp, cp->lun);			if (lp) {				sym_remque(&cp->link2_ccbq);				sym_insque_tail(&cp->link2_ccbq,				                &lp->waiting_ccbq);				if (cp->started) {					if (cp->tag != NO_TAG)						--lp->started_tags;					else						--lp->started_no_tag;				}			}			cp->started = 0;			continue;		}#endif		sym_free_ccb(np, cp);		sym_xpt_done(np, cmd);	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/53222b906903fd861dc24ebccfa07ee125941313/sym_hipd.c/clean/drivers/scsi/sym53c8xx_2/sym_hipd.c