1995-11-21 03:07:26 +00:00
|
|
|
.\"
|
1999-10-17 09:43:51 +00:00
|
|
|
.\" Copyright (c) 1995, 1999 John Hay. All rights reserved.
|
1995-11-21 03:07:26 +00:00
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
1999-10-17 09:43:51 +00:00
|
|
|
.\" 3. Neither the name of the author nor the names of any co-contributors
|
1995-11-21 03:07:26 +00:00
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY John Hay ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL John Hay BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
1999-08-28 00:22:10 +00:00
|
|
|
.\" $FreeBSD$
|
1995-11-21 03:07:26 +00:00
|
|
|
.\"
|
|
|
|
.Dd November 19, 1995
|
|
|
|
.Dt AR 4 i386
|
2001-07-10 15:31:11 +00:00
|
|
|
.Os
|
1995-11-21 03:07:26 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm ar
|
2001-04-18 15:54:10 +00:00
|
|
|
.Nd synchronous Digi/Arnet device driver
|
1998-06-08 06:12:02 +00:00
|
|
|
.Sh SYNOPSIS
|
1999-05-20 09:56:18 +00:00
|
|
|
.Cd "device ar0 at isa? port 0x300 irq 10 iomem 0xd0000"
|
|
|
|
.Cd "device ar1 at isa? port 0x310 irq 11 iomem 0xd0000"
|
1995-11-21 03:07:26 +00:00
|
|
|
.Pp
|
2001-05-01 09:15:30 +00:00
|
|
|
.Cd "device sppp"
|
1995-11-21 03:07:26 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
2000-11-20 18:41:33 +00:00
|
|
|
.Nm
|
1999-10-17 09:43:51 +00:00
|
|
|
driver supports the Digi/Arnet SYNC/570i ISA and PCI cards that is based on the
|
2000-03-03 14:05:08 +00:00
|
|
|
HD64570 chip.
|
|
|
|
Both the 2 and 4 port cards are supported and auto detected.
|
1995-11-21 03:07:26 +00:00
|
|
|
.Pp
|
1997-03-21 20:14:15 +00:00
|
|
|
The standard
|
2000-11-14 11:20:58 +00:00
|
|
|
.Fx
|
2000-03-03 14:05:08 +00:00
|
|
|
sppp code is used for the link level layer.
|
|
|
|
The
|
|
|
|
default protocol used is PPP.
|
|
|
|
The Cisco HDLC protocol can be used by
|
1995-11-21 03:07:26 +00:00
|
|
|
adding
|
1997-02-05 15:07:37 +00:00
|
|
|
.Ar link2
|
1995-11-21 03:07:26 +00:00
|
|
|
to
|
1997-02-05 15:07:37 +00:00
|
|
|
.Xr ifconfig 8 .
|
2000-01-21 01:42:55 +00:00
|
|
|
.Pp
|
|
|
|
Alternately, the driver can be compiled to support
|
|
|
|
.Xr netgraph 4
|
|
|
|
(see below).
|
1995-11-21 03:07:26 +00:00
|
|
|
.Sh NUMBERING
|
|
|
|
Only one line for each card is needed in the kernel configuration file.
|
|
|
|
The first card's ports will be installed from ar0. The numbering of the
|
|
|
|
next card will continue where the first stopped, eg. if the first card
|
|
|
|
is a two port card it will use ar0 and ar1. The next card will then
|
|
|
|
start at ar2.
|
|
|
|
.Pp
|
|
|
|
The card only supports IRQ 3, 5, 7, 10, 11, 12 and 15.
|
|
|
|
.Pp
|
|
|
|
The iomem area is a 16Kb block and must start at a 16Kb boundary.
|
2000-01-21 01:42:55 +00:00
|
|
|
.Sh NETGRAPH SUPPORT
|
|
|
|
If the kernel is compiled with
|
|
|
|
.Dv "options NETGRAPH"
|
|
|
|
then the sppp and Cisco HDLC modes are disabled (and the sppp driver
|
|
|
|
is unneeded), and this driver functions as a
|
|
|
|
.Xr netgraph 4
|
|
|
|
node with a single hook named
|
|
|
|
.Dv rawdata .
|
|
|
|
Connecting to this hook enables the transmission of raw HDLC frames.
|
2000-02-24 04:33:33 +00:00
|
|
|
The node will have the same name as the device with ``sync_''
|
|
|
|
prepended, e.g.,
|
|
|
|
.Dv sync_ar0 .
|
1995-11-21 03:07:26 +00:00
|
|
|
.Sh DIAGNOSTICS
|
|
|
|
.Bl -diag
|
|
|
|
.It "ar%d: Warning illegal interrupt %d."
|
2000-03-03 14:05:08 +00:00
|
|
|
The card cannot use the specified interrupt.
|
|
|
|
Choose a different one.
|
1995-11-21 03:07:26 +00:00
|
|
|
.El
|
|
|
|
.Sh FILES
|
|
|
|
.Bl -tag -width /sys/i386/isa/ic/hd64570.h -compact
|
|
|
|
.It Pa /sys/i386/isa/ic/hd64570.h
|
|
|
|
.It Pa /sys/i386/isa/if_arregs.h
|
|
|
|
.It Pa /sys/i386/isa/if_ar.c
|
2000-01-21 01:42:55 +00:00
|
|
|
.It Pa /sys/i386/isa/if_ar.h
|
1999-10-17 09:43:51 +00:00
|
|
|
.It Pa /sys/pci/if_ar_p.c
|
1995-11-21 03:07:26 +00:00
|
|
|
.El
|
|
|
|
.Sh BUGS
|
2000-03-03 14:05:08 +00:00
|
|
|
At the moment only the V.35 and X.21 interfaces are tested.
|
|
|
|
The others
|
1995-11-21 03:07:26 +00:00
|
|
|
may need tweaks to the clock selection code.
|
|
|
|
.Pp
|
|
|
|
The code can probably stand some optimizing.
|
|
|
|
.Pp
|
1999-10-30 20:56:07 +00:00
|
|
|
Please report bugs to
|
|
|
|
.Aq jhay@FreeBSD.org .
|
1995-11-21 03:07:26 +00:00
|
|
|
.Sh SEE ALSO
|
1996-12-26 16:16:37 +00:00
|
|
|
.Xr cx 4 ,
|
2000-01-21 01:42:55 +00:00
|
|
|
.Xr netgraph 4 ,
|
2001-07-06 16:46:48 +00:00
|
|
|
.Xr netintro 4 ,
|
|
|
|
.Xr sr 4 ,
|
2000-11-15 16:00:07 +00:00
|
|
|
.Xr ifconfig 8
|
1999-10-17 09:43:51 +00:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
2000-11-20 18:41:33 +00:00
|
|
|
.Nm
|
1999-10-17 09:43:51 +00:00
|
|
|
device driver first appeared in
|
|
|
|
.Fx 2.2 .
|
1998-03-12 07:31:21 +00:00
|
|
|
.Sh AUTHORS
|
2000-11-22 09:35:58 +00:00
|
|
|
.An -nosplit
|
1995-11-21 03:07:26 +00:00
|
|
|
The
|
2000-11-20 18:41:33 +00:00
|
|
|
.Nm
|
1998-03-12 07:31:21 +00:00
|
|
|
device driver was written by
|
1999-10-17 09:43:51 +00:00
|
|
|
.An John Hay Aq jhay@FreeBSD.org .
|
2000-01-21 01:42:55 +00:00
|
|
|
Netgraph support was added by
|
|
|
|
.An Julian Elischer Aq julian@FreeBSD.org .
|