Changeset 32082 in vbox for trunk/src/VBox/Devices/Storage/DevAHCI.cpp
- Timestamp:
- Aug 30, 2010 10:01:36 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevAHCI.cpp
r32076 r32082 3510 3510 case SCSI_READ_CD: 3511 3511 iATAPILBA = ataBE2H_U32(pAhciPortTaskState->aATAPICmd + 2); 3512 cSectors = ataBE2H_U24(pAhciPortTaskState->aATAPICmd + 6) / pAhciPortTaskState->cbATAPISector;3512 cSectors = ataBE2H_U24(pAhciPortTaskState->aATAPICmd + 6); 3513 3513 break; 3514 3514 case SCSI_READ_CD_MSF: … … 4197 4197 case SCSI_READ_CD: 4198 4198 pAhciPortTaskState->cbATAPISector = 2048; /**< @todo this size is not always correct */ 4199 cbTransfer = ataBE2H_U24(pbPacket + 6) / pAhciPortTaskState->cbATAPISector* pAhciPortTaskState->cbATAPISector;4199 cbTransfer = ataBE2H_U24(pbPacket + 6) * pAhciPortTaskState->cbATAPISector; 4200 4200 enmTxDir = AHCITXDIR_READ; 4201 4201 goto sendcmd;
Note:
See TracChangeset
for help on using the changeset viewer.