VirtualBox

Changeset 30688 in vbox for trunk/src/VBox/Devices/Storage


Ignore:
Timestamp:
Jul 7, 2010 7:31:40 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
63449
Message:

BusLogic: Fix

File:
1 edited

Legend:

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

    r30687 r30688  
    880880        pBusLogic->regInterrupt |= BUSLOGIC_REGISTER_INTERRUPT_COMMAND_COMPLETE;
    881881
    882         /*
    883          * SCO OpenServer requires that this flag is set after the ECHO COMMAND
    884          * DATA command. Doesn't look like it breaks other guests
    885          * but we just set it if the command was actually issued just to be sure.
    886          */
    887         if (pBusLogic->uOperationCode == BUSLOGICCOMMAND_ECHO_COMMAND_DATA)
    888             pBusLogic->regStatus |= BUSLOGIC_REGISTER_STATUS_INITIALIZATION_REQUIRED;
    889 
    890882        buslogicSetInterrupt(pBusLogic);
    891883    }
     
    13571349            memset(pReply, 0, sizeof(ReplyInquireExtendedSetupInformation));
    13581350
     1351            //@todo: should this reflect the RAM contents (AutoSCSIRam)?
     1352            pReply->uBusType = 'E';         /* EISA style */
     1353            pReply->u16ScatterGatherLimit = 8192;
     1354            pReply->fLevelSensitiveInterrupt = true;
    13591355            pReply->fHostWideSCSI = true;
    13601356            pReply->fHostUltraSCSI = true;
    1361             pReply->u16ScatterGatherLimit = 8192;
    1362             pBusLogic->regStatus |= BUSLOGIC_REGISTER_STATUS_INITIALIZATION_REQUIRED;
     1357            memcpy(pReply->aFirmwareRevision, "07B", sizeof(pReply->aFirmwareRevision));
    13631358
    13641359            break;
     
    15841579
    15851580            if (uVal & BUSLOGIC_REGISTER_CONTROL_INTERRUPT_RESET)
    1586             {
    15871581                buslogicClearInterrupt(pBusLogic);
    1588                 /*
    1589                  * Clear the flag in case it is set
    1590                  * to avoid confusing other guests.
    1591                  * SCO OpenServer doesn't need it anymore to be set.
    1592                  */
    1593                 pBusLogic->regStatus &= ~BUSLOGIC_REGISTER_STATUS_INITIALIZATION_REQUIRED;
    1594             }
    15951582
    15961583            PDMCritSectLeave(&pBusLogic->CritSectIntr);
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