Deleted Added
full compact
cx.4 (70466) cx.4 (76175)
1.\"
1.\"
2.\" $FreeBSD: head/share/man/man4/man4.i386/cx.4 70466 2000-12-29 09:18:45Z ru $
2.\" $FreeBSD: head/share/man/man4/man4.i386/cx.4 76175 2001-05-01 09:15:30Z schweikh $
3.\"
4.Dd December 12, 1994
5.Dt CX 4 i386
6.Os FreeBSD
7.Sh NAME
8.Nm cx
9.Nd asynchronous/synchronous Cronyx-Sigma adapter driver
10.Sh SYNOPSIS
11.Cd "device cx0 at isa? port 0x240 irq 15 drq 7"
12.Cd "device cx1 at isa? port 0x260 irq 12 drq 6"
3.\"
4.Dd December 12, 1994
5.Dt CX 4 i386
6.Os FreeBSD
7.Sh NAME
8.Nm cx
9.Nd asynchronous/synchronous Cronyx-Sigma adapter driver
10.Sh SYNOPSIS
11.Cd "device cx0 at isa? port 0x240 irq 15 drq 7"
12.Cd "device cx1 at isa? port 0x260 irq 12 drq 6"
13.Cd pseudo-device sppp
13.Cd device sppp
14.Pp
15The base i/o port address should be set by jumpers on the board.
16The DMA i/o channel and interrupt request numbers are configured
17by software at adapter initialization. Legal values are:
18.Pp
19.Bl -tag -compact -width Port
20.It Port
210x240, 0x260, 0x280, 0x300, 0x320, 0x380

--- 9 unchanged lines hidden (view full) ---

31.Pp
32.Bl -tag -compact -width Cronyx-Sigma-999
33.It Model
34Channels
35.It Cronyx-Sigma-100
360
37.It Cronyx-Sigma-400
384, 5, 6, 7
14.Pp
15The base i/o port address should be set by jumpers on the board.
16The DMA i/o channel and interrupt request numbers are configured
17by software at adapter initialization. Legal values are:
18.Pp
19.Bl -tag -compact -width Port
20.It Port
210x240, 0x260, 0x280, 0x300, 0x320, 0x380

--- 9 unchanged lines hidden (view full) ---

31.Pp
32.Bl -tag -compact -width Cronyx-Sigma-999
33.It Model
34Channels
35.It Cronyx-Sigma-100
360
37.It Cronyx-Sigma-400
384, 5, 6, 7
39.It Cronyx-Sigma-500
39.It Cronyx-Sigma-500
400, 4, 5, 6, 7
400, 4, 5, 6, 7
41.It Cronyx-Sigma-401
41.It Cronyx-Sigma-401
420, 1, 2, 3
420, 1, 2, 3
43.It Cronyx-Sigma-404
43.It Cronyx-Sigma-404
440, 1, 2, 3
440, 1, 2, 3
45.It Cronyx-Sigma-410
45.It Cronyx-Sigma-410
460, 1, 2, 3
460, 1, 2, 3
47.It Cronyx-Sigma-440
47.It Cronyx-Sigma-440
480, 1, 2, 3
480, 1, 2, 3
49.It Cronyx-Sigma-703
49.It Cronyx-Sigma-703
500, 1, 2, 4, 5, 6, 7
500, 1, 2, 4, 5, 6, 7
51.It Cronyx-Sigma-801
51.It Cronyx-Sigma-801
520, 1, 2, 3, 4, 5, 6, 7
520, 1, 2, 3, 4, 5, 6, 7
53.It Cronyx-Sigma-810
53.It Cronyx-Sigma-810
540, 1, 2, 3, 4, 5, 6, 7
540, 1, 2, 3, 4, 5, 6, 7
55.It Cronyx-Sigma-840
55.It Cronyx-Sigma-840
560, 1, 2, 3, 4, 5, 6, 7
57.El
58.Pp
59A pair of two adapters can be united together by the special
60short inter-board cable. Two united adapters use the same
61IRQ and DMA channels and from the point of driver works
62as the single 16-channel multiplexer. One of the united
63boards is ``master'' and the other is ``slave''.

--- 13 unchanged lines hidden (view full) ---

77.Xr MAKEDEV 8
78An example:
79.Bd -literal
80cd /dev
81sh MAKEDEV cronyx ttyx0 ttyx1 ttyy0
82.Ed
83.Sh "Asynchronous driver"
84The asynchronous channel device files have the names:
560, 1, 2, 3, 4, 5, 6, 7
57.El
58.Pp
59A pair of two adapters can be united together by the special
60short inter-board cable. Two united adapters use the same
61IRQ and DMA channels and from the point of driver works
62as the single 16-channel multiplexer. One of the united
63boards is ``master'' and the other is ``slave''.

