VirtualBox

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


Ignore:
Timestamp:
May 13, 2019 9:06:54 AM (6 years ago)
Author:
vboxsync
Message:

PCnet: Clear cached descriptor state when doing INIT. Required at least for FreeBSD pcn driver.

File:
1 edited

Legend:

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

    r78477 r78478  
    16231623{
    16241624    Log(("#%d pcnetStart:\n", PCNET_INST_NR));
     1625
     1626    /* Reset any cached RX/TX descriptor state. */
     1627    CSR_CRDA(pThis) = CSR_CRBA(pThis) = CSR_NRDA(pThis) = CSR_NRBA(pThis) = 0;
     1628    CSR_CRBC(pThis) = CSR_NRBC(pThis) = CSR_CRST(pThis) = 0;
     1629
    16251630    if (!CSR_DTX(pThis))
    16261631        pThis->aCSR[0] |= 0x0010;    /* set TXON */
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