Changeset 42958 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Aug 23, 2012 6:17:28 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 80283
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r42769 r42958 2294 2294 ataSCSIPadStr(s->CTX_SUFF(pbIOBuffer) + 32, "1.0", 4); 2295 2295 } 2296 else if (s->aATAPICmd[0] == SCSI_READ_TOC_PMA_ATIP) 2296 else if ( s->aATAPICmd[0] == SCSI_READ_TOC_PMA_ATIP 2297 && (s->aATAPICmd[2] & 0xf) != 0x05) 2297 2298 { 2298 2299 /* Set the media type if we can detect it. */ … … 2300 2301 2301 2302 /** @todo: Implemented only for formatted TOC now. */ 2302 if ( (s->aATAPICmd[ 1] & 0xf) == 02303 && cbTransfer >= 6)2303 if ( (s->aATAPICmd[2] & 0xf) == 0 2304 && cbTransfer >= 4) 2304 2305 { 2305 2306 uint32_t NewMediaType;
Note:
See TracChangeset
for help on using the changeset viewer.