VirtualBox

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


Ignore:
Timestamp:
Apr 11, 2007 7:52:07 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
20317
Message:

Ignore enable/disable reverting to power-on defaults instead of failing
the commands.

File:
1 edited

Legend:

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

    r2024 r2025  
    31693169                    ataSetIRQ(s); /* Shortcut, do not use AIO thread. */
    31703170                    break;
     3171                case 0xcc: /* reverting to power-on defaults enable */
     3172                    Log2(("%s: revert to power-on defaults enable\n", __FUNCTION__));
     3173                    ataCmdOK(s, ATA_STAT_SEEK);
     3174                    ataSetIRQ(s); /* Shortcut, do not use AIO thread. */
     3175                    break;
     3176                case 0x66: /* reverting to power-on defaults disable */
     3177                    Log2(("%s: revert to power-on defaults disable\n", __FUNCTION__));
     3178                    ataCmdOK(s, ATA_STAT_SEEK);
     3179                    ataSetIRQ(s); /* Shortcut, do not use AIO thread. */
     3180                    break;
    31713181                case 0x82: /* write cache disable */
    31723182                    Log2(("%s: write cache disable\n", __FUNCTION__));
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