const unsigned int tmout_state = HSM_ST_TMOUT; 
static unsigned long ata_pio_poll(struct ata_port *ap){	u8 status;	unsigned int poll_state = HSM_ST_UNKNOWN;	unsigned int reg_state = HSM_ST_UNKNOWN;	const unsigned int tmout_state = HSM_ST_TMOUT;	switch (ap->hsm_task_state) {	case HSM_ST:	case HSM_ST_POLL:		poll_state = HSM_ST_POLL;		reg_state = HSM_ST;		break;	case HSM_ST_LAST:	case HSM_ST_LAST_POLL:		poll_state = HSM_ST_LAST_POLL;		reg_state = HSM_ST_LAST;		break;	default:		BUG();		break;	}	status = ata_chk_status(ap);	if (status & ATA_BUSY) {		if (time_after(jiffies, ap->pio_task_timeout)) {			ap->hsm_task_state = tmout_state;			return 0;		}		ap->hsm_task_state = poll_state;		return ATA_SHORT_PAUSE;	}	ap->hsm_task_state = reg_state;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/7c3983357fdaef3ae71a0d7081a4b6dcfd869d39/libata-core.c/clean/drivers/scsi/libata-core.c