VirtualBox

Changeset 95070 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 24, 2022 9:55:48 AM (3 years ago)
Author:
vboxsync
Message:

DevATA: Set DSC when completing START/STOP UNIT. Needed to make NT 4.0 happy, see bugref:5869.

File:
1 edited

Legend:

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

    r95059 r95070  
    37433743            }
    37443744            atapiR3CmdOK(pCtl, s);
    3745             ataSetStatus(pCtl, s, ATA_STAT_SEEK); /* Linux expects this. */
     3745            ataSetStatus(pCtl, s, ATA_STAT_SEEK); /* Linux expects this. Required by ATAPI 2.x when seek completes. */
    37463746            break;
    37473747        }
     
    37803780            }
    37813781            if (RT_SUCCESS(rc))
     3782            {
    37823783                atapiR3CmdOK(pCtl, s);
     3784                ataSetStatus(pCtl, s, ATA_STAT_SEEK);   /* Needed by NT 3.51/4.0, see @bugref{5869}. */
     3785            }
    37833786            else
    37843787                atapiR3CmdErrorSimple(pCtl, s, SCSI_SENSE_NOT_READY, SCSI_ASC_MEDIA_LOAD_OR_EJECT_FAILED);
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