VirtualBox

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


Ignore:
Timestamp:
Mar 26, 2012 1:14:08 PM (13 years ago)
Author:
vboxsync
Message:

Forgot to commit.

File:
1 edited

Legend:

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

    r40282 r40642  
    36693669
    36703670    uint8_t iRegister =   pThis->enmCtrlType == LSILOGICCTRLTYPE_SCSI_SPI
    3671                         ? Port - LSILOGIC_ISA_IO_PORT
    3672                         : Port - LSILOGIC_SAS_ISA_IO_PORT;
     3671                        ? Port - LSILOGIC_BIOS_IO_PORT
     3672                        : Port - LSILOGIC_SAS_BIOS_IO_PORT;
    36733673    rc = vboxscsiReadRegister(&pThis->VBoxSCSI, iRegister, pu32);
    36743674
     
    37583758
    37593759    uint8_t iRegister =   pThis->enmCtrlType == LSILOGICCTRLTYPE_SCSI_SPI
    3760                         ? Port - LSILOGIC_ISA_IO_PORT
    3761                         : Port - LSILOGIC_SAS_ISA_IO_PORT;
     3760                        ? Port - LSILOGIC_BIOS_IO_PORT
     3761                        : Port - LSILOGIC_SAS_BIOS_IO_PORT;
    37623762    rc = vboxscsiWriteRegister(&pThis->VBoxSCSI, iRegister, (uint8_t)u32);
    37633763    if (rc == VERR_MORE_DATA)
     
    37853785
    37863786    uint8_t iRegister =   pThis->enmCtrlType == LSILOGICCTRLTYPE_SCSI_SPI
    3787                         ? Port - LSILOGIC_ISA_IO_PORT
    3788                         : Port - LSILOGIC_SAS_ISA_IO_PORT;
     3787                        ? Port - LSILOGIC_BIOS_IO_PORT
     3788                        : Port - LSILOGIC_SAS_BIOS_IO_PORT;
    37893789    rc = vboxscsiWriteString(pDevIns, &pThis->VBoxSCSI, iRegister,
    37903790                             pGCPtrSrc, pcTransfer, cb);
     
    38123812
    38133813    uint8_t iRegister =   pThis->enmCtrlType == LSILOGICCTRLTYPE_SCSI_SPI
    3814                         ? Port - LSILOGIC_ISA_IO_PORT
    3815                         : Port - LSILOGIC_SAS_ISA_IO_PORT;
     3814                        ? Port - LSILOGIC_BIOS_IO_PORT
     3815                        : Port - LSILOGIC_SAS_BIOS_IO_PORT;
    38163816    return vboxscsiReadString(pDevIns, &pThis->VBoxSCSI, iRegister,
    38173817                              pGCPtrDst, pcTransfer, cb);
     
    52305230    {
    52315231        if (pThis->enmCtrlType == LSILOGICCTRLTYPE_SCSI_SPI)
    5232             rc = PDMDevHlpIOPortRegister(pDevIns, LSILOGIC_ISA_IO_PORT, 3, NULL,
     5232            rc = PDMDevHlpIOPortRegister(pDevIns, LSILOGIC_BIOS_IO_PORT, 3, NULL,
    52335233                                         lsilogicIsaIOPortWrite, lsilogicIsaIOPortRead,
    52345234                                         lsilogicIsaIOPortWriteStr, lsilogicIsaIOPortReadStr,
    52355235                                         "LsiLogic BIOS");
    52365236        else if (pThis->enmCtrlType == LSILOGICCTRLTYPE_SCSI_SAS)
    5237             rc = PDMDevHlpIOPortRegister(pDevIns, LSILOGIC_SAS_ISA_IO_PORT, 3, NULL,
     5237            rc = PDMDevHlpIOPortRegister(pDevIns, LSILOGIC_SAS_BIOS_IO_PORT, 3, NULL,
    52385238                                         lsilogicIsaIOPortWrite, lsilogicIsaIOPortRead,
    52395239                                         lsilogicIsaIOPortWriteStr, lsilogicIsaIOPortReadStr,
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