2004-06-21 18:10:10 +00:00
|
|
|
.\" Copyright (c) 2003-2004 Roman Kurakin <rik@cronyx.ru>
|
|
|
|
.\" Copyright (c) 2003-2004 Cronyx Engineering
|
2003-12-05 07:03:58 +00:00
|
|
|
.\" All rights reserved.
|
1997-03-07 02:50:01 +00:00
|
|
|
.\"
|
2003-12-05 07:03:58 +00:00
|
|
|
.\" This software is distributed with NO WARRANTIES, not even the implied
|
|
|
|
.\" warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
.\"
|
|
|
|
.\" Authors grant any other persons or organisations a permission to use,
|
|
|
|
.\" modify and redistribute this software in source and binary forms,
|
|
|
|
.\" as long as this message is kept with the software, all derivative
|
|
|
|
.\" works or modified versions.
|
|
|
|
.\"
|
2004-06-21 18:10:10 +00:00
|
|
|
.\" Cronyx Id: cx.4,v 1.1.2.6 2004/06/21 17:56:40 rik Exp $
|
1999-08-28 00:22:10 +00:00
|
|
|
.\" $FreeBSD$
|
1997-03-07 02:50:01 +00:00
|
|
|
.\"
|
2005-07-19 00:26:30 +00:00
|
|
|
.Dd July 16, 2005
|
2003-12-28 22:34:47 +00:00
|
|
|
.Dt CX 4 i386
|
2001-07-10 15:31:11 +00:00
|
|
|
.Os
|
1996-12-21 23:54:30 +00:00
|
|
|
.Sh NAME
|
2000-05-12 08:30:58 +00:00
|
|
|
.Nm cx
|
2005-07-19 00:26:30 +00:00
|
|
|
.Nd "driver for synchronous/asynchronous Cronyx Sigma WAN adapters"
|
2000-11-17 11:44:16 +00:00
|
|
|
.Sh SYNOPSIS
|
2005-10-07 02:32:16 +00:00
|
|
|
To compile this driver into the kernel,
|
2005-11-18 10:56:28 +00:00
|
|
|
place the following line in your
|
2005-07-21 05:02:39 +00:00
|
|
|
kernel configuration file:
|
2005-07-19 00:26:30 +00:00
|
|
|
.Bd -ragged -offset indent
|
2003-12-05 07:03:58 +00:00
|
|
|
.Cd "device cx"
|
2005-07-19 00:26:30 +00:00
|
|
|
.Ed
|
2005-11-18 10:56:28 +00:00
|
|
|
.Pp
|
2005-10-07 02:32:16 +00:00
|
|
|
Alternatively, to load the driver as a
|
|
|
|
module at boot time, place the following line in
|
2005-07-19 00:26:30 +00:00
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
if_cx_load="YES"
|
|
|
|
.Ed
|
2003-12-05 07:03:58 +00:00
|
|
|
.Pp
|
|
|
|
Additional options:
|
|
|
|
.Cd "device sppp"
|
|
|
|
.Cd "options NETGRAPH"
|
|
|
|
.Cd "options NETGRAPH_CRONYX"
|
1996-12-21 23:54:30 +00:00
|
|
|
.Pp
|
2001-10-13 09:08:37 +00:00
|
|
|
In
|
|
|
|
.Pa /boot/device.hints :
|
|
|
|
.Cd hint.cx.0.at="isa"
|
|
|
|
.Cd hint.cx.0.port="0x240"
|
|
|
|
.Cd hint.cx.0.irq="15"
|
|
|
|
.Cd hint.cx.0.drq="7"
|
2003-12-05 07:03:58 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver needs either
|
|
|
|
.Xr sppp 4
|
2004-06-16 08:33:57 +00:00
|
|
|
or
|
2003-12-05 07:03:58 +00:00
|
|
|
.Xr netgraph 4 .
|
2004-06-16 08:33:57 +00:00
|
|
|
Which one to use is determined by the
|
|
|
|
.Dv NETGRAPH_CRONYX
|
|
|
|
option.
|
2003-12-05 07:03:58 +00:00
|
|
|
If this option is present in your kernel configuration file, the
|
|
|
|
.Nm
|
|
|
|
driver will be compiled with
|
|
|
|
.Xr netgraph 4
|
2004-03-02 18:20:42 +00:00
|
|
|
support.
|
|
|
|
Otherwise, it will be compiled with
|
2003-12-05 07:03:58 +00:00
|
|
|
.Xr sppp 4
|
|
|
|
support.
|
2001-10-13 09:08:37 +00:00
|
|
|
.Pp
|
2004-03-13 00:12:09 +00:00
|
|
|
The base I/O port address specified in
|
2001-10-13 09:08:37 +00:00
|
|
|
.Pa /boot/device.hints
|
2004-03-02 18:20:42 +00:00
|
|
|
must match the port address set by the jumpers on the board.
|
2004-03-13 00:12:09 +00:00
|
|
|
The DMA I/O channel and interrupt request numbers are configured
|
2003-12-05 07:03:58 +00:00
|
|
|
by software at adapter initialization.
|
|
|
|
Legal values are:
|
1996-12-21 23:54:30 +00:00
|
|
|
.Pp
|
2003-12-05 07:03:58 +00:00
|
|
|
.Bl -tag -compact -width Port:
|
|
|
|
.It Port :
|
1994-12-02 23:23:01 +00:00
|
|
|
0x240, 0x260, 0x280, 0x300, 0x320, 0x380
|
2003-12-05 07:03:58 +00:00
|
|
|
.It IRQ :
|
1994-12-02 23:23:01 +00:00
|
|
|
3, 5, 7, 10, 11, 12, 15
|
2003-12-05 07:03:58 +00:00
|
|
|
.It DMA :
|
1994-12-02 23:23:01 +00:00
|
|
|
5, 6, 7
|
2000-12-29 09:18:45 +00:00
|
|
|
.El
|
1996-12-21 23:54:30 +00:00
|
|
|
.Pp
|
2001-05-01 09:15:30 +00:00
|
|
|
The
|
2003-12-05 07:03:58 +00:00
|
|
|
.Nm
|
|
|
|
driver supports autodetection.
|
2004-03-02 18:20:42 +00:00
|
|
|
As for all non-PNP hardware, using
|
2003-12-05 07:03:58 +00:00
|
|
|
autodetection could lead to some potential problems with other devices during
|
2004-03-02 18:20:42 +00:00
|
|
|
the hardware detection process.
|
|
|
|
It is always better to specify hardware resources manually.
|
2003-12-05 07:03:58 +00:00
|
|
|
.Pp
|
2004-03-02 18:20:42 +00:00
|
|
|
Refer to
|
2003-12-05 07:03:58 +00:00
|
|
|
.Xr sconfig 8
|
|
|
|
for information about the
|
|
|
|
.Nm
|
|
|
|
adapter configuration.
|
2004-07-07 19:36:12 +00:00
|
|
|
.Sh HARDWARE
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports the following cards:
|
|
|
|
.Pp
|
|
|
|
.Bl -bullet -compact
|
|
|
|
.It
|
|
|
|
Cronyx Sigma-22, Sigma-24
|
|
|
|
.It
|
|
|
|
Cronyx Sigma-100
|
|
|
|
.It
|
|
|
|
Cronyx Sigma-400, Sigma-401, Sigma-404, Sigma-410, Sigma-440
|
|
|
|
.It
|
|
|
|
Cronyx Sigma-500
|
|
|
|
.It
|
|
|
|
Cronyx Sigma-703
|
|
|
|
.It
|
|
|
|
Cronyx Sigma-800, Sigma-801, Sigma-810, Sigma-840
|
|
|
|
.El
|
1996-12-21 23:54:30 +00:00
|
|
|
.Sh SEE ALSO
|
2004-06-21 18:10:10 +00:00
|
|
|
.Xr cp 4 ,
|
|
|
|
.Xr ctau 4 ,
|
2004-06-16 08:33:57 +00:00
|
|
|
.Xr sppp 4 ,
|
|
|
|
.Xr ifconfig 8 ,
|
|
|
|
.Xr sconfig 8 ,
|
2003-12-05 07:03:58 +00:00
|
|
|
.Xr spppcontrol 8
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver was updated in
|
2004-06-21 18:10:10 +00:00
|
|
|
.Fx 5.2
|
|
|
|
and
|
|
|
|
.Fx 4.10 .
|
2004-03-02 18:20:42 +00:00
|
|
|
In most of the previous versions of
|
2003-12-05 07:03:58 +00:00
|
|
|
.Fx
|
|
|
|
the
|
|
|
|
.Nm
|
|
|
|
driver is out of date.
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver for previous versions of
|
|
|
|
.Fx
|
|
|
|
is available from
|
|
|
|
.Pa http://www.cronyx.ru/ .
|