devinfo->handle = (void *) drive; 
devinfo->handle = drive; 
static int ide_cdrom_register (ide_drive_t *drive, int nslots){	struct cdrom_info *info = drive->driver_data;	struct cdrom_device_info *devinfo = &info->devinfo;	devinfo->ops = &ide_cdrom_dops;	devinfo->mask = 0;	devinfo->speed = CDROM_STATE_FLAGS(drive)->current_speed;	devinfo->capacity = nslots;	devinfo->handle = (void *) drive;	strcpy(devinfo->name, drive->name);		/* set capability mask to match the probe. */	if (!CDROM_CONFIG_FLAGS(drive)->cd_r)		devinfo->mask |= CDC_CD_R;	if (!CDROM_CONFIG_FLAGS(drive)->cd_rw)		devinfo->mask |= CDC_CD_RW;	if (!CDROM_CONFIG_FLAGS(drive)->dvd)		devinfo->mask |= CDC_DVD;	if (!CDROM_CONFIG_FLAGS(drive)->dvd_r)		devinfo->mask |= CDC_DVD_R;	if (!CDROM_CONFIG_FLAGS(drive)->dvd_ram)		devinfo->mask |= CDC_DVD_RAM;	if (!CDROM_CONFIG_FLAGS(drive)->is_changer)		devinfo->mask |= CDC_SELECT_DISC;	if (!CDROM_CONFIG_FLAGS(drive)->audio_play)		devinfo->mask |= CDC_PLAY_AUDIO;	if (!CDROM_CONFIG_FLAGS(drive)->close_tray)		devinfo->mask |= CDC_CLOSE_TRAY;	if (!CDROM_CONFIG_FLAGS(drive)->mo_drive)		devinfo->mask |= CDC_MO_DRIVE;	devinfo->disk = info->disk;	return register_cdrom(devinfo);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/2a91f3e54ff27c6002597f689ba51c5fa657ddbd/ide-cd.c/buggy/drivers/ide/ide-cd.c