cdi->speed = CDROM_STATE_FLAGS(drive)->current_speed; 
if (!ide_cdrom_get_capabilities(drive, &cap)) { ide_cdrom_update_speed(drive, &cap); cdi->speed = CDROM_STATE_FLAGS(drive)->current_speed; } 
int ide_cdrom_select_speed (struct cdrom_device_info *cdi, int speed){	ide_drive_t *drive = (ide_drive_t*) cdi->handle;	struct request_sense sense;	int stat;	if ((stat = cdrom_select_speed(drive, speed, &sense)) < 0)		return stat;        cdi->speed = CDROM_STATE_FLAGS(drive)->current_speed;        return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/9235e68be8bf8974b65a9bf733c9d12a52307839/ide-cd.c/clean/drivers/ide/ide-cd.c