Changeset 30688 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Jul 7, 2010 7:31:40 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 63449
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevBusLogic.cpp
r30687 r30688 880 880 pBusLogic->regInterrupt |= BUSLOGIC_REGISTER_INTERRUPT_COMMAND_COMPLETE; 881 881 882 /*883 * SCO OpenServer requires that this flag is set after the ECHO COMMAND884 * DATA command. Doesn't look like it breaks other guests885 * 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 890 882 buslogicSetInterrupt(pBusLogic); 891 883 } … … 1357 1349 memset(pReply, 0, sizeof(ReplyInquireExtendedSetupInformation)); 1358 1350 1351 //@todo: should this reflect the RAM contents (AutoSCSIRam)? 1352 pReply->uBusType = 'E'; /* EISA style */ 1353 pReply->u16ScatterGatherLimit = 8192; 1354 pReply->fLevelSensitiveInterrupt = true; 1359 1355 pReply->fHostWideSCSI = true; 1360 1356 pReply->fHostUltraSCSI = true; 1361 pReply->u16ScatterGatherLimit = 8192; 1362 pBusLogic->regStatus |= BUSLOGIC_REGISTER_STATUS_INITIALIZATION_REQUIRED; 1357 memcpy(pReply->aFirmwareRevision, "07B", sizeof(pReply->aFirmwareRevision)); 1363 1358 1364 1359 break; … … 1584 1579 1585 1580 if (uVal & BUSLOGIC_REGISTER_CONTROL_INTERRUPT_RESET) 1586 {1587 1581 buslogicClearInterrupt(pBusLogic); 1588 /*1589 * Clear the flag in case it is set1590 * 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 }1595 1582 1596 1583 PDMCritSectLeave(&pBusLogic->CritSectIntr);
Note:
See TracChangeset
for help on using the changeset viewer.