- Timestamp:
- Oct 13, 2010 5:44:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxIdeControllerDxe/IdeController.c
r33027 r33113 82 82 }; 83 83 84 static BOOLEAN gfIdeAhciEmulation = FALSE; 85 84 86 EFI_STATUS 85 87 EFIAPI … … 204 206 Status = EFI_UNSUPPORTED; 205 207 } 208 if (PciSubClass == 0x6) 209 gfIdeAhciEmulation = TRUE; 206 210 207 211 Done: … … 513 517 return EFI_OUT_OF_RESOURCES; 514 518 } 519 EFI_ATA_COLLECTIVE_MODE *pSupportedModes = (*SupportedModes); 520 pSupportedModes->PioMode.Mode = 3; /* AtaPioMode4 see VBoxIdeBusDxe/IdeData.h */ 521 if (gfIdeAhciEmulation) 522 { 523 pSupportedModes->UdmaMode.Valid = FALSE; 524 pSupportedModes->MultiWordDmaMode.Valid = FALSE; 525 } 515 526 516 527 return EFI_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.