linux/drivers/ide/ide-cd_ioctl.c
<<
>>
Prefs
   1/*
   2 * cdrom.c IOCTLs handling for ide-cd driver.
   3 *
   4 * Copyright (C) 1994-1996  Scott Snyder <snyder@fnald0.fnal.gov>
   5 * Copyright (C) 1996-1998  Erik Andersen <andersee@debian.org>
   6 * Copyright (C) 1998-2000  Jens Axboe <axboe@suse.de>
   7 */
   8
   9#include <linux/kernel.h>
  10#include <linux/cdrom.h>
  11#include <linux/gfp.h>
  12#include <linux/ide.h>
  13#include <scsi/scsi.h>
  14
  15#include "ide-cd.h"
  16
  17/****************************************************************************
  18 * Other driver requests (open, close, check media change).
  19 */
  20int ide_cdrom_open_real(struct cdrom_device_info *cdi, int purpose)
  21{
  22        return 0;
  23}
  24
  25/*
  26 * Close down the device.  Invalidate all cached blocks.
  27 */
  28void ide_cdrom_release_real(struct cdrom_device_info *cdi)
  29{
  30        ide_drive_t *drive = cdi->handle;
  31
  32        if (!cdi->use_count)
  33                drive->atapi_flags &= ~IDE_AFLAG_TOC_VALID;
  34}
  35
  36/*
  37 * add logic to try GET_EVENT command first to check for media and tray
  38 * status. this should be supported by newer cd-r/w and all DVD etc
  39 * drives
  40 */
  41int ide_cdrom_drive_status(struct cdrom_device_info *cdi, int slot_nr)
  42{
  43        ide_drive_t *drive = cdi->handle;
  44        struct media_event_desc med;
  45        struct request_sense sense;
  46        int stat;
  47
  48        if (slot_nr != CDSL_CURRENT)
  49                return -EINVAL;
  50
  51        stat = cdrom_check_status(drive, &sense);
  52        if (!stat || sense.sense_key == UNIT_ATTENTION)
  53                return CDS_DISC_OK;
  54
  55        if (!cdrom_get_media_event(cdi, &med)) {
  56                if (med.media_present)
  57                        return CDS_DISC_OK;
  58                else if (med.door_open)
  59                        return CDS_TRAY_OPEN;
  60                else
  61                        return CDS_NO_DISC;
  62        }
  63
  64        if (sense.sense_key == NOT_READY && sense.asc == 0x04
  65                        && sense.ascq == 0x04)
  66                return CDS_DISC_OK;
  67
  68        /*
  69         * If not using Mt Fuji extended media tray reports,
  70         * just return TRAY_OPEN since ATAPI doesn't provide
  71         * any other way to detect this...
  72         */
  73        if (sense.sense_key == NOT_READY) {
  74                if (sense.asc == 0x3a && sense.ascq == 1)
  75                        return CDS_NO_DISC;
  76                else
  77                        return CDS_TRAY_OPEN;
  78        }
  79        return CDS_DRIVE_NOT_READY;
  80}
  81
  82/*
  83 * ide-cd always generates media changed event if media is missing, which
  84 * makes it impossible to use for proper event reporting, so disk->events
  85 * is cleared to 0 and the following function is used only to trigger
  86 * revalidation and never propagated to userland.
  87 */
  88unsigned int ide_cdrom_check_events_real(struct cdrom_device_info *cdi,
  89                                         unsigned int clearing, int slot_nr)
  90{
  91        ide_drive_t *drive = cdi->handle;
  92        int retval;
  93
  94        if (slot_nr == CDSL_CURRENT) {
  95                (void) cdrom_check_status(drive, NULL);
  96                retval = (drive->dev_flags & IDE_DFLAG_MEDIA_CHANGED) ? 1 : 0;
  97                drive->dev_flags &= ~IDE_DFLAG_MEDIA_CHANGED;
  98                return retval ? DISK_EVENT_MEDIA_CHANGE : 0;
  99        } else {
 100                return 0;
 101        }
 102}
 103
 104/* Eject the disk if EJECTFLAG is 0.
 105   If EJECTFLAG is 1, try to reload the disk. */
 106static
 107int cdrom_eject(ide_drive_t *drive, int ejectflag,
 108                struct request_sense *sense)
 109{
 110        struct cdrom_info *cd = drive->driver_data;
 111        struct cdrom_device_info *cdi = &cd->devinfo;
 112        char loej = 0x02;
 113        unsigned char cmd[BLK_MAX_CDB];
 114
 115        if ((drive->atapi_flags & IDE_AFLAG_NO_EJECT) && !ejectflag)
 116                return -EDRIVE_CANT_DO_THIS;
 117
 118        /* reload fails on some drives, if the tray is locked */
 119        if ((drive->atapi_flags & IDE_AFLAG_DOOR_LOCKED) && ejectflag)
 120                return 0;
 121
 122        /* only tell drive to close tray if open, if it can do that */
 123        if (ejectflag && (cdi->mask & CDC_CLOSE_TRAY))
 124                loej = 0;
 125
 126        memset(cmd, 0, BLK_MAX_CDB);
 127
 128        cmd[0] = GPCMD_START_STOP_UNIT;
 129        cmd[4] = loej | (ejectflag != 0);
 130
 131        return ide_cd_queue_pc(drive, cmd, 0, NULL, NULL, sense, 0, 0);
 132}
 133
 134/* Lock the door if LOCKFLAG is nonzero; unlock it otherwise. */
 135static
 136int ide_cd_lockdoor(ide_drive_t *drive, int lockflag,
 137                    struct request_sense *sense)
 138{
 139        struct request_sense my_sense;
 140        int stat;
 141
 142        if (sense == NULL)
 143                sense = &my_sense;
 144
 145        /* If the drive cannot lock the door, just pretend. */
 146        if ((drive->dev_flags & IDE_DFLAG_DOORLOCKING) == 0) {
 147                stat = 0;
 148        } else {
 149                unsigned char cmd[BLK_MAX_CDB];
 150
 151                memset(cmd, 0, BLK_MAX_CDB);
 152
 153                cmd[0] = GPCMD_PREVENT_ALLOW_MEDIUM_REMOVAL;
 154                cmd[4] = lockflag ? 1 : 0;
 155
 156                stat = ide_cd_queue_pc(drive, cmd, 0, NULL, NULL,
 157                                       sense, 0, 0);
 158        }
 159
 160        /* If we got an illegal field error, the drive
 161           probably cannot lock the door. */
 162        if (stat != 0 &&
 163            sense->sense_key == ILLEGAL_REQUEST &&
 164            (sense->asc == 0x24 || sense->asc == 0x20)) {
 165                printk(KERN_ERR "%s: door locking not supported\n",
 166                        drive->name);
 167                drive->dev_flags &= ~IDE_DFLAG_DOORLOCKING;
 168                stat = 0;
 169        }
 170
 171        /* no medium, that's alright. */
 172        if (stat != 0 && sense->sense_key == NOT_READY && sense->asc == 0x3a)
 173                stat = 0;
 174
 175        if (stat == 0) {
 176                if (lockflag)
 177                        drive->atapi_flags |= IDE_AFLAG_DOOR_LOCKED;
 178                else
 179                        drive->atapi_flags &= ~IDE_AFLAG_DOOR_LOCKED;
 180        }
 181
 182        return stat;
 183}
 184
 185int ide_cdrom_tray_move(struct cdrom_device_info *cdi, int position)
 186{
 187        ide_drive_t *drive = cdi->handle;
 188        struct request_sense sense;
 189
 190        if (position) {
 191                int stat = ide_cd_lockdoor(drive, 0, &sense);
 192
 193                if (stat)
 194                        return stat;
 195        }
 196
 197        return cdrom_eject(drive, !position, &sense);
 198}
 199
 200int ide_cdrom_lock_door(struct cdrom_device_info *cdi, int lock)
 201{
 202        ide_drive_t *drive = cdi->handle;
 203
 204        return ide_cd_lockdoor(drive, lock, NULL);
 205}
 206
 207/*
 208 * ATAPI devices are free to select the speed you request or any slower
 209 * rate. :-(  Requesting too fast a speed will _not_ produce an error.
 210 */
 211int ide_cdrom_select_speed(struct cdrom_device_info *cdi, int speed)
 212{
 213        ide_drive_t *drive = cdi->handle;
 214        struct cdrom_info *cd = drive->driver_data;
 215        struct request_sense sense;
 216        u8 buf[ATAPI_CAPABILITIES_PAGE_SIZE];
 217        int stat;
 218        unsigned char cmd[BLK_MAX_CDB];
 219
 220        if (speed == 0)
 221                speed = 0xffff; /* set to max */
 222        else
 223                speed *= 177;   /* Nx to kbytes/s */
 224
 225        memset(cmd, 0, BLK_MAX_CDB);
 226
 227        cmd[0] = GPCMD_SET_SPEED;
 228        /* Read Drive speed in kbytes/second MSB/LSB */
 229        cmd[2] = (speed >> 8) & 0xff;
 230        cmd[3] = speed & 0xff;
 231        if ((cdi->mask & (CDC_CD_R | CDC_CD_RW | CDC_DVD_R)) !=
 232            (CDC_CD_R | CDC_CD_RW | CDC_DVD_R)) {
 233                /* Write Drive speed in kbytes/second MSB/LSB */
 234                cmd[4] = (speed >> 8) & 0xff;
 235                cmd[5] = speed & 0xff;
 236        }
 237
 238        stat = ide_cd_queue_pc(drive, cmd, 0, NULL, NULL, &sense, 0, 0);
 239
 240        if (!ide_cdrom_get_capabilities(drive, buf)) {
 241                ide_cdrom_update_speed(drive, buf);
 242                cdi->speed = cd->current_speed;
 243        }
 244
 245        return 0;
 246}
 247
 248int ide_cdrom_get_last_session(struct cdrom_device_info *cdi,
 249                               struct cdrom_multisession *ms_info)
 250{
 251        struct atapi_toc *toc;
 252        ide_drive_t *drive = cdi->handle;
 253        struct cdrom_info *info = drive->driver_data;
 254        struct request_sense sense;
 255        int ret;
 256
 257        if ((drive->atapi_flags & IDE_AFLAG_TOC_VALID) == 0 || !info->toc) {
 258                ret = ide_cd_read_toc(drive, &sense);
 259                if (ret)
 260                        return ret;
 261        }
 262
 263        toc = info->toc;
 264        ms_info->addr.lba = toc->last_session_lba;
 265        ms_info->xa_flag = toc->xa_flag =
        return 0;
}

