kdb032: Dflex Boards Under SCO Unix

Title: Dflex Boards Under SCO Unix
Keywords: DFLEX SCO UNIX
KDB: KDB-032
Revision: 0.00
Author: Support
Distribution: External

Installing Dflex Boards under SCO Unix 3.2.2 Open Server Enterprise

This tech note details how to install Dflex boards under SCO Unix 3.2.2 Open Server Enterprise. All configurations assume that the target machine has two serial ports installed at 0x3f8 and 0x2f8 on interrupt lines 4 and 3, respectively.

Various configurations are presented, if none of the configurations match your setup, contact CTI Tech Support.

Dflex-2 as COM3

This setup involves installing a Dflex-2 adapter as the third and fourth serial ports in the system. Using SCO terminology, the board will be installed as COM3.

1) Install the board in the machine set with base address 0x190,
IRQ 10, status port enabled:

  • Sw 1-1 Off
  • Sw 1-2 Off
  • Sw 1-3 Off
  • Sw 1-4 Off
  • Sw 1-5 Off
  • Sw 1-6 Off
  • Sw 1-7 On
  • Sw 1-8 On

J1: A-10

2) The following line(s) must be added to the file:
/etc/conf/pack.d/sio/space.c:

{0,STARGATE, 2,10,0, (sd)0x190,0x190+STAR_POLL, 8,MCRBIT3}, /*AT-Dflex-2*/
{1,STARGATE, 2,10,8, (sd)0x190,0x190+STAR_POLL, 8,MCRBIT3}, /*AT-Dflex-2*/
{2,STARGATE, 2,10,4, (sd)0x190,0x190+STAR_POLL, 8,MCRBIT3}, /*AT-Dflex-2*/
{3,STARGATE, 2,10,12, (sd)0x190,0x190+STAR_POLL, 8,MCRBIT3}, /*AT-Dflex-2*/

BEFORE the line that says:
{-1, MC}, /* Boards for Micro Channel Architecture */

3) Run “mkdev serial”. When asked what type of board to install,
select a 2 port on COM3.

Dflex-4 as COM3

This setup involves installing a Dflex-4 adapter as serial ports 3 through 6 in the system. Using SCO terminology, the board will be installed as COM3.

1) Install the board in the machine set with base address 0x190, IRQ 10, status port enabled:

  • Sw 1-1 Off
  • Sw 1-2 Off
  • Sw 1-3 Off
  • Sw 1-4 Off
  • Sw 1-5 Off
  • Sw 1-6 Off
  • Sw 1-7 On
  • Sw 1-8 On

J1: A-10

2) The following line(s) must be added to the file: /etc/conf/pack.d/sio/space.c:

{0,STARGATE, 4,10,0, (sd)0x190,0x190+STAR_POLL, 8,MCRBIT3}, /*AT-Dflex-4*/
{1,STARGATE, 4,10,8, (sd)0x190,0x190+STAR_POLL, 8,MCRBIT3}, /*AT-Dflex-4*/
{2,STARGATE, 4,10,16, (sd)0x190,0x190+STAR_POLL, 8,MCRBIT3}, /*AT-Dflex-4*/
{3,STARGATE, 4,10,12, (sd)0x190,0x190+STAR_POLL, 8,MCRBIT3}, /*AT-Dflex-4*/

BEFORE the line that says:
{-1, MC}, /* Boards for Micro Channel Architecture */

3) The file /usr/lib/mkdev/perms/SER must be changed to align the minor numbers with space.c. The original portion of the SER file appears as follows:

#
SER3 c666 bin/bin 1 ./dev/tty3a 5/4
SER3 c666 bin/bin 1 ./dev/tty3b 5/5
SER3 c666 bin/bin 1 ./dev/tty3c 5/6
SER3 c666 bin/bin 1 ./dev/tty3d 5/7
#SER3 c666 bin/bin 1 ./dev/tty3e 5/20
#SER3 c666 bin/bin 1 ./dev/tty3f 5/21
#SER3 c666 bin/bin 1 ./dev/tty3g 5/22
#SER3 c666 bin/bin 1 ./dev/tty3h 5/23
#

#
SER3 c666 bin/bin 1 ./dev/tty3A 5/132
SER3 c666 bin/bin 1 ./dev/tty3B 5/133
SER3 c666 bin/bin 1 ./dev/tty3C 5/134
SER3 c666 bin/bin 1 ./dev/tty3D 5/135
#SER3 c666 bin/bin 1 ./dev/tty3E 5/148
#SER3 c666 bin/bin 1 ./dev/tty3F 5/149
#SER3 c666 bin/bin 1 ./dev/tty3G 5/150
#SER3 c666 bin/bin 1 ./dev/tty3H 5/151
#

This should be changed to:

