Skip to content

Commit 2b3e81e

Browse files
committed
Minor changes, include a TVME200 carrier.
1 parent c90f2c0 commit 2b3e81e

File tree

1 file changed

+18
-25
lines changed

1 file changed

+18
-25
lines changed

tyGSOctal/tyGSOctal.html

Lines changed: 18 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<html>
22
<head>
33
<title>GreenSpring OctalUart IP Module Support</title>
4-
<!-- Changed by: Peregrine McGehee, 2-May-1996 -->
5-
<!-- Copied from http://www.cfht.hawaii.edu/~tcs/tcsiv/tygsoctal.html
6-
and edited slightly by Andrew Johnson, 9-March-1999 -->
74

85
</head>
96
<body text="#000000" bgcolor="#ffffff" link="#000080" vlink="#707070" alink="0000080">
@@ -28,26 +25,21 @@ <h2>
2825
Configuration Example</h2>
2926

3027
<P>
31-
The following is an example of a startup script (st.cmd) segment that creates
32-
and configures IP carriers, OctalUart IP modules, and tty devices. This example
28+
The following is an example of a startup script (st.cmd) segment that creates
29+
and configures IP carriers, OctalUart IP modules, and tty devices. This example
3330
is compatible with both vxWorks and iocsh startup scripts.
3431
</P>
3532

3633
<blockquote>
3734
<pre>
3835
# Initialize the drvIpac carriers.
3936
# -------------------------------
40-
# ipacAdd<I>CarrierType</I>(char *cardParams)
41-
# <I>CarrierType</I> - VIPC310, VIPC610, VIPC610_01, VIPC616, VIPC616_01,
42-
# MVME162, or ATC40.
43-
# cardParams - carrier-specific init parameters.
44-
4537
# carrier#0
4638
ipacAddMVME162 "A:m=0xe0000000,64 l=3,2"
4739
# carrier#1
48-
ipacAddVIPC616_01 "0x6000,0xA00000,128"
40+
ipacAddVIPC616_01 "0x6400,0xB0000000"
4941
# carrier#2
50-
ipacAddVIPC616_01 "0x6400,0xA80000,128"
42+
ipacAddTVME200 "602fb00"
5143

5244
# Allocate the number of tyGSOctal modules to support.
5345
# ----------------------------------------------------
@@ -66,17 +58,17 @@ <h2>
6658
# Init two IP-Octal modules from the MVME162 carrier; the 1st module is in
6759
# slot A, the second module is in slot B.
6860
tyGSOctalModuleInit "Mod0", "232", 0x80, 0, 0
69-
tyGSOctalModuleInit "Mod1", "232", 0x90, 0, 1
61+
tyGSOctalModuleInit "Mod1", "232", 0x81, 0, 1
7062

7163
# Init two IP-Octal modules from the 1st SBS VIPC616_01 carrier; the 1st
7264
# module is in slot A, the 2nd module is in slot C.
73-
tyGSOctalModuleInit "Mod2", "232", 0x80, 1, 0
74-
tyGSOctalModuleInit "Mod3", "232", 0x90, 1, 2
65+
tyGSOctalModuleInit "Mod2", "232", 0x82, 1, 0
66+
tyGSOctalModuleInit "Mod3", "232", 0x83, 1, 2
7567

7668
# Init two IP-Octal modules from the 2nd SBS VIPC616_01 carrier; the 1st
7769
# module is in slot B, the second module is in slot D.
78-
tyGSOctalModuleInit "Mod4", "485", 0x80, 2, 1
79-
tyGSOctalModuleInit "Mod5", "485", 0x90, 2, 3
70+
tyGSOctalModuleInit "Mod4", "485", 0x84, 2, 1
71+
tyGSOctalModuleInit "Mod5", "485", 0x85, 2, 3
8072

8173
# Create tty devices.
8274
# ------------------
@@ -89,17 +81,17 @@ <h2>
8981
# wrtBufSize - write buffer size, in bytes.
9082

9183
# Create two tty ports on Mod0 with <I>portname</I> based on the convention;
92-
# "/tyGS<I>carrier#/moduleID/port#</I>".
93-
tyGSOctalDevCreate "/tyGS0/Mod0/0", "Mod0", 0, 512, 512
94-
tyGSOctalDevCreate "/tyGS0/Mod0/1", "Mod0", 1, 512, 512
84+
# "/tyGS/<I>carrier#,slot#</I>/<I>moduleID</I>/port#</I>".
85+
tyGSOctalDevCreate "/tyGS/0,0/0", "Mod0", 0, 512, 512
86+
tyGSOctalDevCreate "/tyGS/0,0/1", "Mod0", 1, 512, 512
9587

9688
# Initialze all the remaining uninitialized Mod0 ports; i.e., /tyGS0/0/[2-7].
97-
tyGSOctalDevCreateAll "/tyGS0/Mod0/", "Mod0", 512, 512
89+
tyGSOctalDevCreateAll "/tyGS/0,0/", "Mod0", 512, 512
9890

9991
# Initialize all the Mod1 ports.
100-
tyGSOctalDevCreateAll "/tyGS0/Mod1/", "Mod1", 512, 512
92+
tyGSOctalDevCreateAll "/tyGS/0,1/", "Mod1", 512, 512
10193
# Initialize all the Mod2 ports.
102-
tyGSOctalDevCreateAll "/tyGS1/Mod2/", "Mod2", 512, 512
94+
tyGSOctalDevCreateAll "/tyGS/1,0/", "Mod2", 512, 512
10395

10496
# Configure the ports.
10597
# --------------------
@@ -112,8 +104,9 @@ <h2>
112104
# stop - stop bits; 1 or 2.
113105
# bits - data bits; 5,6,7 or 8.
114106
# flow - flow control; hardware - 'H' or none - 'N'.
115-
tyGSOctalConfig "/tyGS0/Mod0/0", 38400, 'N', 1, 8, 'N'
116-
# Other ports default to 9600, 'N', 1, 8, 'N'</pre>
107+
tyGSOctalConfig "/tyGS/0,0/0", 38400, 'N', 1, 8, 'N'
108+
109+
# Ports default to 9600, 'N', 1, 8, 'N'</pre>
117110
</blockquote>
118111

119112
</body>

0 commit comments

Comments
 (0)