Changeset 36339 in vbox for trunk/src/VBox/Devices/Storage/DevATA.cpp
- Timestamp:
- Mar 22, 2011 12:59:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r36337 r36339 2451 2451 2452 2452 Assert(s->uTxDir == PDMBLOCKTXDIR_FROM_DEVICE); 2453 Assert(s->cbElementaryTransfer <= 32);2453 Assert(s->cbElementaryTransfer <= 80); 2454 2454 /* Accept valid request types only, and only starting feature 0. */ 2455 2455 if ((s->aATAPICmd[1] & 0x03) == 3 || u16Sfn != 0) … … 2472 2472 pbBuf += cbCopied; 2473 2473 2474 #if 02475 2474 cbCopied = atapiGetConfigurationFillFeatureCore(s, pbBuf, cbBuf); 2476 2475 cbBuf -= cbCopied; … … 2500 2499 cbBuf -= cbCopied; 2501 2500 pbBuf += cbCopied; 2502 #endif2503 2501 2504 2502 /* Set data length now - the field is not included in the final length. */ … … 3242 3240 /* No media change stuff here, it can confuse Linux guests. */ 3243 3241 cbMax = ataBE2H_U16(pbPacket + 7); 3244 ataStartTransfer(s, RT_MIN(cbMax, 32), PDMBLOCKTXDIR_FROM_DEVICE, ATAFN_BT_ATAPI_CMD, ATAFN_SS_ATAPI_GET_CONFIGURATION, true);3242 ataStartTransfer(s, RT_MIN(cbMax, 80), PDMBLOCKTXDIR_FROM_DEVICE, ATAFN_BT_ATAPI_CMD, ATAFN_SS_ATAPI_GET_CONFIGURATION, true); 3245 3243 break; 3246 3244 case SCSI_INQUIRY:
Note:
See TracChangeset
for help on using the changeset viewer.