VirtualBox

Changeset 27274 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 11, 2010 11:58:05 AM (15 years ago)
Author:
vboxsync
Message:

AHCI: Add ATA_SLEEP to the list of supported commands (does nothing actually)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevAHCI.cpp

    r26173 r27274  
    42594259     * data to transfer and the amount of guest memory reserved can differ
    42604260     */
    4261     if (pAhciPortTaskState->pfnPostProcess)
     4261    if (pAhciPortTaskState->pfnPostProcess || true)
    42624262    {
    42634263        ahciLog(("%s: Request with post processing.\n"));
     
    50575057        case ATA_READ_VERIFY_SECTORS:
    50585058        case ATA_READ_VERIFY_SECTORS_WITHOUT_RETRIES:
     5059        case ATA_SLEEP:
    50595060            pAhciPortTaskState->uATARegError = 0;
    50605061            pAhciPortTaskState->uATARegStatus = ATA_STAT_READY | ATA_STAT_SEEK;
     
    50965097        case ATA_SMART:
    50975098        case ATA_NV_CACHE:
    5098         case ATA_SLEEP: /* Powermanagement not supported. */
    50995099            pAhciPortTaskState->uATARegError = ABRT_ERR;
    51005100            pAhciPortTaskState->uATARegStatus = ATA_STAT_READY | ATA_STAT_ERR;
     
    65346534
    65356535    PCIDevSetVendorId    (&pThis->dev, 0x8086); /* Intel */
    6536     PCIDevSetDeviceId    (&pThis->dev, 0x2829); /* ICH-8M */
     6536    PCIDevSetDeviceId    (&pThis->dev, 0x27C5); /* ICH-8M */
    65376537    PCIDevSetCommand     (&pThis->dev, 0x0000);
    65386538    PCIDevSetRevisionId  (&pThis->dev, 0x02);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette