Changeset 45974 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- May 9, 2013 10:18:45 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r45973 r45974 4506 4506 uint32_t val; 4507 4507 4508 if ((!pCtl->aIfs[0].pDrvBlock && !pCtl->aIfs[1].pDrvBlock) || 4509 (pCtl->iSelectedIf == 1 && !s->pDrvBlock)) 4510 val = 0; 4508 //@todo: The handler should not be even registered if there 4509 // is no device on an IDE channel. 4510 if (!pCtl->aIfs[0].pDrvBlock && !pCtl->aIfs[1].pDrvBlock) 4511 val = 0xff; 4512 else if (pCtl->iSelectedIf == 1 && !s->pDrvBlock) 4513 val = 0; /* Device 1 selected, Device 0 responding for it. */ 4511 4514 else 4512 4515 val = s->uATARegStatus;
Note:
See TracChangeset
for help on using the changeset viewer.