VirtualBox

Ignore:
Timestamp:
Apr 5, 2024 2:39:02 PM (10 months ago)
Author:
vboxsync
Message:

BIOS: Run INITIALIZE DRIVE PARAMETERS after resetting drives in the unusual case where logical geometry does not match physical.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/disk.c

    r98103 r104194  
    314314
    315315    case 0x00: /* disk controller reset */
    316 #ifdef VBOX_WITH_SCSI
    317         /* SCSI controller does not need a reset. */
    318         if (!VBOX_IS_SCSI_DEVICE(device))
    319 #endif
    320         ata_reset (device);
     316        /* For ATA drives only. NB: This resets both drives on a channel. */
     317        if (VBOX_IS_ATA_DEVICE(device))
     318            ata_reset(device);
    321319        goto int13_success;
    322320        break;
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