#
SER3 c666 bin/bin 1 ./dev/tty3a 5/16
SER3 c666 bin/bin 1 ./dev/tty3b 5/17
SER3 c666 bin/bin 1 ./dev/tty3c 5/18
SER3 c666 bin/bin 1 ./dev/tty3d 5/19
SER3 c666 bin/bin 1 ./dev/tty3e 5/20
SER3 c666 bin/bin 1 ./dev/tty3f 5/21
SER3 c666 bin/bin 1 ./dev/tty3g 5/22
SER3 c666 bin/bin 1 ./dev/tty3h 5/23
#

#
SER3 c666 bin/bin 1 ./dev/tty3A 5/144
SER3 c666 bin/bin 1 ./dev/tty3B 5/145
SER3 c666 bin/bin 1 ./dev/tty3C 5/146
SER3 c666 bin/bin 1 ./dev/tty3D 5/147
SER3 c666 bin/bin 1 ./dev/tty3E 5/148
SER3 c666 bin/bin 1 ./dev/tty3F 5/149
SER3 c666 bin/bin 1 ./dev/tty3G 5/150
SER3 c666 bin/bin 1 ./dev/tty3H 5/151
#

4) Run “mkdev serial”. When asked what type of board to install, select a 4 port on COM3.

Dflex-8 as COM3

This setup involves installing a Dflex-8 adapter as serial ports 3 through 10 in the system. Using SCO terminology, the board will be installed as COM3.

1) Install the board in the machine set with base address 0x190, IRQ 10, status port enabled:

  • Sw 1-1 Off
  • Sw 1-2 Off
  • Sw 1-3 Off
  • Sw 1-4 Off
  • Sw 1-5 Off
  • Sw 1-6 Off
  • Sw 1-7 On
  • Sw 1-8 On

J1: A-10

2) The following line(s) must be added to the file: /etc/conf/pack.d/sio/space.c:

{0,STARGATE, 8,10,0, (sd)0x190,0x190+STAR_POLL, 8,MCRBIT3}, /*AT-Dflex-8*/
{1,STARGATE, 8,10,8, (sd)0x190,0x190+STAR_POLL, 8,MCRBIT3}, /*AT-Dflex-8*/
{2,STARGATE, 8,10,16, (sd)0x190,0x190+STAR_POLL, 8,MCRBIT3}, /*AT-Dflex-8*/
{3,STARGATE, 8,10,12, (sd)0x190,0x190+STAR_POLL, 8,MCRBIT3}, /*AT-Dflex-8*/

BEFORE the line that says:
{-1, MC}, /* Boards for Micro Channel Architecture */

3) The file /usr/lib/mkdev/perms/SER must be changed to align the minor numbers with space.c. The original portion of the SER file appears as follows:

#
SER3 c666 bin/bin 1 ./dev/tty3a 5/4
SER3 c666 bin/bin 1 ./dev/tty3b 5/5
SER3 c666 bin/bin 1 ./dev/tty3c 5/6
SER3 c666 bin/bin 1 ./dev/tty3d 5/7
#SER3 c666 bin/bin 1 ./dev/tty3e 5/20
#SER3 c666 bin/bin 1 ./dev/tty3f 5/21
#SER3 c666 bin/bin 1 ./dev/tty3g 5/22
#SER3 c666 bin/bin 1 ./dev/tty3h 5/23
#

#
SER3 c666 bin/bin 1 ./dev/tty3A 5/132
SER3 c666 bin/bin 1 ./dev/tty3B 5/133
SER3 c666 bin/bin 1 ./dev/tty3C 5/134
SER3 c666 bin/bin 1 ./dev/tty3D 5/135
#SER3 c666 bin/bin 1 ./dev/tty3E 5/148
#SER3 c666 bin/bin 1 ./dev/tty3F 5/149
#SER3 c666 bin/bin 1 ./dev/tty3G 5/150
#SER3 c666 bin/bin 1 ./dev/tty3H 5/151
#

This should be changed to:

#
SER3 c666 bin/bin 1 ./dev/tty3a 5/16
SER3 c666 bin/bin 1 ./dev/tty3b 5/17
SER3 c666 bin/bin 1 ./dev/tty3c 5/18
SER3 c666 bin/bin 1 ./dev/tty3d 5/19
SER3 c666 bin/bin 1 ./dev/tty3e 5/20
SER3 c666 bin/bin 1 ./dev/tty3f 5/21
SER3 c666 bin/bin 1 ./dev/tty3g 5/22
SER3 c666 bin/bin 1 ./dev/tty3h 5/23
#

#
SER3 c666 bin/bin 1 ./dev/tty3A 5/144
SER3 c666 bin/bin 1 ./dev/tty3B 5/145
SER3 c666 bin/bin 1 ./dev/tty3C 5/146
SER3 c666 bin/bin 1 ./dev/tty3D 5/147
SER3 c666 bin/bin 1 ./dev/tty3E 5/148
SER3 c666 bin/bin 1 ./dev/tty3F 5/149
SER3 c666 bin/bin 1 ./dev/tty3G 5/150
SER3 c666 bin/bin 1 ./dev/tty3H 5/151
#

4) Run “mkdev serial”. When asked what type of board to install, select a 8 port on COM3.

End of KDB-032

Go to Top