- Timestamp:
- Aug 29, 2010 5:09:41 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevAHCI.cpp
r32072 r32073 1902 1902 pAhciPort->uActTasksActive = 0; 1903 1903 1904 ASMAtomicWriteU32(&pAhciPort->MediaEventStatus, ATA_EVENT_STATUS_UNCHANGED); 1905 1904 1906 if (pAhciPort->pDrvBase) 1905 1907 { … … 3765 3767 else 3766 3768 atapiCmdErrorSimple(pAhciPort, pAhciPortTaskState, SCSI_SENSE_NOT_READY, SCSI_ASC_MEDIUM_NOT_PRESENT); 3769 break; 3770 case SCSI_GET_EVENT_STATUS_NOTIFICATION: 3771 cbMax = ataBE2H_U16(pbPacket + 7); 3772 atapiDoTransfer(pAhciPort, pAhciPortTaskState, ATAFN_SS_ATAPI_GET_EVENT_STATUS_NOTIFICATION); 3767 3773 break; 3768 3774 case SCSI_MODE_SENSE_10: … … 4391 4397 { 4392 4398 /* Send a status good D2H FIS. */ 4399 ASMAtomicWriteU32(&pAhciPort->MediaEventStatus, ATA_EVENT_STATUS_UNCHANGED); 4393 4400 pAhciPort->fResetDevice = false; 4394 4401 if (pAhciPort->regCMD & AHCI_PORT_CMD_FRE) … … 7142 7149 pAhciPort->PCHSGeometry.cHeads = 0; 7143 7150 pAhciPort->PCHSGeometry.cSectors = 0; 7144 LogRel(("AHCI LUN#%d: CD/DVD, total number of sectors %Ld \n", pAhciPort->iLUN, pAhciPort->cTotalSectors));7151 LogRel(("AHCI LUN#%d: CD/DVD, total number of sectors %Ld, passthrough %s\n", pAhciPort->iLUN, pAhciPort->cTotalSectors, (pAhciPort->fATAPIPassthrough ? "enabled" : "disabled"))); 7145 7152 } 7146 7153 else
Note:
See TracChangeset
for help on using the changeset viewer.