summaryrefslogtreecommitdiff
path: root/static/netbsd/man4/spif.4 4.html
blob: 37fc21d881cccebddca4ee98502d66b742bfa63a (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
90
91
92
93
94
95
96
97
98
99
<table class="head">
  <tr>
    <td class="head-ltitle">SPIF(4)</td>
    <td class="head-vol">Device Drivers Manual</td>
    <td class="head-rtitle">SPIF(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">spif</code> &#x2014; <span class="Nd">SBus
    (spiffy) Serial/Parallel Interface</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">spif* at sbus? slot ? offset ? </code>
    (sun4c/sun4m/sun4u)
  <br/>
  <code class="Cd">stty* at spif? </code> (sun4c/sun4m/sun4u)
  <br/>
  <code class="Cd">sbpp* at spif? </code> (sun4c/sun4m/sun4u)</p>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">The <code class="Nm">spif</code> driver provides support for the
    Sun Serial/Parallel Interface card (Sun part number 501-1931), which is
    based on the Cirrus Logic CD180 octal serial controller and the Cirrus Logic
    PPC2 parallel port controller.</p>
<p class="Pp">The device minor numbers for this driver are encoded as
  follows:</p>
<div class="Bd Pp Li">
<pre>    +---+---+---+---+---+---+---+---+
    | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
    +---+---+---+---+---+---+---+---+
      |   |   |   |   |   |   |   |
      |   |   |   |   |   +---+---+---&gt; port number
      |   |   |   |   |
      |   |   |   |   +---------------&gt; unused
      |   |   |   |
      |   |   |   +-------------------&gt; dial-out (on tty ports)
      |   |   |
      |   |   +-----------------------&gt; unused
      |   |
      +---+---------------------------&gt; card number</pre>
</div>
<p class="Pp">Up to four cards are supported in the system.</p>
<p class="Pp">Each of the serial ports has an 8 byte FIFO for receive and
    transmit as well as automatic hardware (RTS/CTS) flow control.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1>
<dl class="Bl-tag Bl-compact">
  <dt>/dev/ttyS[0123][0-7]</dt>
  <dd>Serial ports</dd>
  <dt>/dev/bppS[0-3]</dt>
  <dd>Parallel ports</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="DIAGNOSTICS"><a class="permalink" href="#DIAGNOSTICS">DIAGNOSTICS</a></h1>
<dl class="Bl-diag">
  <dt>spif%d: ccr timeout</dt>
  <dd>A timeout occurred while writing to one of the CD180 registers.</dd>
  <dt>stty%d-%d: ring overflow</dt>
  <dd>Incoming characters were discarded because the application in control of
      the device did not read the input fast enough.</dd>
</dl>
</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">intro(4)</a>, <a class="Xr">sbus(4)</a>,
    <a class="Xr">tty(4)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
<p class="Pp">The <code class="Nm">spif</code> adapter was first supported in
    <span class="Ux">OpenBSD 2.5</span>. The driver was ported to
    <span class="Ux">NetBSD 3.0</span>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp">The driver was written by <span class="An">Jason Wright</span>
    &lt;<a class="Mt" href="mailto:jason@thought.net">jason@thought.net</a>&gt;,
    and is heavily based on the <a class="Xr">magma(4)</a> driver written by
    <span class="An">Iain Hibbert</span>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="TODO"><a class="permalink" href="#TODO">TODO</a></h1>
<p class="Pp">The parallel port is not supported yet.</p>
<p class="Pp">Dial-out (cua) devices are not yet supported.</p>
</section>
</div>
<table class="foot">
  <tr>
    <td class="foot-date">February 4, 1999</td>
    <td class="foot-os">NetBSD 10.1</td>
  </tr>
</table>