VirtualBox

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


Ignore:
Timestamp:
Jun 10, 2008 1:47:22 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
31870
Message:

IDE: Make SCO OpenServer disk detection work

File:
1 edited

Legend:

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

    r9387 r9572  
    32113211            ataSetIRQ(s); /* Shortcut, do not use AIO thread. */
    32123212            break;
     3213        case ATA_SEEK: /* Used by the SCO OpenServer. Command is marked as obsolete */
     3214            ataCmdOK(s, 0);
     3215            ataSetIRQ(s); /* Shortcut, do not use AIO thread. */
     3216            break;
    32133217        case ATA_READ_NATIVE_MAX_ADDRESS:
    32143218            ataSetSector(s, RT_MIN(s->cTotalSectors, 1 << 28) - 1);
     
    46994703        case VAL(2, 2): *pu32 = ataBMDMAStatusReadB(pCtl, Port); break;
    47004704        case VAL(4, 4): *pu32 = ataBMDMAAddrReadL(pCtl, Port); break;
     4705        case VAL(0, 4):
     4706            /* The SCO OpenServer tries to read 4 bytes starting from offset 0. */
     4707            *pu32 = ataBMDMACmdReadB(pCtl, Port) | (ataBMDMAStatusReadB(pCtl, Port) << 16);
     4708            break;
    47014709        default:
    47024710            AssertMsgFailed(("%s: Unsupported read from port %x size=%d\n", __FUNCTION__, Port, cb));
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