VirtualBox

Changeset 47530 in vbox for trunk/src


Ignore:
Timestamp:
Aug 2, 2013 7:04:31 PM (11 years ago)
Author:
vboxsync
Message:

FDC: Change line is never set if no drive is selected.

File:
1 edited

Legend:

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

    r47527 r47530  
    10901090
    10911091#ifdef VBOX
    1092     if (fdctrl_media_changed(get_cur_drv(fdctrl)))
     1092    /* The change line signal is reported by the currently selected
     1093     * drive. If the corresponding motor on bit is not set, the drive
     1094     * is *not* selected!
     1095     */
     1096    if (fdctrl_media_changed(get_cur_drv(fdctrl))
     1097     && (fdctrl->dor & (0x10 << fdctrl->cur_drv)))
    10931098#else
    10941099    if (fdctrl_media_changed(drv0(fdctrl))
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