--- 13 unchanged lines hidden (view full) ---

77.Xr MAKEDEV 8
78An example:
79.Bd -literal
80cd /dev
81sh MAKEDEV cronyx ttyx0 ttyx1 ttyy0
82.Ed
83.Sh "Asynchronous driver"
84The asynchronous channel device files have the names:
85.Pa /dev/ttyx#
86- for adapter cx0,
87.Pa /dev/ttyy#
85.Pa /dev/ttyx#
86- for adapter cx0,
87.Pa /dev/ttyy#
88- for adapter cx1,
88- for adapter cx1,
89.Pa /dev/ttyz#
89.Pa /dev/ttyz#
90- for cx2.
91Here # is the channel number in hexadecimal form, 0-9-a-f.
92.Pp
90- for cx2.
91Here # is the channel number in hexadecimal form, 0-9-a-f.
92.Pp
93The driver fulfills the following standard ioctl requests (see
93The driver fulfills the following standard ioctl requests (see
94.Xr ioctl 2 ) :
95.Pp
96.Bl -tag -width TIOCXXXXX -compact
97.It Dv TIOCSBRK
98Start sending BREAK.
99.It Dv TIOCCBRK
100Stop sending BREAK.
101.It Dv TIOCSDTR
102Set DTR signal (DTR := 1). The DTR signal is always set
103on the first
104.Xr open 2
105and could be changed by
106.Dv TIOCCDTR ,
94.Xr ioctl 2 ) :
95.Pp
96.Bl -tag -width TIOCXXXXX -compact
97.It Dv TIOCSBRK
98Start sending BREAK.
99.It Dv TIOCCBRK
100Stop sending BREAK.
101.It Dv TIOCSDTR
102Set DTR signal (DTR := 1). The DTR signal is always set
103on the first
104.Xr open 2
105and could be changed by
106.Dv TIOCCDTR ,
107.Dv TIOCSDTR ,
108.Dv TIOCMSET ,
109.Dv TIOCMBIS ,
110.Dv TIOCMBIC
107.Dv TIOCSDTR ,
108.Dv TIOCMSET ,
109.Dv TIOCMBIS ,
110.Dv TIOCMBIC
111ioctl calls.
112.It TIOCCDTR
113Clear DTR signal (DTR := 0).
114.It TIOCMSET
115Set the given values of DTR and RTS signals (<DTR:RTS> := data).
116The signals DTR and RTS are controlled by
111ioctl calls.
112.It TIOCCDTR
113Clear DTR signal (DTR := 0).
114.It TIOCMSET
115Set the given values of DTR and RTS signals (<DTR:RTS> := data).
116The signals DTR and RTS are controlled by
117.Dv TIOCM_DTR
117.Dv TIOCM_DTR
118and
119.Dv TIOCM_RTS
120bits of the data argument of the ioctl system call.
121.It TIOCMBIS
122Set DTR and RTS signals (<DTR:RTS> |= data).
118and
119.Dv TIOCM_RTS
120bits of the data argument of the ioctl system call.
121.It TIOCMBIS
122Set DTR and RTS signals (<DTR:RTS> |= data).
123The signals DTR and RTS are controlled by
124.Dv TIOCM_DTR
125and
123The signals DTR and RTS are controlled by
124.Dv TIOCM_DTR
125and
126.Dv TIOCM_RTS
127bits of the data argument of the ioctl system call.
128.It TIOCMBIC
129Clear DTR and RTS signals (<DTR:RTS> &= ~data).
126.Dv TIOCM_RTS
127bits of the data argument of the ioctl system call.
128.It TIOCMBIC
129Clear DTR and RTS signals (<DTR:RTS> &= ~data).
130The signals DTR and RTS are controlled by
130The signals DTR and RTS are controlled by
131.Dv TIOCM_DTR
131.Dv TIOCM_DTR
132and
132and
133.Dv TIOCM_RTS
134bits of the data argument of the ioctl system call.
135.It TIOCMGET
136Determine the state of the modem signals of the line.
137After the call the data argument contains the following bits:
138.Pp
139.Bl -tag -width TIOCM_XXX -compact
133.Dv TIOCM_RTS
134bits of the data argument of the ioctl system call.
135.It TIOCMGET
136Determine the state of the modem signals of the line.
137After the call the data argument contains the following bits:
138.Pp
139.Bl -tag -width TIOCM_XXX -compact
140.It TIOCM_LE
140.It TIOCM_LE
141always set (Line Enabled)
141always set (Line Enabled)
142.It TIOCM_DSR
142.It TIOCM_DSR
143Data Set Ready signal received
143Data Set Ready signal received
144.It TIOCM_CTS
144.It TIOCM_CTS
145Clear To Send signal received
145Clear To Send signal received
146.It TIOCM_CD
146.It TIOCM_CD
147Data Carrier Detect signal received
147Data Carrier Detect signal received
148.It TIOCM_DTR
148.It TIOCM_DTR
149Data Terminal Ready signal transmitted
149Data Terminal Ready signal transmitted
150.It TIOCM_RTS
150.It TIOCM_RTS
151Request To Send signal transmitted
152.El
153.El
154.Sh "Synchronous driver"
155The synchronous channels and universal channels, turned to the synchronous
151Request To Send signal transmitted
152.El
153.El
154.Sh "Synchronous driver"
155The synchronous channels and universal channels, turned to the synchronous
156mode by the
156mode by the
157.Xr cxconfig 8
158utility, are accessible as network
159interfaces named ``cx#'' where # is the channel number, 0..47.
157.Xr cxconfig 8
158utility, are accessible as network
159interfaces named ``cx#'' where # is the channel number, 0..47.
160All standard network interface parameters could be set by
160All standard network interface parameters could be set by
161.Xr ifconfig 8
162utility.
161.Xr ifconfig 8
162utility.
163The
163The
164.Xr cxconfig 8
165command is used to change some extended channel
166options, and also for setting the high-level software protocol
167(e.g. PpP or Cisco HDLC).
168.Pp
169The universal channels could be used both in asynchronous and synchronous modes.
170By default the asynchronous mode is set.
164.Xr cxconfig 8
165command is used to change some extended channel
166options, and also for setting the high-level software protocol
167(e.g. PpP or Cisco HDLC).
168.Pp
169The universal channels could be used both in asynchronous and synchronous modes.
170By default the asynchronous mode is set.
171The mode could be changed by
171The mode could be changed by
172.Xr cxconfig 8
173utility.
174The mode is blocked while the channel is busy (an asynchronous channel
175in open state or the network interface is up).
176.Sh "Synchronous Point-to-Point protocol"
177The Cronyx-Sigma driver uses the built-in implementation of the synchronous
178Point-to-Point protocol (sppp). It includes the support for such
179protocols as PpP/HDLC and Cisco/HDLC, and also the automatic
180connection loss test (via keepalive packets).
181The sppp protocol set is implemented as an independent module
182and could be used by other drivers of synchronous serial channels.
183The version of the driver for BSD/386 (BSDI) operating system
184also supports the usage of the general set of synchronous
185protocols, implemented inside the OS.
186The external protocol set could be selected by ``cxconfig ext'' command
172.Xr cxconfig 8
173utility.
174The mode is blocked while the channel is busy (an asynchronous channel
175in open state or the network interface is up).
176.Sh "Synchronous Point-to-Point protocol"
177The Cronyx-Sigma driver uses the built-in implementation of the synchronous
178Point-to-Point protocol (sppp). It includes the support for such
179protocols as PpP/HDLC and Cisco/HDLC, and also the automatic
180connection loss test (via keepalive packets).
181The sppp protocol set is implemented as an independent module
182and could be used by other drivers of synchronous serial channels.
183The version of the driver for BSD/386 (BSDI) operating system
184also supports the usage of the general set of synchronous
185protocols, implemented inside the OS.
186The external protocol set could be selected by ``cxconfig ext'' command
187(see
187(see
188.Xr cxconfig 8 ) .
189.Sh "Channel Options Management"
188.Xr cxconfig 8 ) .
189.Sh "Channel Options Management"
190The
190The
191.Xr cxconfig 8
192utility is used for setting the channels options.
193The channel options are generally set at the start of the operating
191.Xr cxconfig 8
192utility is used for setting the channels options.
193The channel options are generally set at the start of the operating
194system (for example, from the file
194system (for example, from the file
195.Pa /etc/rc ) .
196Note, that not all options have a sense for every particular
197case, and an attempt to set some of them can hang up the channel or
198the whole adapter.
199.Pp
200The actual channel options control functions are implemented via
201the ioctl-s on the special device file /dev/cronyx.
202There are the following ioctl-s available:

--- 78 unchanged lines hidden ---
195.Pa /etc/rc ) .
196Note, that not all options have a sense for every particular
197case, and an attempt to set some of them can hang up the channel or
198the whole adapter.
199.Pp
200The actual channel options control functions are implemented via
201the ioctl-s on the special device file /dev/cronyx.
202There are the following ioctl-s available:

--- 78 unchanged lines hidden ---