blob: f0017b754da7a51d3a94bce26d38797d8ffd7dcb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
<table class="head">
<tr>
<td class="head-ltitle">CY(4)</td>
<td class="head-vol">Device Drivers Manual</td>
<td class="head-rtitle">CY(4)</td>
</tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">cy</code> — <span class="Nd">Cyclades
Cyclom-{4, 8, 16, 32}Y asynchronous comms board serial device
driver</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<p class="Pp"><code class="Cd">cy0 at isa? iomem 0xd4000 irq 12</code>
<br/>
<code class="Cd">cy* at pci? dev ? function ?</code></p>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">This driver provides an interface to Cyclades Cyclom-4Y,
Cyclom-8Y, Cyclom-16Y, and Cyclom-32Y asynchronous multiport serial boards.
These boards are based around Cirrus Logic CD1400 communication
controllers.</p>
<p class="Pp">The device minor numbers for this driver are encoded as
follows:</p>
<div class="Bd Pp Li">
<pre> d c c p p p p p - bits in the minor device number
bits meaning
---- -------
ppppp physical serial line (i.e. port) to use:
0-3 on Cyclom-4Y
0-7 on Cyclom-8Y
0-15 on Cyclom-16Y
0-31 on Cyclom-32Y
cc card unit number; note this limits the driver to
four cards per system
d set to use as a dial-out line</pre>
</div>
</section>
<section class="Sh">
<h1 class="Sh" id="FLOW_CONTROL"><a class="permalink" href="#FLOW_CONTROL">FLOW
CONTROL</a></h1>
<p class="Pp">The <code class="Nm">cy</code> driver makes use of the CD1400's
automatic CTS flow control. In addition, the CD1400's automatic input flow
control can be used. This requires the kernel configuration option
<a class="permalink" href="#CY_HW_RTS"><i class="Em" id="CY_HW_RTS">CY_HW_RTS</i></a>
and a special cable that exchanges the RTS and DTR lines.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="DIAGNOSTICS"><a class="permalink" href="#DIAGNOSTICS">DIAGNOSTICS</a></h1>
<dl class="Bl-diag">
<dt>cy%d: port %d: can't allocate tty</dt>
<dd>There is not enough memory to allocate tty data structures.</dd>
<dt>cy%d: can't allocate input buffer</dt>
<dd>There is not enough memory to allocate the data input buffer.</dd>
</dl>
<p class="Pp" id="CY_DEBUG">Additional debugging output can be enable with the
kernel configuration option
<a class="permalink" href="#CY_DEBUG"><i class="Em">CY_DEBUG</i></a>.
Diagnostic counters may be enabled with the kernel configuration option
<a class="permalink" href="#CY_DEBUG1"><i class="Em" id="CY_DEBUG1">CY_DEBUG1</i></a>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<p class="Pp"><a class="Xr">termios(4)</a>, <a class="Xr">tty(4)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp">The <code class="Nm">cy</code> driver was written by Timmo
Rossi.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1>
<p class="Pp">Support for the Cyclom-32Y has not been tested.</p>
</section>
</div>
<table class="foot">
<tr>
<td class="foot-date">November 10, 1997</td>
<td class="foot-os">NetBSD 10.1</td>
</tr>
</table>
|