]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man4/man4.i386/ar.4
This commit was generated by cvs2svn to compensate for changes in r160157,
[FreeBSD/FreeBSD.git] / share / man / man4 / man4.i386 / ar.4
1 .\"
2 .\" Copyright (c) 1995, 1999 John Hay.  All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. Neither the name of the author nor the names of any co-contributors
13 .\"    may be used to endorse or promote products derived from this software
14 .\"    without specific prior written permission.
15 .\"
16 .\" THIS SOFTWARE IS PROVIDED BY John Hay ``AS IS'' AND
17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 .\" ARE DISCLAIMED.  IN NO EVENT SHALL John Hay BE LIABLE
20 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 .\" SUCH DAMAGE.
27 .\"
28 .\" $FreeBSD$
29 .\"
30 .Dd November 19, 1995
31 .Dt AR 4 i386
32 .Os
33 .Sh NAME
34 .Nm ar
35 .Nd synchronous Digi/Arnet device driver
36 .Sh SYNOPSIS
37 .Cd "device ar0 at isa? port 0x300 irq 10 iomem 0xd0000"
38 .Cd "device ar1 at isa? port 0x310 irq 11 iomem 0xd0000"
39 .Pp
40 .Cd "device sppp"
41 .Sh DESCRIPTION
42 The
43 .Nm
44 driver supports the Digi/Arnet SYNC/570i ISA and PCI cards that is based on the
45 HD64570 chip.
46 Both the 2 and 4 port cards are supported and auto detected.
47 .Pp
48 The standard
49 .Fx
50 sppp code is used for the link level layer.
51 The
52 default protocol used is PPP.
53 The Cisco HDLC protocol can be used by
54 adding
55 .Ar link2
56 to
57 .Xr ifconfig 8 .
58 .Pp
59 Alternately, the driver can be compiled to support
60 .Xr netgraph 4
61 (see below).
62 .Sh NUMBERING
63 Only one line for each card is needed in the kernel configuration file.
64 The first card's ports will be installed from ar0.
65 The numbering of the
66 next card will continue where the first stopped, e.g.\& if the first card
67 is a two port card it will use ar0 and ar1.
68 The next card will then
69 start at ar2.
70 .Pp
71 The card only supports IRQ 3, 5, 7, 10, 11, 12 and 15.
72 .Pp
73 The iomem area is a 16Kb block and must start at a 16Kb boundary.
74 .Sh NETGRAPH SUPPORT
75 If the kernel is compiled with
76 .Dv "options NETGRAPH"
77 then the sppp and Cisco HDLC modes are disabled (and the sppp driver
78 is unneeded), and this driver functions as a
79 .Xr netgraph 4
80 node with a single hook named
81 .Dv rawdata .
82 Connecting to this hook enables the transmission of raw HDLC frames.
83 The node will have the same name as the device with ``sync_''
84 prepended, e.g.,
85 .Dv sync_ar0 .
86 .Sh FILES
87 .Bl -tag -width /sys/i386/isa/ic/hd64570.h -compact
88 .It Pa /sys/i386/isa/ic/hd64570.h
89 .It Pa /sys/i386/isa/if_arregs.h
90 .It Pa /sys/i386/isa/if_ar.c
91 .It Pa /sys/i386/isa/if_ar.h
92 .It Pa /sys/pci/if_ar_p.c
93 .El
94 .Sh DIAGNOSTICS
95 .Bl -diag
96 .It "ar%d: Warning illegal interrupt %d."
97 The card cannot use the specified interrupt.
98 Choose a different one.
99 .El
100 .Sh SEE ALSO
101 .Xr cx 4 ,
102 .Xr netgraph 4 ,
103 .Xr netintro 4 ,
104 .Xr sr 4 ,
105 .Xr ifconfig 8
106 .Sh HISTORY
107 The
108 .Nm
109 device driver first appeared in
110 .Fx 2.2 .
111 .Sh AUTHORS
112 .An -nosplit
113 The
114 .Nm
115 device driver was written by
116 .An John Hay Aq jhay@FreeBSD.org .
117 Netgraph support was added by
118 .An Julian Elischer Aq julian@FreeBSD.org .
119 .Sh BUGS
120 At the moment only the V.35 and X.21 interfaces are tested.
121 The others
122 may need tweaks to the clock selection code.
123 .Pp
124 The code can probably stand some optimizing.
125 .Pp
126 Please report bugs to
127 .Aq jhay@FreeBSD.org .