Changeset 76063 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Dec 7, 2018 8:07:56 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevAHCI.cpp
r73097 r76063 573 573 /** Flag whether the legacy port reset method should be used to make it work with saved states. */ 574 574 bool fLegacyPortResetMethod; 575 /** Enable tiger (10.4.x) SSTS hack or not. */ 576 bool fTigerHack; 575 577 576 578 /** Number of usable ports on this controller. */ … … 1179 1181 else 1180 1182 { 1181 pAhciPort->regSSTS = 0x1; /* Indicate device presence detected but communication not established. */ 1183 if (!pAhci->fTigerHack) 1184 pAhciPort->regSSTS = 0x1; /* Indicate device presence detected but communication not established. */ 1185 else 1186 pAhciPort->regSSTS = 0x0; /* Indicate no device detected after COMRESET. [tiger hack] */ 1182 1187 pAhciPort->regSCTL = u32Value; /* Update before kicking the I/O thread. */ 1183 1188 … … 5882 5887 "PortCount\0" 5883 5888 "Bootable\0" 5884 "CmdSlotsAvail\0")) 5889 "CmdSlotsAvail\0" 5890 "TigerHack\0")) 5885 5891 return PDMDEV_SET_ERROR(pDevIns, VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES, 5886 5892 N_("AHCI configuration error: unknown option specified")); … … 5930 5936 N_("AHCI configuration error: CmdSlotsAvail=%u should be at least 1"), 5931 5937 pThis->cCmdSlotsAvail); 5938 bool fTigerHack; 5939 rc = CFGMR3QueryBoolDef(pCfg, "TigerHack", &fTigerHack, false); 5940 if (RT_FAILURE(rc)) 5941 return PDMDEV_SET_ERROR(pDevIns, rc, N_("AHCI configuration error: failed to read TigerHack as boolean")); 5932 5942 5933 5943 /*
Note:
See TracChangeset
for help on using the changeset viewer.