int ide_cdrom_gemcion(struct cdrom_device_info *cdi,
                      struct )
{
        ide_drive_t *drive = cdi->handle;
        int stat, ;
      d char buf];
        unsigned char cmd[BLK_MAX_CDB];
        unsignet;buf);
        memset(cmd, 0, BLK_MAX_CDB);

        cmd[0] = GPCMT_RE_SUBCHANNEVle;
        cmd/MSF ">ad_sesngSB */
        cmd[2] 0x40;    /* requess                return ;
 201{
tD;

 265       ide/ide-cd_ioctl.c#L246" i8"sref">cmd[4] = ;

 187        stat = ide_cd_queue_pc(drive, cmd, 0,(drive, & NULL, sense, 0, 0);
                if (stat)
 259                return stat;

         sizeoff *cdi->comme_c* rlog_numbe href="+code=add;comme_c* rlog_numbe class=- 1="sref">stat;
       t" cp="+code=sense_ket" cp=>ide_cd_queue_pc*cdi->comme_c* rlog_numbe href="+code=add;comme_c* rlog_numbe classref">cmd, 0,(stat,        *cdi->comme_c* rlog_numbe href="+code=add;comme_c* rlog_numbe class="sref">cmd KERN_ERR , 0, 0);
 244
 245        return 0;
 246}
 247
 248int cdrom_device_info *stat)
{
 230        ide_drive_t *drive = cdi->handle;
 251        struct cdrom_info *cd = drive->driver_data;
 254        struct request_sense sense;
 253        structe" clasde=request_sense" classref">cdrom_info rqde=request_senseqass="sref">sense;
        int ret;
 155
 216       rqde=request_senseqass=ss="sref">cd =blk"srefe" clasde=request_sensblk"srefe" clas>ide_cd_queue_pc(drive->s="srref="+code=drivs="srclassref">cmd, 0,ss="ref="+code=drivss="classref">cmd, 0,__GFP_WAIe=ILLEGAL_REQUES__GFP_WAIess=">sense, 0, 0);
 187       rqde=request_senseqass=ss="sref">cd->md_typrref="+code=driv;md_typrass=ss="sref">cd =REQ_TYPE"sreCILOW_MEDIUM_REMOVAREQ_TYPE"sreCILOclass="sref">ret;
 238       rqde=request_senseqass=ss="sref">cd->md_ef="+code=atapi_flag;md_ef="+ass=ss="sref">cd =REQ_QUIEe=ILLEGAL_REQUESREQ_QUIEeclass="sref">ret;
        ret =blk"execute_rqde=request_sensblk"execute_rq>ide_cd_queue_pc(drive->s="srref="+code=drivs="srclassref">cmd, 0, cd->dia href="+code=masdia classref">cmd, 0,rqde=request_senseqass=ef">sense, 0, 0);
 230       blk"puefe" clasde=request_sensblk"puefe" clas>ide_cd_queue_pcrqde=request_senseqass=>sense, 0, 0);
 171        
 161 161 161                if (drive->atapi_flags & IDE_AFLAG="sref">stat)
 176(void)ref">stat = ide_cd_lockdoor(drive, &sense);
 247
                return ret;
 246}

        intr" classreftoc_spar="+code=sense_ker" classreftoc_spar=>ide_cd_lockdoor ide_drive_t *cdi, inttraa href="+code=loctraa ass=s=2L180"28170
 242>>>>>>>>>>>>>>>> 251        struct iide_drive_t span+code=sense_kespaFLAG="sref">stat)
{
 214        struct cdrom_info *info = drive->driver_data;
 251        struct atapi_toc *toc = info->toc;
"sref">cdi, intntraa +code=atapi_flagntraa +class="sref">toc;
cdi-> 209 210 231        if ((drive->atapi_flags & IDE_AFLAG_TOC="sref">stat)
 23218">       -flags &EINVLOW_MEDIUM_REMOVAEINVLOclass="sref">toc;
 203
2 265       ntraa +code=atapi_flagntraa +clasref">xa_flag = toc->ha href="+code=addh class="sref">addr." cltraa href="+code=loc." cltraa clasr-f">xa_flag = toc->ha href="+code=addh class="sref">addrfir cltraa href="+code=locfir cltraa clas + 1="sref">stat;

 257">xa_flag = toc->ha href="+code=addh class="sref">addrfir cltraa href="+code=locfir cltraa clas ">sense_key ==CDROM_LEADOUe=ILLEGAL_REQUESCDROM_LEADOUeFLAG="sref">stat)
 258               ntraa +code=atapi_flagntraa +clasref>        return 0;
 239
 240f">cdi, inttraa href="+code=loctraa ass= ">sense_key ==CDROM_LEADOUe=ILLEGAL_REQUESCDROM_LEADOUeFLAG="sref">stat)
 241ide_drive_t span+code=sense_kespaFLAGrefref">drive, & toc->span+code=sense_kespaFLAGs="sref">cmdntraa +code=atapi_flagntraa +clas>BLK_MAX_CDB];
 222> 240f">cdi, inttraa href="+code=loctraa ass= <i_flags & toc->ha href="+code=addh class="sref">addrfir cltraa href="+code=locfir cltraa clas |">CDC_CD_RW |traa href="+code=loctraa ass= >i_flags & toc->ha href="+code=addh class="sref">addr." cltraa href="+code=loc." cltraa clas="sref">stat)
 23218">       -flags &EINVLOW_MEDIUM_REMOVAEINVLOclass="sref">toc;
 222="sref">toc;
 241ide_drive_t span+code=sense_kespaFLAGrefref">drive, & toc->span+code=sense_kespaFLAGs="sref">cmdtraa href="+code=loctraa ass= -f">xa_flag = toc->ha href="+code=addh class="sref">addrfir cltraa href="+code=locfir cltraa clas>BLK_MAX_CDB];

        return 0;
}
 239
        intr" clasfake_playltrkindrom_update_speed" clasfake_playltrkind>ide_cd_lockdoor ide_drive_t *ide_drive_t aref="+code=la_flaareclas="sref">stat)
 201{
 254        structlass="sa href="+code=cdi"ss="sa"sref">atapi_toc *a href="+code=cdsa"sref>sense_key ==aref="+code=la_flaareclas        return 0;
 253        struct i"sref">addrfir cltaddr." clt 177 longef">cmd[4] = ba_t" r+code=ide_drive_ ba_t" r+classref">cmd, 0, ba_endrom_update_spee ba_endclas        return 0;
 255        int stat;
 253        struct request_sense sense;
        unsigned char cmd[BLK_MAX_CDB];
        stat = ide_cd_lockdoor(drive,*a href="+code=cdsa"sress="sref">cd->dtiltrk0 href="+code=cdi"tiltrk0ass="sref">drive, &fir cltsense);
 220        if (stat)
 241                return stat;
 262
 263        stat = ide_cd_lockdoor(drive,*a href="+code=cdsa"sress="sref">cd->dtiltrk1 href="+code=cdi"tiltrk1ass="sref">drive, &." cltsense);
 220        if (stat)
 241                return stat;

 257">xa_flag = a href="+code=cdsa"sress="sref">cd->dtiltrk1 href="+code=cdi"tiltrk1ass= !>sense_key ==CDROM_LEADOUe=ILLEGAL_REQUESCDROM_LEADOUeFLAG="sref">stat)
 258++"sref">addr." clt        ba_t" r+code=ide_drive_ ba_t" r+clas="sref">stat =fir cltms_info->addr. 230        ba_endrom_update_spee ba_endclas0">ref">cmd[4] = " cltms_info->addr. 257">xa_flag = ba_endrom_update_spee ba_endclas0<iref">cmd[4] = ba_t" r+code=ide_drive_ ba_t" r+clas="sref">stat)
 23218">       -flags &EINVLOW_MEDIUM_REMOVAEINVLOclass="sref">toc;
 244
 265        memset(cmd, 0, BLK_MAX_CDB);

 227        cmd[0] = toc;
 238        ba_to_msa href="+code=bu ba_to_msass="sref">memset ba_t" r+code=ide_drive_ ba_t" r+classr sref">drive, &ide/ide-cd_ioctl.c#L246" id="sref">drive, & drive, & BLK_MAX_CDB);
        ba_to_msa href="+code=bu ba_to_msass="sref">memset ba_endrom_update_spee ba_endclas0-s1"sref">drive, & drive, & drive, & BLK_MAX_CDB);

ide_cd_queue_pc(drive, cmd, 0, NULL, NULL, &sense, 0, 0);
}
 203
 201{
tD;
3a hre3 175< t" cic27264        intr" class="sref"ha href="+code=addr" class="sref"ha >ide_cd_lockdoor ide_drive_t *ide_drive_t aref="+code=la_flaareclas="sref">stat)
 201{
 253        struct cdrom_info *cd = drive->driver_data;
 254        structlass="sf"ha href="+code=addlass="sf"ha "sref">atapi_toc *f"ha href="+code=addsf"ha "sref>sense_key ==aref="+code=la_flaareclas        return 0;
 251        struct atapi_toc *toc;
 255        int stat;

 171        
        stat = ide_cd_read_toc(NULL, sense, 0, 0);
        if (stat)
 234                return stat;
 155
 216       *toc = cd->*toc;
 227       *f"ha href="+code=addsf"ha "sress="sref">cd->dthltrk0 href="+code=cdi"thltrk0ass=ref">xa_flag = toc->ha href="+code=addh class="sref">addrfir cltraa href="+code=locfir cltraa class="sref">toc;
 238       *f"ha href="+code=addsf"ha "sress="sref">cd->dthltrk1 href="+code=cdi"thltrk1ass= ef">xa_flag = toc->ha href="+code=addh class="sref">addr." cltraa href="+code=loc." cltraa class="sref">toc;
 239
6197        return 0;
}
 262
        intr" class="sref"spar="+code=sense_ker" class="sref"spar=>ide_cd_lockdoor ide_drive_t *ide_drive_t aref="+code=la_flaareclas="sref">stat)
 201{
 251        structlass="sf"spar="+code=sense_kelass="sf"spar="sref">atapi_toc *sense_key ==aref="+code=la_flaareclas        return 0;
 253        struct i"sref">addrsf"s"+code=sense_kesf"sclas        return 0;
 255        int stat;
        stat = ide_cd_lockdoor(drive,*cd->dteltraa href="+code=loc;dteltraa lass="sref">NULL, &sf"s"+code=sense_kesf"sclas>sense, 0, 0);
 220        if (stat)
 241                return stat;
 262
 263        cd->dtelctrlhref="+code=loc;dtelctrlass= ef">xa_flag = cd->oparolhref="+code=loc;oparollass="sref">stat;
cd->dtelaa href="+code=addlatelaa 75< clef">xa_flag = cd->aa href="+code=addaa 75< ="sref">stat;
                if  cd->dtel#L26 ihref="+code=addlatel#L26 iass= e>sense_key ==CDROM_MSF href="+code=cmCDROM_MSFlass=="sref">toc) {
 1767229        ba_to_msa href="+code=bu ba_to_msass="sref">memset cd->aaa href="+code=addr" class="sref">addr.
 176>>>>>>>>>>>sref">NULL, &sf"spar="+code=sense_kesf"spar="sress="sref">cd->dtelaaa href="+code=addlatelaa class="sref">addrmsa href="+code=bumsass="="sref">addrminuts"+code=sense_keminutsclass=2L180"28170
 258>>>>>>>>>>>sref">NULL, &sf"spar="+code=sense_kesf"spar="sress="sref">cd->dtelaaa href="+code=addlatelaa class="sref">addrmsa href="+code=bumsass="="sref">addrse;op
 259>>>>>>>>>>>sref">NULL, &sf"spar="+code=sense_kesf"spar="sress="sref">cd->dtelaaa href="+code=addlatelaa class="sref">addrmsa href="+code=bumsass="="sref">addrfr" chref="+code=locfr" cclas>sense, 0, 0);
}> 222="sref">toc;
 241>NULL, &sf"spar="+code=sense_kesf"spar="sress="sref">cd->dtelaaa href="+code=addlatelaa class="sref">addr.lba = cd->aaa href="+code=addr" class="sref">addr., 0, 0);
 262
6197        return 0;
}
 155
 248int (struct cdrom_device_info *cdi,
 176>>>>>>>>>> 177 ="L248"> 248int ide_drive_t aref="+code=la_flaareclas="sref">stat)
toc) {
        ide_drive_t *drive = cdi->handle;

switch              if  toc) {
i-> 161 161 210casesense_key ==CDROMPLAYTRKINE_AFLAG_TOC_VALICDROMPLAYTRKINEname:o that */
 176                returniide_cd_lockdoor(drive,aref="+code=la_flaareclas=sref">handle;
casesense_key ==CDROMss="TOCHDR_AFLAG_TOC_VALICDROMss="TOCHDRname:o that */
 259                returnr" class="sref"ha href="+code=addr" class="sref"ha >ide_cd_lockdoor(drive,aref="+code=la_flaareclas=sref">handle;
casesense_key ==CDROMss="TOCENTRY_AFLAG_TOC_VALICDROMss="TOCENTRYname:o that */
 241                returnr" class="sref"spar="+code=sense_ker" class="sref"spar=>ide_cd_lockdoor(drive,aref="+code=la_flaareclas=sref">handle;
default:o that */
 23218">       -flags &EINVLOW_MEDIUM_REMOVAEINVLOclass="sref">toc;
=2L168"26198}
}


 248int (struct cdrom_device_info *cdi,
 259>>>>>>>>>>>> 253        structpacket_/a><" c href="+code=cdpacket_/a><" cdrom_device_info *ga href="+code=to*gaclas="sref">stat)
