VirtualBox

Changeset 23970 in vbox


Ignore:
Timestamp:
Oct 22, 2009 11:24:08 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53797
Message:

DevSB16,DevVirtioNet,DevPcBios,DrvSCSIHost: typo in error message.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevSB16.cpp

    r22793 r23970  
    17391739                              "Version\0"))
    17401740        return PDMDEV_SET_ERROR(pDevIns, VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES,
    1741                                 N_("Invalid configuraton for sb16 device"));
     1741                                N_("Invalid configuration for sb16 device"));
    17421742
    17431743    /*
  • trunk/src/VBox/Devices/Network/DevVirtioNet.cpp

    r23830 r23970  
    228228    { /* Virtio Network Device */
    229229        0x1AF4, 0x1000, 0x1AF4, 1 + VIRTIO_NET_ID, 0x0200, 3, "virtio-net", "vnet%d",
    230         vnetGetHostFeatures, vnetGetHostMinimalFeatures, vnetSetHostFeatures, 
     230        vnetGetHostFeatures, vnetGetHostMinimalFeatures, vnetSetHostFeatures,
    231231        vnetGetConfig, vnetSetConfig, vnetReset
    232232#ifdef DEBUG
    233233        , vnetGetQueueName
    234234#endif /* DEBUG */
    235     }, 
     235    },
    236236    { /* Virtio Block Device */
    237237        0x1AF4, 0x1001, 0x1AF4, 1 + VIRTIO_BLK_ID, 0x0180, 2, "virtio-blk", "vblk%d",
     
    240240        , NULL
    241241#endif /* DEBUG */
    242     }, 
     242    },
    243243};
    244244
     
    302302{
    303303    uint16_t tmp;
    304    
     304
    305305    PDMDevHlpPhysRead(pState->CTX_SUFF(pDevIns),
    306306                      pVRing->addrAvail + RT_OFFSETOF(VRINGAVAIL, uNextFreeIndex),
     
    334334{
    335335    uint16_t tmp;
    336    
     336
    337337    PDMDevHlpPhysRead(pState->CTX_SUFF(pDevIns),
    338338                      pVRing->addrAvail + RT_OFFSETOF(VRINGAVAIL, auRing[uIndex % pVRing->uSize]),
     
    344344{
    345345    uint16_t tmp;
    346    
     346
    347347    PDMDevHlpPhysRead(pState->CTX_SUFF(pDevIns),
    348348                      pVRing->addrAvail + RT_OFFSETOF(VRINGAVAIL, uFlags),
     
    354354{
    355355    uint16_t tmp;
    356    
     356
    357357    PDMDevHlpPhysRead(pState->CTX_SUFF(pDevIns),
    358358                      pVRing->addrUsed + RT_OFFSETOF(VRINGUSED, uFlags),
     
    373373    if (vqueueIsEmpty(pState, pQueue))
    374374        return false;
    375    
     375
    376376    pElem->nIn = pElem->nOut = 0;
    377377
    378     Log2(("%s vqueueGet: %s avail_idx=%u\n", INSTANCE(pState), 
     378    Log2(("%s vqueueGet: %s avail_idx=%u\n", INSTANCE(pState),
    379379          QUEUENAME(pState, pQueue), pQueue->uNextAvailIndex));
    380380
     
    989989{
    990990    Log(("%s Destroying PCI instance\n", INSTANCE(pState)));
    991    
     991
    992992    if (pState->pQueues)
    993993        RTMemFree(pState->pQueues);
     
    14611461    }
    14621462    vqueueSync(&pState->VPCI, pState->pRxQueue);
    1463    
     1463
    14641464    return VINF_SUCCESS;
    14651465}
     
    14781478    VNETSTATE *pState = IFACE_TO_STATE(pInterface, INetworkPort);
    14791479    int        rc = VINF_SUCCESS;
    1480  
     1480
    14811481    Log2(("%s vnetReceive: pvBuf=%p cb=%u\n", INSTANCE(pState), pvBuf, cb));
    14821482    rc = vnetCanReceive(pState);
     
    16051605                if (uSize > VNET_MAX_FRAME_SIZE - uOffset)
    16061606                {
    1607                     Log(("%s vnetQueueTransmit: Packet is too big (>64k), truncating...\n", INSTANCE(pState))); 
     1607                    Log(("%s vnetQueueTransmit: Packet is too big (>64k), truncating...\n", INSTANCE(pState)));
    16081608                    uSize = VNET_MAX_FRAME_SIZE - uOffset;
    16091609                }
     
    16651665    if (!CFGMR3AreValuesValid(pCfgHandle, "MAC\0" "CableConnected\0" "LineSpeed\0"))
    16661666                    return PDMDEV_SET_ERROR(pDevIns, VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES,
    1667                                             N_("Invalid configuraton for VirtioNet device"));
     1667                                            N_("Invalid configuration for VirtioNet device"));
    16681668
    16691669    /* Get config params */
     
    17691769        pState->hEventMoreRxDescAvail = NIL_RTSEMEVENT;
    17701770    }
    1771    
     1771
    17721772    return vpciDestruct(&pState->VPCI);
    17731773}
  • trunk/src/VBox/Devices/PC/DevPcBios.cpp

    r23942 r23970  
    15261526                              ))
    15271527        return PDMDEV_SET_ERROR(pDevIns, VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES,
    1528                                 N_("Invalid configuraton for device pcbios device"));
     1528                                N_("Invalid configuration for device pcbios device"));
    15291529
    15301530    /*
  • trunk/src/VBox/Devices/Storage/DrvSCSIHost.cpp

    r22278 r23970  
    454454    if (!CFGMR3AreValuesValid(pCfgHandle, "DevicePath\0"))
    455455        return PDMDRV_SET_ERROR(pDrvIns, VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES,
    456                                 N_("Invalid configuraton for host scsi access driver"));
     456                                N_("Invalid configuration for host scsi access driver"));
    457457
    458458    /*
     
    527527    NULL,
    528528    /* pfnDetach */
    529     NULL, 
     529    NULL,
    530530    /* pfnPowerOff */
    531     NULL, 
     531    NULL,
    532532    /* pfnSoftReset */
    533533    NULL,
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