ata_qc_set_polling(qc); 
if (qc->tf.flags & ATA_TFLAG_POLLING) ata_qc_set_polling(qc);  
int ata_qc_issue_prot(struct ata_queued_cmd *qc){	struct ata_port *ap = qc->ap;	ata_dev_select(ap, qc->dev->devno, 1, 0);	switch (qc->tf.protocol) {	case ATA_PROT_NODATA:		ata_tf_to_host_nolock(ap, &qc->tf);		break;	case ATA_PROT_DMA:		ap->ops->tf_load(ap, &qc->tf);	 /* load tf registers */		ap->ops->bmdma_setup(qc);	    /* set up bmdma */		ap->ops->bmdma_start(qc);	    /* initiate bmdma */		break;	case ATA_PROT_PIO: /* load tf registers, initiate polling pio */		ata_qc_set_polling(qc);		ata_tf_to_host_nolock(ap, &qc->tf);		ap->hsm_task_state = HSM_ST;		queue_work(ata_wq, &ap->pio_task);		break;	case ATA_PROT_ATAPI:		ata_qc_set_polling(qc);		ata_tf_to_host_nolock(ap, &qc->tf);		queue_work(ata_wq, &ap->packet_task);		break;	case ATA_PROT_ATAPI_NODATA:		ap->flags |= ATA_FLAG_NOINTR;		ata_tf_to_host_nolock(ap, &qc->tf);		queue_work(ata_wq, &ap->packet_task);		break;	case ATA_PROT_ATAPI_DMA:		ap->flags |= ATA_FLAG_NOINTR;		ap->ops->tf_load(ap, &qc->tf);	 /* load tf registers */		ap->ops->bmdma_setup(qc);	    /* set up bmdma */		queue_work(ata_wq, &ap->packet_task);		break;	default:		WARN_ON(1);		return -1;	}	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/312f7da2824c82800ee78d6190f12854456957af/libata-core.c/clean/drivers/scsi/libata-core.c