Changeset 3935 in vbox
- Timestamp:
- Jul 31, 2007 10:01:48 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 23344
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r3835 r3935 5514 5514 rc = pIf->pDrvBlockBios->pfnSetGeometry(pIf->pDrvBlockBios, pIf->cCHSCylinders, pIf->cCHSHeads, pIf->cCHSSectors); 5515 5515 } 5516 else if (enmTranslation == PDMBIOSTRANSLATION_LBA) 5516 } 5517 else 5518 { 5519 PDMBIOSTRANSLATION enmTranslation; 5520 rc = pIf->pDrvBlockBios->pfnGetTranslation(pIf->pDrvBlockBios, &enmTranslation); 5521 if (( rc == VERR_PDM_TRANSLATION_NOT_SET 5522 || enmTranslation == PDMBIOSTRANSLATION_LBA) 5523 && pIf->cCHSSectors == 63 5524 && (pIf->cCHSHeads != 16 || pIf->cCHSCylinders >= 1024)) 5517 5525 { 5518 5526 /* Use the official LBA physical CHS geometry. */
Note:
See TracChangeset
for help on using the changeset viewer.