VirtualBox

Changeset 39590 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Dec 12, 2011 6:07:45 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
75356
Message:

Watch for TFES bit, too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS-new/ahci.c

    r39589 r39590  
    120120#define AHCI_REG_PORT_IS   0x10
    121121# define AHCI_REG_PORT_IS_DHRS RT_BIT_32(0)
     122# define AHCI_REG_PORT_IS_TFES RT_BIT_32(30)
    122123#define AHCI_REG_PORT_IE   0x14
    123124#define AHCI_REG_PORT_CMD  0x18
     
    258259        DBG_AHCI("AHCI: Waiting for D2H FIS\n");
    259260        while (ahci_ctrl_is_bit_set(io_base, AHCI_PORT_REG(port, AHCI_REG_PORT_IS),
    260                                     AHCI_REG_PORT_IS_DHRS) == 0)
     261                                    AHCI_REG_PORT_IS_DHRS | AHCI_REG_PORT_IS_TFES) == 0)
    261262        {
    262263            // This is where we'd need some kind of a yield functionality...
Note: See TracChangeset for help on using the changeset viewer.

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