VirtualBox

Changeset 87769 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Feb 16, 2021 5:44:39 PM (4 years ago)
Author:
vboxsync
Message:

DevE1000: Fixed four e1kRaiseInterrupt calls broken by r29792 when adding the rcBusy parameter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevE1000.cpp

    r87767 r87769  
    21712171 * @param   pThis       The device state structure.
    21722172 */
    2173 static int e1kRaiseInterrupt(PPDMDEVINS pDevIns, PE1KSTATE pThis, int rcBusy, uint32_t u32IntCause = 0)
     2173static int e1kRaiseInterrupt(PPDMDEVINS pDevIns, PE1KSTATE pThis, int rcBusy, uint32_t u32IntCause)
    21742174{
    21752175    int rc = e1kCsEnter(pThis, rcBusy);
     
    35433543    e1kCancelTimer(pDevIns, pThis, pThis->hTADTimer);
    35443544#  endif
    3545     e1kRaiseInterrupt(pDevIns, pThis, ICR_TXDW);
     3545    e1kRaiseInterrupt(pDevIns, pThis, VERR_IGNORED, ICR_TXDW);
    35463546}
    35473547
     
    35573557    /* Cancel interrupt delay timer as we have already got attention */
    35583558    e1kCancelTimer(pDevIns, pThis, pThis->hTIDTimer);
    3559     e1kRaiseInterrupt(pDevIns, pThis, ICR_TXDW);
     3559    e1kRaiseInterrupt(pDevIns, pThis, VERR_IGNORED, ICR_TXDW);
    35603560}
    35613561
     
    35743574    /* Cancel absolute delay timer as we have already got attention */
    35753575    e1kCancelTimer(pDevIns, pThis, pThis->hRADTimer);
    3576     e1kRaiseInterrupt(pDevIns, pThis, ICR_RXT0);
     3576    e1kRaiseInterrupt(pDevIns, pThis, VERR_IGNORED, ICR_RXT0);
    35773577}
    35783578
     
    35883588    /* Cancel interrupt delay timer as we have already got attention */
    35893589    e1kCancelTimer(pDevIns, pThis, pThis->hRIDTimer);
    3590     e1kRaiseInterrupt(pDevIns, pThis, ICR_RXT0);
     3590    e1kRaiseInterrupt(pDevIns, pThis, VERR_IGNORED, ICR_RXT0);
    35913591}
    35923592
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