VirtualBox

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


Ignore:
Timestamp:
Feb 21, 2020 10:42:43 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
136239
Message:

DevBusLogic: Improved accuracy of adapter information to better match real hardware.

File:
1 edited

Legend:

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

    r83117 r83126  
    11371137    pThis->LocalRam.structured.autoSCSIData.fStrictRoundRobinMode = pThis->fStrictRoundRobinMode;
    11381138    pThis->LocalRam.structured.autoSCSIData.u16UltraPermittedMask = UINT16_MAX;
     1139    pThis->LocalRam.structured.autoSCSIData.uSCSIId = 7;
     1140    pThis->LocalRam.structured.autoSCSIData.uHostAdapterIoPortAddress = pThis->uDefaultISABaseCode == ISA_BASE_DISABLED ? 2 : pThis->uDefaultISABaseCode;
    11391141    /** @todo calculate checksum? */
    11401142}
     
    18251827            memset(pReply, 0, sizeof(ReplyInquirePCIHostAdapterInformation));
    18261828
    1827             /* It seems VMware does not provide valid information here too, lets do the same :) */
    1828             pReply->InformationIsValid = 0;
     1829            /* Modeled after a real BT-958(D) */
     1830            pReply->HighByteTerminated = 1;
     1831            pReply->LowByteTerminated = 1;
     1832            pReply->JP1 = 1;    /* Closed; "Factory configured - do not alter" */
     1833            pReply->InformationIsValid = 1;
    18291834            pReply->IsaIOPort = pThis->uISABaseCode;
    18301835            pReply->IRQ = PCIDevGetInterruptLine(pDevIns->apPciDevs[0]);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette