rem: TRACE("drive is at cylinder %d, didn't make it to 0\n", result[1]);
add: TRACE("drive is at cylinder %d, didn't make it to 0\n", flp->result[1]);
context: recalibrate_drive(floppy_t *flp){	int retry;		TRACE("recalibrate_drive(%d)\n", flp->drive_num);		turn_on_motor(flp);		for(retry = 0; retry < 1; retry++) {		uint8 command[2] = { 7, 0 }; // recalibrate command		command[1] = flp->drive_num & 0x03;		// send the recalibrate command		send_command(flp, command, sizeof(command));				if (wait_result(flp) < 0)			return 3;				//command[0] = 8; // sense interrupt command		//send_command(flp, command, 1);				// read the result		//read_result(flp, result, sizeof(result));		if (flp->result[0] & 0xd0) {			TRACE("recalibration failed\n");			return 2;		} if (flp->result[1] != 0) {			TRACE("drive is at cylinder %d, didn't make it to 0\n", result[1]);			if (retry > 3)				return 1;		} else {			// successful			break;		}	}	TRACE("recalibration done\n");	return 0;}