VirtualBox

Changeset 17183 in vbox for trunk


Ignore:
Timestamp:
Feb 26, 2009 9:17:18 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
43469
Message:

#3681: GRUB DHCP fix: fake TX descriptor write-back bursting.

File:
1 edited

Legend:

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

    r15955 r17183  
    226226AssertCompileSize(PBAST, 4);
    227227
     228#define TXDCTL_WTHRESH_MASK   0x003F0000
     229#define TXDCTL_WTHRESH_SHIFT  16
    228230#define TXDCTL_LWTHRESH_MASK  0xFE000000
    229231#define TXDCTL_LWTHRESH_SHIFT 25
     
    29082910static void e1kDescReport(E1KSTATE* pState, E1KTXDESC* pDesc, RTGCPHYS addr)
    29092911{
    2910     /* Note: We do not support descriptor write-back bursting. */
     2912    /*
     2913     * We fake descriptor write-back bursting. Descriptors are written back as they are
     2914     * processed.
     2915     */
    29112916    /* Let's pretend we process descriptors. Write back with DD set. */
    2912     if (pDesc->legacy.cmd.fRS)
     2917    if (pDesc->legacy.cmd.fRS || (GET_BITS(TXDCTL, WTHRESH) > 0))
    29132918    {
    29142919        pDesc->legacy.dw3.fDD = 1; /* Descriptor Done */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette