]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man4/rc.4
This commit was generated by cvs2svn to compensate for changes in r133546,
[FreeBSD/FreeBSD.git] / share / man / man4 / rc.4
1 .\"
2 .\" Copyright (c) 2004 Tom Rhodes
3 .\" All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in the
12 .\"    documentation and/or other materials provided with the distribution.
13 .\"
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 .\" SUCH DAMAGE.
25 .\"
26 .\" $FreeBSD$
27 .\"
28 .Dd June 21, 2004
29 .Dt RC 4
30 .Os
31 .Sh NAME
32 .Nm rc
33 .Nd RISCom/8 multiport card
34 .Sh SYNOPSIS
35 .Cd device isa
36 .Cd device rc
37 .Sh DESCRIPTION
38 The
39 .Nm
40 driver provides support for the
41 .Tn SDL
42 Communications
43 .Tn Riscom/8
44 boards.
45 The
46 .Tn RISCom/8
47 is an eight port
48 .Tn ISA
49 .Tn RS-232C
50 communications multiplexor with a built in
51 .Tn RISC
52 processor.
53 It uses a block of sixteen
54 .Tn I/O
55 ports in the range 0x200 to 0x3f0 selectable by on-board
56 switches or jumpers.
57 The block must be aligned on a sixteen port boundary.
58 The jumper-selectable hardware interrupt level may be set to
59 be detected during system
60 initialization using settings found in the
61 .Pa /boot/device.hints
62 file.
63 .Pp
64 This driver is mostly based on Cirrus Logic CL-CD180 driver.
65 .Sh ERRORS
66 The following driver specific error messages
67 may be reported:
68 .Bl -tag -width Er
69 .It Bq Er EBUSY
70 May be returned if the device was busy when a
71 request to access its resources was made by
72 .Nm
73 and was denied.
74 .It Bq Er ENOMEM
75 May be returned if the
76 .Nm
77 driver was unable to obtain the
78 .Tn IOBASE
79 addresses.
80 .It Bq Er ENXIO
81 May be returned if the device cannot obtain a valid
82 .Tn I/O
83 port through
84 .Fn isa_get_port .
85 This error may also be returned if the
86 .Fn isa_get_irq
87 function cannot obtain a valid
88 .Tn IRQ .
89 .El
90 .Sh SEE ALSO
91 .Xr tty 1 ,
92 .Xr ttyname 3 ,
93 .Xr sio 4 ,
94 .Xr tty 4 ,
95 .Xr device.hints 5 ,
96 .Xr comcontrol 8 ,
97 .Xr getty 8 ,
98 .Xr mutex 9 ,
99 .Xr splx 9
100 .Pp
101 .Pa http://www.sdlcomm.com
102 .Sh HISTORY
103 The
104 .Nm
105 driver first appeared in
106 .Fx 2.0.5 .
107 This manual page first appeared in
108 .Fx 5.3 .
109 .Sh AUTHORS
110 This manual page was written by
111 .An Tom Rhodes Aq trhodes@FreeBSD.org .
112 .Sh BUGS
113 The
114 .Nm
115 driver code still uses the
116 .Xr spl 9
117 functions.
118 These should be replaced by
119 .Xr mutex 9
120 functions.
121 .Pp
122 The various
123 .Fn ttyld_*
124 functions should be documented.