rc = ide_wait_not_busy(hwif, 10000); 
rc = ide_wait_not_busy(hwif, 35000); 
static int wait_hwif_ready(ide_hwif_t *hwif){	int rc;	printk(KERN_DEBUG "Probing IDE interface %s...\n", hwif->name);	/* Let HW settle down a bit from whatever init state we	 * come from */	mdelay(2);	/* Wait for BSY bit to go away, spec timeout is 30 seconds,	 * I know of at least one disk who takes 31 seconds, I use 35	 * here to be safe	 */	rc = ide_wait_not_busy(hwif, 35000);	if (rc)		return rc;	/* Now make sure both master & slave are ready */	SELECT_DRIVE(&hwif->drives[0]);	hwif->OUTB(8, hwif->io_ports[IDE_CONTROL_OFFSET]);	mdelay(2);	rc = ide_wait_not_busy(hwif, 10000);	if (rc)		return rc;	SELECT_DRIVE(&hwif->drives[1]);	hwif->OUTB(8, hwif->io_ports[IDE_CONTROL_OFFSET]);	mdelay(2);	rc = ide_wait_not_busy(hwif, 10000);	/* Exit function with master reselected (let's be sane) */	SELECT_DRIVE(&hwif->drives[0]);		return rc;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/284e423811495f632a7a334b2b93caba07d4f778/ide-probe.c/buggy/drivers/ide/ide-probe.c