VirtualBox

Changeset 54960 in vbox for trunk


Ignore:
Timestamp:
Mar 26, 2015 8:36:09 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
99210
Message:

DevAHCI/DevATA: Typo to make some compilers happy. No change in generated code. Thank you Jung-uk Kim.

Location:
trunk/src/VBox/Devices/Storage
Files:
2 edited

Legend:

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

    r54088 r54960  
    33343334
    33353335    ataH2BE_U16(pbBuf, 0x0); /* feature 0: list of profiles supported */
    3336     pbBuf[2] = (0 << 2) | (1 << 1) | (1 || 0); /* version 0, persistent, current */
     3336    pbBuf[2] = (0 << 2) | (1 << 1) | (1 << 0); /* version 0, persistent, current */
    33373337    pbBuf[3] = 8; /* additional bytes for profiles */
    33383338    /* The MMC-3 spec says that DVD-ROM read capability should be reported
  • trunk/src/VBox/Devices/Storage/DevATA.cpp

    r54817 r54960  
    24862486
    24872487    ataH2BE_U16(pbBuf, 0x0); /* feature 0: list of profiles supported */
    2488     pbBuf[2] = (0 << 2) | (1 << 1) | (1 || 0); /* version 0, persistent, current */
     2488    pbBuf[2] = (0 << 2) | (1 << 1) | (1 << 0); /* version 0, persistent, current */
    24892489    pbBuf[3] = 8; /* additional bytes for profiles */
    24902490    /* The MMC-3 spec says that DVD-ROM read capability should be reported
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