Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
90447fbb
Commit
90447fbb
authored
Apr 20, 2003
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[rcpci45] typo fix: s/virual/virtual/
parent
ec73a0c5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
drivers/net/rclanmtl.c
drivers/net/rclanmtl.c
+11
-11
No files found.
drivers/net/rclanmtl.c
View file @
90447fbb
...
@@ -445,7 +445,7 @@ RCI2OSendPacket (struct net_device * dev, U32 InitiatorContext,
...
@@ -445,7 +445,7 @@ RCI2OSendPacket (struct net_device * dev, U32 InitiatorContext,
return
RC_RTN_FREE_Q_EMPTY
;
return
RC_RTN_FREE_Q_EMPTY
;
}
}
/* calc vir
ual address of msg - vir
ual already mapped to physical */
/* calc vir
tual address of msg - virt
ual already mapped to physical */
pMsg
=
(
PU32
)
(
pPab
->
pPci45LinBaseAddr
+
msgOffset
);
pMsg
=
(
PU32
)
(
pPab
->
pPci45LinBaseAddr
+
msgOffset
);
size
=
FillI2OMsgSGLFromTCB
(
pMsg
+
4
,
pTransCtrlBlock
);
size
=
FillI2OMsgSGLFromTCB
(
pMsg
+
4
,
pTransCtrlBlock
);
...
@@ -502,7 +502,7 @@ RCPostRecvBuffers (struct net_device * dev, PRCTCB pTransCtrlBlock)
...
@@ -502,7 +502,7 @@ RCPostRecvBuffers (struct net_device * dev, PRCTCB pTransCtrlBlock)
dprintk
(
"RCPostRecvBuffers(): Inbound Free Q empty!
\n
"
);
dprintk
(
"RCPostRecvBuffers(): Inbound Free Q empty!
\n
"
);
return
RC_RTN_FREE_Q_EMPTY
;
return
RC_RTN_FREE_Q_EMPTY
;
}
}
/* calc vir
ual address of msg - vir
ual already mapped to physical */
/* calc vir
tual address of msg - virt
ual already mapped to physical */
pMsg
=
(
PU32
)
(
pPab
->
pPci45LinBaseAddr
+
msgOffset
);
pMsg
=
(
PU32
)
(
pPab
->
pPci45LinBaseAddr
+
msgOffset
);
size
=
FillI2OMsgSGLFromTCB
(
pMsg
+
4
,
pTransCtrlBlock
);
size
=
FillI2OMsgSGLFromTCB
(
pMsg
+
4
,
pTransCtrlBlock
);
...
@@ -677,7 +677,7 @@ RCGetLinkStatistics (struct net_device *dev,
...
@@ -677,7 +677,7 @@ RCGetLinkStatistics (struct net_device *dev,
return
RC_RTN_FREE_Q_EMPTY
;
return
RC_RTN_FREE_Q_EMPTY
;
}
}
/* calc vir
ual address of msg - vir
ual already mapped to physical */
/* calc vir
tual address of msg - virt
ual already mapped to physical */
pMsg
=
(
PU32
)
(
pPab
->
pPci45LinBaseAddr
+
msgOffset
);
pMsg
=
(
PU32
)
(
pPab
->
pPci45LinBaseAddr
+
msgOffset
);
/*dprintk("Get82558Stats - pMsg = 0x%08ulx, InQ msgOffset = 0x%08ulx\n", pMsg, msgOffset);*/
/*dprintk("Get82558Stats - pMsg = 0x%08ulx, InQ msgOffset = 0x%08ulx\n", pMsg, msgOffset);*/
...
@@ -751,7 +751,7 @@ RCGetLinkStatus (struct net_device * dev, PU32 ReturnAddr,
...
@@ -751,7 +751,7 @@ RCGetLinkStatus (struct net_device * dev, PU32 ReturnAddr,
return
RC_RTN_FREE_Q_EMPTY
;
return
RC_RTN_FREE_Q_EMPTY
;
}
}
/* calc vir
ual address of msg - vir
ual already mapped to physical */
/* calc vir
tual address of msg - virt
ual already mapped to physical */
pMsg
=
(
PU32
)
(
pPab
->
pPci45LinBaseAddr
+
msgOffset
);
pMsg
=
(
PU32
)
(
pPab
->
pPci45LinBaseAddr
+
msgOffset
);
/*dprintk("Get82558LinkStatus - pMsg = 0x%08ulx, InQ msgOffset = 0x%08ulx\n", pMsg, msgOffset);*/
/*dprintk("Get82558LinkStatus - pMsg = 0x%08ulx, InQ msgOffset = 0x%08ulx\n", pMsg, msgOffset);*/
/*dprintk("Get82558LinkStatus - pMsg = 0x%08X, InQ msgOffset = 0x%08X\n", pMsg, msgOffset);*/
/*dprintk("Get82558LinkStatus - pMsg = 0x%08X, InQ msgOffset = 0x%08X\n", pMsg, msgOffset);*/
...
@@ -1452,7 +1452,7 @@ RCResetIOP (struct net_device * dev)
...
@@ -1452,7 +1452,7 @@ RCResetIOP (struct net_device * dev)
pMsg
[
7
]
=
0
;
pMsg
[
7
]
=
0
;
pMsg
[
8
]
=
1
;
/* return 1 byte */
pMsg
[
8
]
=
1
;
/* return 1 byte */
/* virual pointer to return buffer - clear first two dwords */
/* vir
t
ual pointer to return buffer - clear first two dwords */
p32
=
(
volatile
PU32
)
pPab
->
pLinOutMsgBlock
;
p32
=
(
volatile
PU32
)
pPab
->
pLinOutMsgBlock
;
p32
[
0
]
=
0
;
p32
[
0
]
=
0
;
p32
[
1
]
=
0
;
p32
[
1
]
=
0
;
...
@@ -1693,7 +1693,7 @@ SendI2OOutboundQInitMsg (PPAB pPab)
...
@@ -1693,7 +1693,7 @@ SendI2OOutboundQInitMsg (PPAB pPab)
return
RC_RTN_FREE_Q_EMPTY
;
return
RC_RTN_FREE_Q_EMPTY
;
}
}
/* calc vir
ual address of msg - vir
ual already mapped to physical */
/* calc vir
tual address of msg - virt
ual already mapped to physical */
pMsg
=
(
PU32
)
(
pPab
->
pPci45LinBaseAddr
+
msgOffset
);
pMsg
=
(
PU32
)
(
pPab
->
pPci45LinBaseAddr
+
msgOffset
);
dprintk
dprintk
...
@@ -1711,7 +1711,7 @@ SendI2OOutboundQInitMsg (PPAB pPab)
...
@@ -1711,7 +1711,7 @@ SendI2OOutboundQInitMsg (PPAB pPab)
/* phys address to return status - area right after PAB */
/* phys address to return status - area right after PAB */
pMsg
[
7
]
=
pPab
->
outMsgBlockPhyAddr
;
pMsg
[
7
]
=
pPab
->
outMsgBlockPhyAddr
;
/* virual pointer to return buffer - clear first two dwords */
/* vir
t
ual pointer to return buffer - clear first two dwords */
p32
=
(
PU32
)
pPab
->
pLinOutMsgBlock
;
p32
=
(
PU32
)
pPab
->
pLinOutMsgBlock
;
p32
[
0
]
=
0
;
p32
[
0
]
=
0
;
...
@@ -1779,7 +1779,7 @@ GetI2OStatus (PPAB pPab)
...
@@ -1779,7 +1779,7 @@ GetI2OStatus (PPAB pPab)
return
RC_RTN_FREE_Q_EMPTY
;
return
RC_RTN_FREE_Q_EMPTY
;
}
}
/* calc vir
ual address of msg - vir
ual already mapped to physical */
/* calc vir
tual address of msg - virt
ual already mapped to physical */
pMsg
=
(
PU32
)
(
pPab
->
pPci45LinBaseAddr
+
msgOffset
);
pMsg
=
(
PU32
)
(
pPab
->
pPci45LinBaseAddr
+
msgOffset
);
pMsg
[
0
]
=
NINE_WORD_MSG_SIZE
|
SGL_OFFSET_0
;
pMsg
[
0
]
=
NINE_WORD_MSG_SIZE
|
SGL_OFFSET_0
;
...
@@ -1793,7 +1793,7 @@ GetI2OStatus (PPAB pPab)
...
@@ -1793,7 +1793,7 @@ GetI2OStatus (PPAB pPab)
pMsg
[
7
]
=
0
;
pMsg
[
7
]
=
0
;
pMsg
[
8
]
=
88
;
/* return 88 bytes */
pMsg
[
8
]
=
88
;
/* return 88 bytes */
/* virual pointer to return buffer - clear first two dwords */
/* vir
t
ual pointer to return buffer - clear first two dwords */
p32
=
(
volatile
PU32
)
pPab
->
pLinOutMsgBlock
;
p32
=
(
volatile
PU32
)
pPab
->
pLinOutMsgBlock
;
p32
[
0
]
=
0
;
p32
[
0
]
=
0
;
p32
[
1
]
=
0
;
p32
[
1
]
=
0
;
...
@@ -1862,7 +1862,7 @@ SendEnableSysMsg (PPAB pPab)
...
@@ -1862,7 +1862,7 @@ SendEnableSysMsg (PPAB pPab)
return
RC_RTN_FREE_Q_EMPTY
;
return
RC_RTN_FREE_Q_EMPTY
;
}
}
/* calc vir
ual address of msg - vir
ual already mapped to physical */
/* calc vir
tual address of msg - virt
ual already mapped to physical */
pMsg
=
(
PU32
)
(
pPab
->
pPci45LinBaseAddr
+
msgOffset
);
pMsg
=
(
PU32
)
(
pPab
->
pPci45LinBaseAddr
+
msgOffset
);
dprintk
dprintk
...
@@ -1885,7 +1885,7 @@ SendEnableSysMsg (PPAB pPab)
...
@@ -1885,7 +1885,7 @@ SendEnableSysMsg (PPAB pPab)
** =========================================================================
** =========================================================================
** FillI2OMsgFromTCB()
** FillI2OMsgFromTCB()
**
**
** inputs pMsgU32 - virual pointer (mapped to physical) of message frame
** inputs pMsgU32 - vir
t
ual pointer (mapped to physical) of message frame
** pXmitCntrlBlock - pointer to caller buffer control block.
** pXmitCntrlBlock - pointer to caller buffer control block.
**
**
** fills in LAN SGL after Transaction Control Word or Bucket Count.
** fills in LAN SGL after Transaction Control Word or Bucket Count.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment