Changeset 37673 in vbox
- Timestamp:
- Jun 28, 2011 8:45:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevAHCI.cpp
r37660 r37673 8164 8164 } 8165 8165 8166 if (RT_SUCCESS(rc) && pAhciPort->fATAPI)8167 ahciMediumInserted(pAhciPort);8168 8169 8166 /* 8170 8167 * Init vendor product data. … … 8183 8180 ASMAtomicOrU32(&pAhciPort->regIS, AHCI_PORT_IS_CPDS | AHCI_PORT_IS_PRCS | AHCI_PORT_IS_PCS); 8184 8181 ASMAtomicOrU32(&pAhciPort->regSERR, AHCI_PORT_SERR_X | AHCI_PORT_SERR_N); 8182 8183 if (pAhciPort->fATAPI) 8184 pAhciPort->regSIG = AHCI_PORT_SIG_ATAPI; 8185 else 8186 pAhciPort->regSIG = AHCI_PORT_SIG_DISK; 8187 pAhciPort->regSSTS = (0x01 << 8) | /* Interface is active. */ 8188 (0x02 << 4) | /* Generation 2 (3.0GBps) speed. */ 8189 (0x03 << 0); /* Device detected and communication established. */ 8190 8185 8191 if ( (pAhciPort->regIE & AHCI_PORT_IE_CPDE) 8186 8192 || (pAhciPort->regIE & AHCI_PORT_IE_PCE)
Note:
See TracChangeset
for help on using the changeset viewer.