toc) {
        ide_drive_t *drive = cdi->handle;
 177 ="L248"> 248intef="+code=atapi_flagef="+ass=ss=>        return 0;
 177 "sref">addr.drive = ga href="+code=to*gaclass="sref">cdi->buf.handle;
 244
                if  ga href="+code=to*gaclass="sref">cdi->timeou+code=ide_drive_timeou+name=<ireC="sref">stat)
 1767229        ga href="+code=to*gaclass="sref">cdi->timeou+code=ide_drive_timeou+name=sref">drive =ATAPI_WAIe_PCcode=ide_drive_ATAPI_WAIe_PCss="sref">handle;
cdi->
 209 210
 257">xa_flag = ga href="+code=to*gaclass="sref">cdi->s="s_directioa href="+codeeios="s_directioaass= e>sense_key ==CGC_DATA_WRITE_AFLAG_TOC_VALICGC_DATA_WRITEclas="sref">stat)
 23218">48"> 248intef="+code=atapi_flagef="+ass=s|s="sref">cd =REQ_WRITE_AFLAG_TOC_VALIREQ_WRITEss="sref">handle;
 244
                if  ga href="+code=to*gaclass="sref">cdi-> 244
 1767229        memset(ga href="+code=to*gaclass="sref">cdi->r)=sref">handle;
                if  ga href="+code=to*gaclass="sref">cdi->quihref="+code=memsequihrass="="L244"> 244
 25948"> 248intef="+code=atapi_flagef="+ass=s|s="sref">cd =REQ_QUIEe=ILLEGAL_REQUESREQ_QUIEeclass="sref">ret;

       (ga href="+code=to*gaclass="sref">cdi->stat = ide_cd_queue_pc(drive, ga href="+code=to*gaclass="sref">cdi-> 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>">xa_flag = ga href="+code=to*gaclass="sref">cdi->s="s_directioa href="+codeeios="s_directioaass= e>sense_key ==CGC_DATA_WRITE_AFLAG_TOC_VALICGC_DATA_WRITEclass=2L180"28170
 23218">>>>>>>>>>>>>>>>>>>>>">xa_flag = ga href="+code=to*gaclass="sref">cdi->buffe href="+code=addbuffe ass="sref">drive, &.
 234>>>>>>>>>>>>>>>>>>>>">xa_flag = ga href="+code=to*gaclass="sref">cdi->cdi->timeou+code=ide_drive_timeou+name"s7229       ef="+code=atapi_flagef="+ass==sref">handle;
    !8129       (ga href="+code=to*gaclass="sref">cdi-> 244
 1767229        ga href="+code=to*gaclass="sref">cdi->buf.cmd[4] = handle;
       (ga href="+code=to*gaclass="sref">cdi->handle;
}



Tly original LXR software bytbly L168"2619http://sourceforge.net/projects/lx h>LXR /a>} ioa bytL168"2619mailto:lx @d=2ux.noionx @d=2ux.noname.
nx .d=2ux.no kindly hoomed>bytL168"2619http://www.redpill-d=2pro.noioRedpill L=2pro ASname"sprovef=r ofaL=2ux /ansulting " c operatioas services sin"s 1995.