VirtualBox

Changeset 46398 in vbox


Ignore:
Timestamp:
Jun 5, 2013 4:06:05 PM (12 years ago)
Author:
vboxsync
Message:

BusLogic: Clear interrupts on device reset.

File:
1 edited

Legend:

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

    r46397 r46398  
    10771077    LogFlowFunc(("pBusLogic=%#p\n", pBusLogic));
    10781078
    1079     /* Reset registers to default value. */
     1079    /* Reset registers to default values. */
    10801080    pBusLogic->regStatus = BUSLOGIC_REGISTER_STATUS_HOST_ADAPTER_READY | BUSLOGIC_REGISTER_STATUS_INITIALIZATION_REQUIRED;
    1081     pBusLogic->regInterrupt = 0;
    1082     pBusLogic->uPendingIntr = 0;
    10831081    pBusLogic->regGeometry = BUSLOGIC_REGISTER_GEOMETRY_EXTENTED_TRANSLATION_ENABLED;
    10841082    pBusLogic->uOperationCode = 0xff; /* No command executing. */
     
    10881086    pBusLogic->uMailboxOutgoingPositionCurrent = 0;
    10891087    pBusLogic->uMailboxIncomingPositionCurrent = 0;
     1088
     1089    /* Clear any active/pending interrupts. */
     1090    pBusLogic->uPendingIntr = 0;
     1091    buslogicClearInterrupt(pBusLogic);
    10901092
    10911093    /* Guest-initiated HBA reset does not affect ISA port I/O. */
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