kernels/linux-2.4.0/drivers/block/xd.c
/* xd_recalibrate: recalibrate a given drive and reset controller if necessary */
recalibrate a given drive and reset controller if necessary
recalibrate a given drive and reset controller if necessary
static void xd_recalibrate (u_char drive)
{
	u_char cmdblk[6];
	xd_build(cmdblk,CMD_RECALIBRATE,drive,0,0,0,0,0);
	if (xd_command(cmdblk,PIO_MODE,0,0,0,XD_TIMEOUT * 8))
		printk("xd%c: warning! error recalibrating, controller may be unstable\n", 'a'+drive);
}
static void xd_recalibrate ( u_char drive ) { u_char cmdblk [ 6 ] ; xd_build ( cmdblk , CMD_RECALIBRATE , drive , 0 , 0 , 0 , 0 , 0 ) ; if ( xd_command ( cmdblk , PIO_MODE , 0 , 0 , 0 , XD_TIMEOUT * 8 ) ) printk ( " \n " , ' ' + drive ) ; }
xd_recalibrate: recalibrate a given drive and reset controller if necessary
xd_recalibrate : recalibrate a given drive and reset controller if necessary