current->state = TASK_INTERRUPTIBLE; schedule_timeout(1); 
schedule_timeout_interruptible(1); 
static int put_wait_data(struct cosa_data *cosa, int data){	int retries = 1000;	while (--retries) {		/* read data and return them */		if (cosa_getstatus(cosa) & SR_TX_RDY) {			cosa_putdata8(cosa, data);#if 0			printk(KERN_INFO "Putdata: %d retries\n", 999-retries);#endif			return 0;		}#if 0		/* sleep if not ready to read */		current->state = TASK_INTERRUPTIBLE;		schedule_timeout(1);#endif	}	printk(KERN_INFO "cosa%d: timeout in put_wait_data (status 0x%x)\n",		cosa->num, cosa_getstatus(cosa));	return -1;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/3173c8907ffb2c64456142da3df2bd0500bd59e0/cosa.c/buggy/drivers/net/wan/cosa.c