Changeset 17732 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Mar 12, 2009 11:15:24 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r17312 r17732 5706 5706 pIf->PCHSGeometry.cHeads = 16; 5707 5707 pIf->PCHSGeometry.cSectors = 63; 5708 /* Set the disk geometry information. */ 5709 rc = pIf->pDrvBlockBios->pfnSetPCHSGeometry(pIf->pDrvBlockBios, 5710 &pIf->PCHSGeometry); 5708 /* Set the disk geometry information. Ignore errors. */ 5709 pIf->pDrvBlockBios->pfnSetPCHSGeometry(pIf->pDrvBlockBios, 5710 &pIf->PCHSGeometry); 5711 rc = VINF_SUCCESS; 5711 5712 } 5712 5713 LogRel(("PIIX3 ATA: LUN#%d: disk, PCHS=%u/%u/%u, total number of sectors %Ld\n", pIf->iLUN, pIf->PCHSGeometry.cCylinders, pIf->PCHSGeometry.cHeads, pIf->PCHSGeometry.cSectors, pIf->cTotalSectors)); 5713 5714 } 5714 return VINF_SUCCESS;5715 return rc; 5715 5716 } 5716 5717 … … 6184 6185 return rc; 6185 6186 pThis->u8Type = (uint8_t)enmChipset; 6186 6187 6187 6188 /* 6188 6189 * Initialize data (most of it anyway). … … 6195 6196 PCIDevSetVendorId(&pThis->dev, 0x8086); /* Intel */ 6196 6197 6197 /* 6198 /* 6198 6199 * When adding more IDE chipsets, don't forget to update pci_bios_init_device() 6199 6200 * as it explicitly checks for PCI id for IDE controllers.
Note:
See TracChangeset
for help on using the changeset viewer.