VirtualBox

Changeset 44569 in vbox


Ignore:
Timestamp:
Feb 6, 2013 2:00:43 PM (12 years ago)
Author:
vboxsync
Message:

DevE1000: fGCEnabled -> fRCEnabled.

Location:
trunk/src/VBox/Devices
Files:
2 edited

Legend:

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

    r44567 r44569  
    10811081    bool        fR0Enabled;
    10821082    /** EMT: */
    1083     bool        fGCEnabled;
     1083    bool        fRCEnabled;
    10841084    /** EMT: Compute Ethernet CRC for RX packets. */
    10851085    bool        fEthernetCRC;
     
    59645964                rc = PDMDevHlpIOPortRegisterR0(pPciDev->pDevIns, pThis->addrIOPort, cb, NIL_RTR0PTR /*pvUser*/,
    59655965                                             "e1kIOPortOut", "e1kIOPortIn", NULL, NULL, "E1000");
    5966             if (pThis->fGCEnabled && RT_SUCCESS(rc))
     5966            if (pThis->fRCEnabled && RT_SUCCESS(rc))
    59675967                rc = PDMDevHlpIOPortRegisterRC(pPciDev->pDevIns, pThis->addrIOPort, cb, NIL_RTRCPTR /*pvUser*/,
    59685968                                               "e1kIOPortOut", "e1kIOPortIn", NULL, NULL, "E1000");
     
    59845984                rc = PDMDevHlpMMIORegisterR0(pPciDev->pDevIns, GCPhysAddress, cb, NIL_RTR0PTR /*pvUser*/,
    59855985                                             "e1kMMIOWrite", "e1kMMIORead");
    5986             if (pThis->fGCEnabled && RT_SUCCESS(rc))
     5986            if (pThis->fRCEnabled && RT_SUCCESS(rc))
    59875987                rc = PDMDevHlpMMIORegisterRC(pPciDev->pDevIns, GCPhysAddress, cb, NIL_RTRCPTR /*pvUser*/,
    59885988                                             "e1kMMIOWrite", "e1kMMIORead");
     
    68926892                    pDevIns->iInstance, pThis->addrIOPort, pThis->addrMMReg,
    68936893                    &pThis->macConfigured, g_Chips[pThis->eChip].pcszName,
    6894                     pThis->fGCEnabled ? " GC" : "", pThis->fR0Enabled ? " R0" : "");
     6894                    pThis->fRCEnabled ? " GC" : "", pThis->fR0Enabled ? " R0" : "");
    68956895
    68966896    e1kCsEnter(pThis, VERR_INTERNAL_ERROR); /* Not sure why but PCNet does it */
     
    73787378
    73797379    pThis->fR0Enabled   = true;
    7380     pThis->fGCEnabled   = true;
     7380    pThis->fRCEnabled   = true;
    73817381    pThis->fEthernetCRC = true;
    73827382    pThis->fGSOEnabled  = true;
     
    73977397                                N_("Configuration error: Failed to get the value of 'AdapterType'"));
    73987398    Assert(pThis->eChip <= E1K_CHIP_82545EM);
    7399     rc = CFGMR3QueryBoolDef(pCfg, "GCEnabled", &pThis->fGCEnabled, true);
     7399    rc = CFGMR3QueryBoolDef(pCfg, "RCEnabled", &pThis->fRCEnabled, true);
    74007400    if (RT_FAILURE(rc))
    74017401        return PDMDEV_SET_ERROR(pDevIns, rc,
  • trunk/src/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp

    r44533 r44569  
    13051305    GEN_CHECK_OFF(E1KSTATE, fCableConnected);
    13061306    GEN_CHECK_OFF(E1KSTATE, fR0Enabled);
    1307     GEN_CHECK_OFF(E1KSTATE, fGCEnabled);
     1307    GEN_CHECK_OFF(E1KSTATE, fRCEnabled);
    13081308    GEN_CHECK_OFF(E1KSTATE, auRegs[E1K_NUM_OF_32BIT_REGS]);
    13091309    GEN_CHECK_OFF(E1KSTATE, led);
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