diff options
author | niry <niry@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-26 02:40:48 +0000 |
---|---|---|
committer | niry <niry@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-26 02:40:48 +0000 |
commit | a78d176c1446157a0ae1169ef37d30f2ce0eca68 (patch) | |
tree | 9a57d96fcda734a94a668b3d525b6d2985e8a7c7 /MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c | |
parent | 40b499c613d006e0531013064e57721b6e777a9c (diff) | |
download | edk2-platforms-a78d176c1446157a0ae1169ef37d30f2ce0eca68.tar.xz |
Fix coding style issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7957 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c')
-rw-r--r-- | MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c index 8d294ddb12..7c350d0d9f 100644 --- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c +++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c @@ -205,7 +205,7 @@ IScsiCreateConnection ( Conn->ExpStatSN = 0;
Conn->PartialReqSent = FALSE;
Conn->PartialRspRcvd = FALSE;
- Conn->CID = Session->NextCID++;
+ Conn->Cid = Session->NextCid++;
Status = gBS->CreateEvent (
EVT_TIMER,
@@ -501,9 +501,9 @@ IScsiPrepareLoginReq ( ISCSI_SET_STAGES (LoginReq, Conn->CurrentStage, Conn->NextStage);
LoginReq->VersionMax = ISCSI_VERSION_MAX;
LoginReq->VersionMin = ISCSI_VERSION_MIN;
- LoginReq->TSIH = HTONS (Session->TSIH);
+ LoginReq->Tsih = HTONS (Session->Tsih);
LoginReq->InitiatorTaskTag = HTONL (Session->InitiatorTaskTag);
- LoginReq->CID = HTONS (Conn->CID);
+ LoginReq->Cid = HTONS (Conn->Cid);
LoginReq->CmdSN = HTONL (Session->CmdSN);
//
@@ -514,7 +514,7 @@ IScsiPrepareLoginReq ( // with their increasing StatSN values.
//
LoginReq->ExpStatSN = HTONL (Conn->ExpStatSN);
- CopyMem (LoginReq->ISID, Session->ISID, sizeof (LoginReq->ISID));
+ CopyMem (LoginReq->Isid, Session->Isid, sizeof (LoginReq->Isid));
if (Conn->PartialRspRcvd) {
//
@@ -655,7 +655,7 @@ IScsiProcessLoginRsp ( (CurrentStage != Conn->CurrentStage) ||
(!Conn->TransitInitiated && Transit) ||
(Transit && (NextStage != Conn->NextStage)) ||
- (CompareMem (Session->ISID, LoginRsp->ISID, sizeof (LoginRsp->ISID)) != 0) ||
+ (CompareMem (Session->Isid, LoginRsp->Isid, sizeof (LoginRsp->Isid)) != 0) ||
(LoginRsp->InitiatorTaskTag != Session->InitiatorTaskTag)
) {
//
@@ -753,7 +753,7 @@ IScsiProcessLoginRsp ( // CurrentStage is iSCSI Full Feature, it's the Login-Final Response,
// get the TSIH from the Login Response.
//
- Session->TSIH = NTOHS (LoginRsp->TSIH);
+ Session->Tsih = NTOHS (LoginRsp->Tsih);
}
}
//
@@ -2673,22 +2673,22 @@ IScsiSessionInit ( Random = NET_RANDOM (NetRandomInitSeed ());
- Session->ISID[0] = ISID_BYTE_0;
- Session->ISID[1] = ISID_BYTE_1;
- Session->ISID[2] = ISID_BYTE_2;
- Session->ISID[3] = ISID_BYTE_3;
- Session->ISID[4] = (UINT8) Random;
- Session->ISID[5] = (UINT8) (Random >> 8);
+ Session->Isid[0] = ISID_BYTE_0;
+ Session->Isid[1] = ISID_BYTE_1;
+ Session->Isid[2] = ISID_BYTE_2;
+ Session->Isid[3] = ISID_BYTE_3;
+ Session->Isid[4] = (UINT8) Random;
+ Session->Isid[5] = (UINT8) (Random >> 8);
InitializeListHead (&Session->Conns);
InitializeListHead (&Session->TcbList);
}
- Session->TSIH = 0;
+ Session->Tsih = 0;
Session->CmdSN = 1;
Session->InitiatorTaskTag = 1;
- Session->NextCID = 1;
+ Session->NextCid = 1;
Session->TargetPortalGroupTag = 0;
Session->MaxConnections = ISCSI_MAX_CONNS_PER_SESSION;
|