if (scsi_id) { 
if (sbp2util_node_is_available(scsi_id)) { 
static int sbp2scsi_abort(struct scsi_cmnd *SCpnt){	struct scsi_id_instance_data *scsi_id =		(struct scsi_id_instance_data *)SCpnt->device->host->hostdata[0];	struct sbp2scsi_host_info *hi = scsi_id->hi;	struct sbp2_command_info *command;	SBP2_ERR("aborting sbp2 command");	scsi_print_command(SCpnt);	if (scsi_id) {		/*		 * Right now, just return any matching command structures		 * to the free pool.		 */		command = sbp2util_find_command_for_SCpnt(scsi_id, SCpnt);		if (command) {			SBP2_DEBUG("Found command to abort");			pci_dma_sync_single_for_cpu(hi->host->pdev,						    command->command_orb_dma,						    sizeof(struct sbp2_command_orb),						    PCI_DMA_BIDIRECTIONAL);			pci_dma_sync_single_for_cpu(hi->host->pdev,						    command->sge_dma,						    sizeof(command->scatter_gather_element),						    PCI_DMA_BIDIRECTIONAL);			sbp2util_mark_command_completed(scsi_id, command);			if (command->Current_SCpnt) {				command->Current_SCpnt->result = DID_ABORT << 16;				command->Current_done(command->Current_SCpnt);			}		}		/*		 * Initiate a fetch agent reset.		 */		sbp2_agent_reset(scsi_id, 0);		sbp2scsi_complete_all_commands(scsi_id, DID_BUS_BUSY);	}	return(SUCCESS);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/abd559b1052e28d8b9c28aabde241f18fa89090b/sbp2.c/clean/drivers/ieee1394/sbp2.c