summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-06-03 07:58:39 +0000
committerharti <harti@FreeBSD.org>2003-06-03 07:58:39 +0000
commit10cb1ccf4538bdf79663960fe7306f3f380faf50 (patch)
treef4f1a9ec9ca07eaebc558ce74917292e2753753c /share/man
parent27ff96520ca8154070660a1391cc32c748f575a0 (diff)
downloadFreeBSD-src-10cb1ccf4538bdf79663960fe7306f3f380faf50.zip
FreeBSD-src-10cb1ccf4538bdf79663960fe7306f3f380faf50.tar.gz
The midway driver has been busdmaified and is not i386-specific anymore.
Repo-copy it from the i386 specific man4 section to the common one. Remove the i386 keyword from the man page header. Document the sysctl interface to the driver. Fix a spelling error (ALL -> AAL).
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/Makefile2
-rw-r--r--share/man/man4/en.418
-rw-r--r--share/man/man4/man4.i386/Makefile2
-rw-r--r--share/man/man4/man4.i386/en.460
4 files changed, 18 insertions, 64 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 1111ca0..39a6d43 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -49,6 +49,7 @@ MAN= aac.4 \
ef.4 \
ehci.4 \
em.4 \
+ en.4 \
exca.4 \
faith.4 \
fast_ipsec.4 \
@@ -283,6 +284,7 @@ MLINKS+=disc.4 if_disc.4
MLINKS+=ed.4 if_ed.4
MLINKS+=ef.4 if_ef.4
MLINKS+=em.4 if_em.4
+MLINKS+=en.4 if_en.4
MLINKS+=faith.4 if_faith.4
MLINKS+=fd.4 stderr.4 fd.4 stdin.4 fd.4 stdout.4
MLINKS+=fpa.4 fea.4
diff --git a/share/man/man4/en.4 b/share/man/man4/en.4
index f13160e..15a0299 100644
--- a/share/man/man4/en.4
+++ b/share/man/man4/en.4
@@ -1,7 +1,7 @@
.\" $FreeBSD$
.\"
-.Dd December 29, 1997
-.Dt EN 4 i386
+.Dd June 3, 2003
+.Dt EN 4
.Os
.Sh NAME
.Nm en
@@ -14,7 +14,7 @@ The
.Nm
device driver supports Midway-based ATM interfaces including the
Efficient Networks, Inc. ENI-155 and Adaptec ANA-59x0.
-Midway is an ALL5 SAR (Segmentation and Reassembly) chip.
+Midway is an AAL5 SAR (Segmentation and Reassembly) chip.
.Pp
The driver only supports ATM PVCs. SVC or ATM-ARP is not supported.
.Pp
@@ -28,6 +28,18 @@ byte encoding of the following flags.
.Dl 0x02 (if using AAL5, use a LLCSNAP header)
Thus, parameter 3 means AAL5 and LLC/SNAP encapsulation.
Note that BPF works only with LLC/SNAP encapsulation.
+.Pp
+The following sysctls are recognized by the driver:
+.Bl -tag -width XXX
+.It Cm hw.atm.enX.istats
+Contains an array of
+.Vt uint32_t
+with internal driver statistics.
+.It Cm hw.atm.enX.debug
+This is a bit map of debugging options.
+This variable is only available when the driver is compiled with debugging
+support.
+.EL
.Sh EXAMPLES
Suppose you have 2 hosts 128.252.200.1 and 128.252.200.2 connected
by ATM through PVC # 201 (0xc9).
diff --git a/share/man/man4/man4.i386/Makefile b/share/man/man4/man4.i386/Makefile
index c93bfce..ced90ac 100644
--- a/share/man/man4/man4.i386/Makefile
+++ b/share/man/man4/man4.i386/Makefile
@@ -2,7 +2,7 @@
MAN= aic.4 alpm.4 amdpm.4 apm.4 ar.4 asc.4 \
cs.4 cx.4 cy.4 \
- dgb.4 el.4 en.4 ep.4 ex.4 fe.4 gsc.4 \
+ dgb.4 el.4 ep.4 ex.4 fe.4 gsc.4 \
ie.4 io.4 le.4 linux.4 lnc.4 longrun.4 mcd.4 \
meteor.4 mse.4 npx.4 \
pae.4 pcf.4 perfmon.4 pnp.4 pnpbios.4 \
diff --git a/share/man/man4/man4.i386/en.4 b/share/man/man4/man4.i386/en.4
deleted file mode 100644
index f13160e..0000000
--- a/share/man/man4/man4.i386/en.4
+++ /dev/null
@@ -1,60 +0,0 @@
-.\" $FreeBSD$
-.\"
-.Dd December 29, 1997
-.Dt EN 4 i386
-.Os
-.Sh NAME
-.Nm en
-.Nd device driver for Midway-based ATM interfaces
-.Sh SYNOPSIS
-.Cd "device en"
-.Cd "device atm"
-.Sh DESCRIPTION
-The
-.Nm
-device driver supports Midway-based ATM interfaces including the
-Efficient Networks, Inc. ENI-155 and Adaptec ANA-59x0.
-Midway is an ALL5 SAR (Segmentation and Reassembly) chip.
-.Pp
-The driver only supports ATM PVCs. SVC or ATM-ARP is not supported.
-.Pp
-To configure the card for IP, use something like:
-.Dl # ifconfig en0 128.252.200.1 netmask 0xffffff00 up
-To add a PVC to a host you must use the ``route'' command:
-.Dl # route add -iface <remote IP address> -link en0:z.0.x.y
-where x and y are the byte encoding of the VCI to use, and z is the
-byte encoding of the following flags.
-.Dl 0x01 (use AAL5),
-.Dl 0x02 (if using AAL5, use a LLCSNAP header)
-Thus, parameter 3 means AAL5 and LLC/SNAP encapsulation.
-Note that BPF works only with LLC/SNAP encapsulation.
-.Sh EXAMPLES
-Suppose you have 2 hosts 128.252.200.1 and 128.252.200.2 connected
-by ATM through PVC # 201 (0xc9).
-To enable the link use the following commands:
-.Dl on host 128.252.200.1:
-.Dl # ifconfig en0 128.252.200.1 netmask 0xffffff00 up
-.Dl # route add -iface 128.252.200.2 -link en0:3.0.0.c9
-.Pp
-.Dl on host 128.252.200.2:
-.Dl # ifconfig en0 128.252.200.2 netmask 0xffffff00 up
-.Dl # route add -iface 128.252.200.1 -link en0:3.0.0.c9
-.Sh DIAGNOSTICS
-.Bd -literal
-en0 <Efficient Networks ENI-155p> rev 0 int a irq 5 on pci0:16
-en0: ATM midway v0, board IDs 6.0, Utopia (pipelined), 512KB on-board RAM
-en0: maximum DMA burst length = 64 bytes
-en0: 7 32KB receive buffers, 8 32KB transmit buffers allocated
-.Ed
-.Sh CAVEATS
-The driver extensively uses DMA on PCI.
-The first
-generation PCI chipsets do not work or exhibit poor performance.
-.Sh SEE ALSO
-.Xr ifconfig 8 ,
-.Xr route 8
-.Sh AUTHORS
-.An Chuck Cranor
-of Washington University implemented EN driver
-in 1996 for
-.Nx .
OpenPOWER on IntegriCloud