print_command (tmp->cmnd); 
__scsi_print_command (tmp->cmnd); 
NCR53c7x0_intfly (struct Scsi_Host *host){    NCR53c7x0_local_declare();    struct NCR53c7x0_hostdata *hostdata;	/* host->hostdata[0] */    struct NCR53c7x0_cmd *cmd,			/* command which halted */	**cmd_prev_ptr;    unsigned long flags;				    char search_found = 0;			/* Got at least one ? */    hostdata = (struct NCR53c7x0_hostdata *) host->hostdata[0];    NCR53c7x0_local_setup(host);    if (hostdata->options & OPTION_DEBUG_INTR)    printk ("scsi%d : INTFLY\n", host->host_no);     /*    * Traverse our list of running commands, and look    * for those with valid (non-0xff ff) status and message    * bytes encoded in the result which signify command    * completion.    */    local_irq_save(flags);restart:    for (cmd_prev_ptr = (struct NCR53c7x0_cmd **)&(hostdata->running_list),	cmd = (struct NCR53c7x0_cmd *) hostdata->running_list; cmd ;	cmd_prev_ptr = (struct NCR53c7x0_cmd **) &(cmd->next),     	cmd = (struct NCR53c7x0_cmd *) cmd->next)    {	Scsi_Cmnd *tmp;	if (!cmd) {	    printk("scsi%d : very weird.\n", host->host_no);	    break;	}	if (!(tmp = cmd->cmd)) {	    printk("scsi%d : weird.  NCR53c7x0_cmd has no Scsi_Cmnd\n",		    host->host_no);	    continue;	}	/* Copy the result over now; may not be complete,	 * but subsequent tests may as well be done on	 * cached memory.	 */	tmp->result = cmd->result;	if (((tmp->result & 0xff) == 0xff) ||			    ((tmp->result & 0xff00) == 0xff00))	    continue;	search_found = 1;	if (cmd->bounce.len)	    memcpy ((void *)cmd->bounce.addr,				(void *)cmd->bounce.buf, cmd->bounce.len);	/* Important - remove from list _before_ done is called */	if (cmd_prev_ptr)	    *cmd_prev_ptr = (struct NCR53c7x0_cmd *) cmd->next;	--hostdata->busy[tmp->device->id][tmp->device->lun];	cmd->next = hostdata->free;	hostdata->free = cmd;	tmp->host_scribble = NULL;	if (hostdata->options & OPTION_DEBUG_INTR) {	    printk ("scsi%d : command complete : pid %lu, id %d,lun %d result 0x%x ", 		  host->host_no, tmp->pid, tmp->device->id, tmp->device->lun, tmp->result);	    print_command (tmp->cmnd);	}	tmp->scsi_done(tmp);	goto restart;    }    local_irq_restore(flags);    if (!search_found)  {	printk ("scsi%d : WARNING : INTFLY with no completed commands.\n",			    host->host_no);    } else {	run_process_issue_queue();    }    return;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/db9dff366ba78085d0323364fadbf09bec0e77ee/53c7xx.c/buggy/drivers/scsi/53c7xx.c