VirtualBox

Changeset 496 in vbox


Ignore:
Timestamp:
Feb 1, 2007 9:53:51 AM (18 years ago)
Author:
vboxsync
Message:

Updated no polling code path.

File:
1 edited

Legend:

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

    r484 r496  
    12031203    Log(("pcnetUpdateRingHandlers TD %VGp size %x -> %VGp size %x\n", pData->TDRAPhysOld, pData->cbTDRAOld, pData->GCTDRA, pcnetTdraAddr(pData, 0)));
    12041204    Log(("pcnetUpdateRingHandlers RX %VGp size %x -> %VGp size %x\n", pData->RDRAPhysOld, pData->cbRDRAOld, pData->GCRDRA, pcnetRdraAddr(pData, 0)));
     1205
     1206    /** @todo unregister order not correct! */
    12051207
    12061208    if (pData->GCRDRA != pData->RDRAPhysOld || CSR_RCVRL(pData) != pData->cbRDRAOld)
     
    26522654        {
    26532655            case 0x00: /* RDP */
    2654 #ifndef PCNET_NO_POLLING
    26552656                pcnetPollTimer(pData);
    2656 #endif
    26572657                val = pcnetCSRReadU16(pData, pData->u32RAP);
    26582658                if (pData->u32RAP == 0)  // pcnetUpdateIrq() already called by pcnetCSRReadU16()
     
    26712671        }
    26722672    }
    2673 #ifndef PCNET_NO_POLLING
    26742673    pcnetUpdateIrq(pData);
    2675 #endif
    26762674
    26772675skip_update_irq:
     
    27312729        {
    27322730            case 0x00: /* RDP */
    2733 #ifndef PCNET_NO_POLLING
    27342731                pcnetPollTimer(pData);
    2735 #endif
    27362732                val = pcnetCSRReadU16(pData, pData->u32RAP);
    27372733                if (pData->u32RAP == 0)  // pcnetUpdateIrq() already called by pcnetCSRReadU16()
     
    27502746        }
    27512747    }
    2752 #ifndef PCNET_NO_POLLING
    27532748    pcnetUpdateIrq(pData);
    2754 #endif
    27552749
    27562750skip_update_irq:
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