[openib-general] Re: [openib-commits] r2776 - gen2/utils/src/linux-user/ibdm/datamodel
Bernhard Fischer
rep.nop at aon.at
Sun Jul 3 15:42:56 PDT 2005
On Sat, Jul 02, 2005 at 12:25:33PM -0700, eitan at openib.org wrote:
>Modified: gen2/utils/src/linux-user/ibdm/datamodel/Fabric.cpp
Eitan,
- fix a few typos.
Signed-off-by: Bernhard Fischer <rep.nop at aon.at>
-------------- next part --------------
Index: utils/src/linux-user/ibdm/datamodel/ibdm.i
===================================================================
--- utils/src/linux-user/ibdm/datamodel/ibdm.i (revision 2778)
+++ utils/src/linux-user/ibdm/datamodel/ibdm.i (working copy)
@@ -780,7 +780,7 @@ int FabricUtilsVerboseLevel;
IBDM exposes some of its internal objects. The objects
identifiers returned by the various function calls are formatted
- acording to the following rules:
+ according to the following rules:
Fabric: fabric:<idx>
System: system:<fab idx>:<sys name>
SysPort: sysport:<fab idx>:<sys name>:<port name>
Index: utils/src/linux-user/ibdm/datamodel/Fabric.cpp
===================================================================
--- utils/src/linux-user/ibdm/datamodel/Fabric.cpp (revision 2778)
+++ utils/src/linux-user/ibdm/datamodel/Fabric.cpp (working copy)
@@ -34,7 +34,7 @@
/*
IB Fabric Data Model
-This file hodls implementation of the data model classes and methods
+This file holds implementation of the data model classes and methods
*/
@@ -119,8 +119,8 @@ IBPort::connect (IBPort *p_otherPort,
if (p_remotePort != p_otherPort) {
cout << "-W- Disconnecting: "
<< p_remotePort->getName() << " previously connected to:"
- << p_remotePort->getName()
- << " whil econnecting:" << p_otherPort->getName() << endl;
+ << p_remotePort->getName()
+ << " while connecting:" << p_otherPort->getName() << endl;
// the other side should be cleaned only if points here
if (p_remotePort->p_remotePort == this) {
p_remotePort->p_remotePort = NULL;
@@ -580,7 +580,7 @@ IBSystem::getSysPort(string name) {
// constructor:
IBSystem::IBSystem(string n, class IBFabric *p_fab, string t) {
if (p_fab->getSystem(n)) {
- cerr << "Can' deal with double allocation of same system!" << endl;
+ cerr << "Can't deal with double allocation of same system!" << endl;
abort();
}
name = n;
@@ -679,7 +679,7 @@ IBSystem::removeBoard (string boardName)
// Warn if no match:
if (matchedNodes.empty()) {
- cout << "-W-(RemoveBoard) Fail to find any node in:"
+ cout << "-W- removeBoard : Fail to find any node in:"
<< sysNodePrefix << " while removing:" << boardName << endl;
return 1;
}
@@ -1636,7 +1636,7 @@ IBFabric::parseFdbFile(string fn) {
//cout << "-W- Ignoring line:" << sLine << endl;
}
- cout << "-I- Defined " << fdbLines << " fdb entires for:"
+ cout << "-I- Defined " << fdbLines << " fdb entries for:"
<< switches << " switches" << endl;
f.close();
return anyErr;
@@ -1715,7 +1715,7 @@ IBFabric::parseMCFdbFile(string fn) {
//cout << "-W- Ignoring line:" << sLine << endl;
}
- cout << "-I- Defined " << fdbLines << " Multicast Fdb entires for:"
+ cout << "-I- Defined " << fdbLines << " Multicast Fdb entries for:"
<< switches << " switches" << endl;
f.close();
return anyErr;
Index: utils/src/linux-user/IBMgtSim/src/sma.cpp
===================================================================
--- utils/src/linux-user/IBMgtSim/src/sma.cpp (revision 2778)
+++ utils/src/linux-user/IBMgtSim/src/sma.cpp (working copy)
@@ -904,7 +904,7 @@ int IBMSSma::setIBPortBaseLid(
unsigned int portLidIndex;
MSG_ENTER_FUNC;
- MSGREG(inf0, 'I', "Seting base_lid for node:$ port:$ to $", "setIBPortBaseLid");
+ MSGREG(inf0, 'I', "Setting base_lid for node:$ port:$ to $", "setIBPortBaseLid");
pNode = pSimNode->getIBNode();
pPort = pNode->getPort(portNum);
if (! pPort)
@@ -925,7 +925,7 @@ int IBMSSma::setIBPortBaseLid(
/* make sure the vector of port by lid has enough entries */
if (pNode->p_fabric->PortByLid.size() <= base_lid)
{
- /* we add 20 entires each time */
+ /* we add 20 entries each time */
pNode->p_fabric->PortByLid.resize(base_lid+20);
for ( portLidIndex = pNode->p_fabric->PortByLid.size();
portLidIndex < base_lid + 20;
More information about the general
mailing list