Changeset 40642 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Mar 26, 2012 1:14:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevLsiLogicSCSI.cpp
r40282 r40642 3669 3669 3670 3670 uint8_t iRegister = pThis->enmCtrlType == LSILOGICCTRLTYPE_SCSI_SPI 3671 ? Port - LSILOGIC_ ISA_IO_PORT3672 : Port - LSILOGIC_SAS_ ISA_IO_PORT;3671 ? Port - LSILOGIC_BIOS_IO_PORT 3672 : Port - LSILOGIC_SAS_BIOS_IO_PORT; 3673 3673 rc = vboxscsiReadRegister(&pThis->VBoxSCSI, iRegister, pu32); 3674 3674 … … 3758 3758 3759 3759 uint8_t iRegister = pThis->enmCtrlType == LSILOGICCTRLTYPE_SCSI_SPI 3760 ? Port - LSILOGIC_ ISA_IO_PORT3761 : Port - LSILOGIC_SAS_ ISA_IO_PORT;3760 ? Port - LSILOGIC_BIOS_IO_PORT 3761 : Port - LSILOGIC_SAS_BIOS_IO_PORT; 3762 3762 rc = vboxscsiWriteRegister(&pThis->VBoxSCSI, iRegister, (uint8_t)u32); 3763 3763 if (rc == VERR_MORE_DATA) … … 3785 3785 3786 3786 uint8_t iRegister = pThis->enmCtrlType == LSILOGICCTRLTYPE_SCSI_SPI 3787 ? Port - LSILOGIC_ ISA_IO_PORT3788 : Port - LSILOGIC_SAS_ ISA_IO_PORT;3787 ? Port - LSILOGIC_BIOS_IO_PORT 3788 : Port - LSILOGIC_SAS_BIOS_IO_PORT; 3789 3789 rc = vboxscsiWriteString(pDevIns, &pThis->VBoxSCSI, iRegister, 3790 3790 pGCPtrSrc, pcTransfer, cb); … … 3812 3812 3813 3813 uint8_t iRegister = pThis->enmCtrlType == LSILOGICCTRLTYPE_SCSI_SPI 3814 ? Port - LSILOGIC_ ISA_IO_PORT3815 : Port - LSILOGIC_SAS_ ISA_IO_PORT;3814 ? Port - LSILOGIC_BIOS_IO_PORT 3815 : Port - LSILOGIC_SAS_BIOS_IO_PORT; 3816 3816 return vboxscsiReadString(pDevIns, &pThis->VBoxSCSI, iRegister, 3817 3817 pGCPtrDst, pcTransfer, cb); … … 5230 5230 { 5231 5231 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, 5233 5233 lsilogicIsaIOPortWrite, lsilogicIsaIOPortRead, 5234 5234 lsilogicIsaIOPortWriteStr, lsilogicIsaIOPortReadStr, 5235 5235 "LsiLogic BIOS"); 5236 5236 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, 5238 5238 lsilogicIsaIOPortWrite, lsilogicIsaIOPortRead, 5239 5239 lsilogicIsaIOPortWriteStr, lsilogicIsaIOPortReadStr,
Note:
See TracChangeset
for help on using the changeset viewer.