Deleted Added
full compact
sio.4 (84103) sio.4 (84877)
1.\" Copyright (c) 1990, 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Systems Programming Group of the University of Utah Computer
6.\" Science Department.
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

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

29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
35.\" from: @(#)dca.4 5.2 (Berkeley) 3/27/91
36.\" from: com.4,v 1.1 1993/08/06 11:19:07 cgd Exp
1.\" Copyright (c) 1990, 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Systems Programming Group of the University of Utah Computer
6.\" Science Department.
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

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

29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
35.\" from: @(#)dca.4 5.2 (Berkeley) 3/27/91
36.\" from: com.4,v 1.1 1993/08/06 11:19:07 cgd Exp
37.\" $FreeBSD: head/share/man/man4/sio.4 84103 2001-09-29 04:49:11Z jlemon $
37.\" $FreeBSD: head/share/man/man4/sio.4 84877 2001-10-13 09:08:37Z yokota $
38.\"
39.Dd March 31, 2000
40.Dt SIO 4
41.Os
42.Sh NAME
43.Nm sio
44.Nd "fast interrupt driven asynchronous serial communications interface"
45.Sh SYNOPSIS
46For standard ISA ports:
38.\"
39.Dd March 31, 2000
40.Dt SIO 4
41.Os
42.Sh NAME
43.Nm sio
44.Nd "fast interrupt driven asynchronous serial communications interface"
45.Sh SYNOPSIS
46For standard ISA ports:
47.Cd "device sio0 at isa? port IO_COM1 irq 4"
48.Cd "device sio1 at isa? port IO_COM2 irq 3"
49.Cd "device sio2 at isa? port IO_COM3 irq 5"
50.Cd "device sio3 at isa? port IO_COM4 irq 9"
47.Cd "device sio"
51.Pp
48.Pp
49In
50.Pa /boot/device.hints :
51.Cd hint.sio.0.at="isa"
52.Cd hint.sio.0.port="0x3f8"
53.Cd hint.sio.0.flags="0x10"
54.Cd hint.sio.0.irq="4"
55.Cd hint.sio.1.at="isa"
56.Cd hint.sio.1.port="0x2f8"
57.Cd hint.sio.1.flags="0x0"
58.Cd hint.sio.1.irq="3"
59.Pp
52For AST compatible multiport cards with 4 ports:
53.Cd "options COM_MULTIPORT"
60For AST compatible multiport cards with 4 ports:
61.Cd "options COM_MULTIPORT"
54.Cd "device sio4 at isa? port 0x2a0 flags 0x701"
55.Cd "device sio5 at isa? port 0x2a8 flags 0x701"
56.Cd "device sio6 at isa? port 0x2b0 flags 0x701"
57.Cd "device sio7 at isa? port 0x2b8 flags 0x701 irq 12"
62.Cd "device sio"
58.Pp
63.Pp
64The lines in
65.Pa /boot/device.hints
66should be:
67.Cd hint.sio.4.at="isa"
68.Cd hint.sio.4.port="0x2a0"
69.Cd hint.sio.4.flags="0x701"
70.Cd hint.sio.5.at="isa"
71.Cd hint.sio.5.port="0x2a8"
72.Cd hint.sio.5.flags="0x701"
73.Cd hint.sio.6.at="isa"
74.Cd hint.sio.6.port="0x2b0"
75.Cd hint.sio.6.flags="0x701"
76.Cd hint.sio.7.at="isa"
77.Cd hint.sio.7.port="0x2b8"
78.Cd hint.sio.7.flags="0x701"
79.Cd hint.sio.7.irq="12"
80.Pp
59For Boca Board compatible multiport cards with 8 ports:
60.Cd "options COM_MULTIPORT"
81For Boca Board compatible multiport cards with 8 ports:
82.Cd "options COM_MULTIPORT"
61.Cd "device sio4 at isa? port 0x100 flags 0xb05"
83.Cd "device sio"
84.Pp
85In
86.Pa /boot/device.hints :
87.Cd hint.sio.4.at="isa"
88.Cd hint.sio.4.port="0x100"
89.Cd hint.sio.4.flags="0xb05"
62.Cd "..."
90.Cd "..."
63.Cd "device sio11 at isa? port 0x138 flags 0xb05 irq 12"
91.Cd hint.sio.11.at="isa"
92.Cd hint.sio.11.port="0x138"
93.Cd hint.sio.11.flags="0xb05"
94.Cd hint.sio.11.irq="12"
64.Pp
65For Hayes ESP cards:
66.Cd "options COM_ESP"
95.Pp
96For Hayes ESP cards:
97.Cd "options COM_ESP"
98.Cd "device sio"
67.Cd "..."
68.Pp
99.Cd "..."
100.Pp
69For PCI and PCCARD cards:
101For PCI and PCCARD cards, nolines are required in
102.Pa /boot/device.hints .
70.Cd "device sio"
71.Pp
72For dual port PCI cards that share an interrupt:
103.Cd "device sio"
104.Pp
105For dual port PCI cards that share an interrupt:
73.Cd "device sio2 at pci? flags 0x201"
74.Cd "device sio3 at pci? flags 0x201"
106.Cd "device sio"
75.Pp
107.Pp
108In
109.Pa /boot/device.hints :
110.Cd hint.sio.2.flags="0x201"
111.Cd hint.sio.3.flags="0x201"
112.Pp
76Meaning of
77.Ar flags :
78.Bl -tag -offset indent -compact -width 0x000000
79.It 0x00001
80shared IRQs
81.It 0x00002
82disable FIFO
83.It 0x00004

--- 251 unchanged lines hidden ---
113Meaning of
114.Ar flags :
115.Bl -tag -offset indent -compact -width 0x000000
116.It 0x00001
117shared IRQs
118.It 0x00002
119disable FIFO
120.It 0x00004

--- 251 unchanged lines hidden ---