VirtualBox

Changeset 7641 in vbox for trunk/src


Ignore:
Timestamp:
Mar 31, 2008 7:31:28 AM (17 years ago)
Author:
vboxsync
Message:

pcnet: set TINT a little bit later; fix CSR4_TXSTRT bit

File:
1 edited

Legend:

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

    r7640 r7641  
    20002000        return;
    20012001
    2002     /* Update TDMD, TXSTRT and TINT. */
    2003     pData->aCSR[0] &= ~0x0008;       /* clear TDMD */
     2002    /*
     2003     * Clear TDMD.
     2004     */
     2005    pData->aCSR[0] &= ~0x0008;
    20042006
    20052007    /*
     
    22672269        pData->aCSR[0] &= ~0x0008;       /* clear TDMD */
    22682270
    2269         pData->aCSR[4] |=  0x0004;       /* set TXSTRT */
     2271        pData->aCSR[4] |=  0x0008;       /* set TXSTRT */
    22702272        if (    !CSR_TOKINTD(pData)      /* Transmit OK Interrupt Disable, no infl. on errors. */
    22712273            ||  (CSR_LTINTEN(pData) && tmd.tmd1.ltint)
     
    22732275        {
    22742276            cFlushIrq++;
    2275             pData->aCSR[0] |= 0x0200;    /* set TINT */
    22762277        }
    22772278
     
    22852286    {
    22862287        STAM_COUNTER_INC(&pData->aStatXmitFlush[RT_MIN(cFlushIrq, ELEMENTS(pData->aStatXmitFlush)) - 1]);
     2288        pData->aCSR[0] |= 0x0200;    /* set TINT */
    22872289        pcnetUpdateIrq(pData);
    22882290    }
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