Changeset 106422 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Oct 17, 2024 10:07:16 AM (4 months ago)
- svn:sync-xref-src-repo-rev:
- 165241
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevAHCI.cpp
r106061 r106422 4397 4397 if (RT_SUCCESS(rc)) 4398 4398 { 4399 PDMMEDIAEXIOREQSCSITXDIR enmTxDir = PDMMEDIAEXIOREQSCSITXDIR_NONE; 4399 4400 if (cbBuf && (pAhciReq->fFlags & AHCI_REQ_XFER_2_HOST)) 4401 { 4400 4402 pAhciPort->Led.Asserted.s.fReading = pAhciPort->Led.Actual.s.fReading = 1; 4403 enmTxDir = PDMMEDIAEXIOREQSCSITXDIR_FROM_DEVICE; 4404 } 4401 4405 else if (cbBuf) 4406 { 4402 4407 pAhciPort->Led.Asserted.s.fWriting = pAhciPort->Led.Actual.s.fWriting = 1; 4408 enmTxDir = PDMMEDIAEXIOREQSCSITXDIR_TO_DEVICE; 4409 } 4403 4410 rc = pAhciPortR3->pDrvMediaEx->pfnIoReqSendScsiCmd(pAhciPortR3->pDrvMediaEx, pAhciReq->hIoReq, 4404 4411 0, &pAhciReq->aATAPICmd[0], ATAPI_PACKET_SIZE, 4405 PDMMEDIAEXIOREQSCSITXDIR_UNKNOWN, NULL, cbBuf,4412 enmTxDir, NULL, cbBuf, 4406 4413 &pAhciPort->abATAPISense[0], sizeof(pAhciPort->abATAPISense), NULL, 4407 4414 &pAhciReq->u8ScsiSts, 30 * RT_MS_1SEC);
Note:
See TracChangeset
for help on using the changeset viewer.