VirtualBox

Changeset 77011 in vbox


Ignore:
Timestamp:
Jan 27, 2019 9:46:43 AM (6 years ago)
Author:
vboxsync
Message:

Undoing unintended commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VSCSI/VSCSILunMmc.cpp

    r77010 r77011  
    6060/** Unknown media type. */
    6161#define MMC_MEDIA_TYPE_UNKNOWN          0
    62 /** Medium is a DVD. */
    63 #define MMC_MEDIA_TYPE_DVD              2
    6462/** Door closed, no media. */
    6563#define MMC_MEDIA_TYPE_NO_DISC       0x70
     
    588586        case 0x30:
    589587        case 0x31:
    590             /* For a CD, these must fail. */
    591 #if 0
    592             if (pVScsiLunMmc->u32MediaTrackType != MMC_MEDIA_TYPE_DVD)
    593                 return vscsiLunReqSenseErrorSet(&pVScsiLunMmc->Core, pVScsiReq, SCSI_SENSE_ILLEGAL_REQUEST,
    594                                                 SCSI_ASC_CANNOT_READ_MEDIUM, SCSI_ASCQ_INCOMPATIBLE_FORMAT);
    595 #endif
    596             RT_FALL_THRU();
    597588        case 0xff:
    598589            if (pVScsiReq->pbCDB[1] == 0)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette