Changeset 77392 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Feb 20, 2019 4:05:10 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r77349 r77392 4493 4493 else /* Device 0 selected (but not present). */ 4494 4494 { 4495 Log2(("%s: addr=%#x: LUN#%d not attached\n", __FUNCTION__, addr, s->iLUN)); 4496 return VERR_IOM_IOPORT_UNUSED; 4495 /* ATA-3 and later specifies that the host must have a pull-down resistor on DD7; ATA-5 explains 4496 * that this causes the BSY bit to always be read as clear when there is no device on a given 4497 * channel. Software then does not need to wait a long time for non-existent drives; note that 4498 * EFI (TianoCore) relies on this behavior. 4499 */ 4500 *pu32 = 0x7F; 4501 Log2(("%s: addr=%#x: LUN#%d not attached, val=%#02x\n", __FUNCTION__, addr, s->iLUN, *pu32)); 4502 return VINF_SUCCESS; 4497 4503 } 4498 4504 }
Note:
See TracChangeset
for help on using the changeset viewer.