kernels/linux-2.4.0/drivers/ide/ide-pmac.c
/* Here we handle media bay devices */
Here we handle media bay devices
Here we handle media bay devices
static void
idepmac_wake_bay(int i, unsigned long base)
{
	int timeout;
	pmac_ide_selectproc(&ide_hwifs[i].drives[0]);
	mdelay(10);
	timeout = 10000;
	while ((inb(base + 0x70) & BUSY_STAT) && timeout) {
		mdelay(1);
		--timeout;
	}
}
static void idepmac_wake_bay ( int i , unsigned long base ) { int timeout ; pmac_ide_selectproc ( & ide_hwifs [ i ] . drives [ 0 ] ) ; mdelay ( 10 ) ; timeout = 10000 ; while ( ( inb ( base + 0x70 ) & BUSY_STAT ) && timeout ) { mdelay ( 1 ) ; -- timeout ; } }
Here we handle media bay devices
Here we handle media bay devices
/* Reset timings */