1130b656e5
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
100 lines
3.6 KiB
Groff
100 lines
3.6 KiB
Groff
.\"
|
|
.\" Copyright (c) 1995 John Hay. All rights reserved.
|
|
.\"
|
|
.\" 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.
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
.\" must display the following acknowledgement:
|
|
.\" This product includes software developed by John Hay.
|
|
.\" 4. Neither the name of the author nor the names of any co-contributors
|
|
.\" 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.
|
|
.\"
|
|
.\" $FreeBSD$
|
|
.\"
|
|
.Dd November 19, 1995
|
|
.Dt AR 4 i386
|
|
.Os
|
|
.Sh NAME
|
|
.Nm ar
|
|
.Nd
|
|
synchronous Arnet device driver.
|
|
.Sh SYNOPSYS
|
|
.Cd "device ar0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector arintr"
|
|
.Cd "device ar1 at isa? port 0x310 net irq 11 iomem 0xd0000 vector arintr"
|
|
.Pp
|
|
.Cd "pseudo-device sppp"
|
|
.Sh DESCRIPTION
|
|
The
|
|
.Nm ar
|
|
driver supports the Arnet SYNC/570i ISA cards that is based on the
|
|
HD64570 chip. Both the 2 and 4 port cards is supported and auto detected.
|
|
.Pp
|
|
Line speeds of up to 2Mbps is possible. At this speed about 85% of the
|
|
bandwidth is usable with 486DX processors.
|
|
.Pp
|
|
The standard FreeBSD sppp code is used for the link level layer. The
|
|
default protocol used is PPP. The Cisco HDLC protocol can be used by
|
|
adding
|
|
.Nm link2
|
|
to
|
|
.Nm ifconfig.
|
|
.Pp
|
|
.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.
|
|
.Pp
|
|
.Sh DIAGNOSTICS
|
|
.Bl -diag
|
|
.It "ar%d: Warning illegal interrupt %d."
|
|
The card cannot use the specified interrupt. Choose a different one.
|
|
.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
|
|
.El
|
|
.Sh BUGS
|
|
At the moment only the V.35 and X.21 interfaces is tested. The others
|
|
may need tweaks to the clock selection code.
|
|
.Pp
|
|
The code can probably stand some optimizing.
|
|
.Pp
|
|
There must be lots because this code is still very green. Please report
|
|
them to jhay@mikom.csir.co.za
|
|
.Sh SEE ALSO
|
|
.Xr cx 4 ,
|
|
.Xr netintro 4 ,
|
|
.Xr ifconfig 8 ,
|
|
.Xr lsdev 8
|
|
.Sh AUTHOR
|
|
The
|
|
.Nm ar
|
|
device driver was written by John Hay, jhay@mikom.csir.co.za.
|