From a63f5b907178cab3bdbb03e7ebcda677a1f338f2 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Mon, 17 Apr 2006 21:32:57 +0000 Subject: [PATCH] Add missing cm(4), mn(4) and my(4) manual pages. Taken-from: FreeBSD --- share/man/man4/Makefile | 5 +- share/man/man4/cm.4 | 161 ++++++++++++++++++++++++++++++++++++++++ share/man/man4/mn.4 | 56 ++++++++++++++ share/man/man4/my.4 | 92 +++++++++++++++++++++++ 4 files changed, 313 insertions(+), 1 deletion(-) create mode 100644 share/man/man4/cm.4 create mode 100644 share/man/man4/mn.4 create mode 100644 share/man/man4/my.4 diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index f55a4bb2e1..1781af437f 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1,6 +1,6 @@ # @(#)Makefile 8.1 (Berkeley) 6/18/93 # $FreeBSD: src/share/man/man4/Makefile,v 1.83.2.66 2003/06/04 17:10:30 sam Exp $ -# $DragonFly: src/share/man/man4/Makefile,v 1.33 2006/04/08 12:48:16 swildner Exp $ +# $DragonFly: src/share/man/man4/Makefile,v 1.34 2006/04/17 21:32:57 swildner Exp $ MAN= aac.4 \ acpi.4 \ @@ -36,6 +36,7 @@ MAN= aac.4 \ cd.4 \ ch.4 \ ciss.4 \ + cm.4 \ crypto.4 \ csa.4 \ cue.4 \ @@ -109,10 +110,12 @@ MAN= aac.4 \ miibus.4 \ mlx.4 \ mly.4 \ + mn.4 \ mouse.4 \ mpt.4 \ mtio.4 \ multicast.4 \ + my.4 \ natm.4 \ ncr.4 \ netgraph.4 \ diff --git a/share/man/man4/cm.4 b/share/man/man4/cm.4 new file mode 100644 index 0000000000..1a079105b2 --- /dev/null +++ b/share/man/man4/cm.4 @@ -0,0 +1,161 @@ +.\" +.\" Copyright (c) 2004 Tom Rhodes +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``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 THE AUTHOR OR CONTRIBUTORS 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: src/share/man/man4/cm.4,v 1.9 2005/10/07 02:32:15 trhodes Exp $ +.\" $DragonFly: src/share/man/man4/Attic/cm.4,v 1.1 2006/04/17 21:32:57 swildner Exp $ +.\" +.Dd July 16, 2005 +.Dt CM 4 +.Os +.Sh NAME +.Nm cm +.Nd "SMC Arcnet Ethernet device driver" +.Sh SYNOPSIS +To compile this driver into the kernel, +place the following lines in your kernel +configuration file: +.Bd -ragged -offset indent +.Cd "device isa" +.Cd "device cm" +.Cd "pseudo-device arcnet" +.Ed +.Sh DESCRIPTION +The +.Nm +driver provides support for the +.Tn Arcnet +.Tn ISA +network adapters. +.Sh HARDWARE +The +.Nm +driver supports the following +card models: +.Pp +.Bl -bullet -compact +.It +SMC90c26 +.It +SMC90c56 +.It +SMC90c66 in '56 compatibility mode. +.El +.Sh IMPLEMENTATION NOTES +When the +.Va IFF_NOARP +flag is set on the +.Nm +interface, +it does not employ the address resolution protocol described in +.Xr arp 4 +to dynamically map between Internet and Ethernet addresses on +the local network. +Instead it uses the least significant 8 bits of the +.Tn IP +address as the hardware address +like described in +.Tn RFC +1051 +and +.Tn RFC +1201. +.Pp +With the +.Dv IFF_LINK0 +flag cleared +.Tn IP/ARP/RARP +encoding is done according to +.Tn RFC +1201 +that is, with Packet Header Definition Standard header and packet type +212 / 213. +The +.Tn MTU +is normally 1500. +The +.Dv IFF_LINK0 +flag is cleared by default. +.Pp +With the +.Dv IFF_LINK0 +flag set, +.Tn IP +and +.Tn ARP +encoding is done according to the deprecated +.Tn RFC +1051 encoding, that is with simple header, packet type 240 / 241, +and the +.Tn MTU +is 507. +.Pp +When switching between the two modes, use +.Dl ifconfig interfacename down up +to switch the +.Tn MTU . +.Sh DIAGNOSTICS +The following driver specific error messages +may be reported: +.Bl -diag +.It "reset: card reset, link addr = 0x%02x (cm%d)" +The card is being reset and a new link address assigned. +.It "srint: restarted rx on buf cm%d" +The rx buffer has been emptied and will be reset. +.El +.Sh SEE ALSO +.Xr netintro 4 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +device was ported from +.Nx +by +.An Max Khon Aq fjoe@FreeBSD.org +and first appeared in +.Fx 4.6 . +This manual page first appeared in +.Fx 5.3 . +.Sh AUTHORS +This manual page was written by +.An Tom Rhodes Aq trhodes@FreeBSD.org . +The +.Sx IMPLEMENTATION NOTES +section was submitted by +.An Max Khon Aq fjoe@FreeBSD.org +and originated from +.Nx . +.Sh BUGS +The +.Nm +driver code could do with a bit of improvement, +it would be nice if some one could come along and take care of this. +.Pp +The +.Sx IMPLEMENTATION NOTES +section is specific to all Arcnet +devices (see +.Pa sys/net/if_arcsubr.c ) +and should be moved to a more generic location. diff --git a/share/man/man4/mn.4 b/share/man/man4/mn.4 new file mode 100644 index 0000000000..a45ce40bdf --- /dev/null +++ b/share/man/man4/mn.4 @@ -0,0 +1,56 @@ +.\" Copyright (c) 2005 Christian Brueffer +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND ITS AND CONTRIBUTORS +.\" ``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 THE AUTHOR OR THE CONTRIBUTORS +.\" 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: src/share/man/man4/mn.4,v 1.1 2005/05/10 16:48:03 brueffer Exp $ +.\" $DragonFly: src/share/man/man4/mn.4,v 1.1 2006/04/17 21:32:57 swildner Exp $ +.\" +.Dd May 10, 2005 +.Dt MN 4 +.Os +.Sh NAME +.Nm mn +.Nd "Siemens Easy321-R1 E1/T1 device driver" +.Sh SYNOPSIS +.Cd "device mn" +.Cd "options NETGRAPH" +.Sh HARDWARE +The +.Nm +driver provides support for the Siemens Easy321-R1 E1/T1 reference +design card. +.Sh SEE ALSO +.Xr netgraph 4 , +.Xr netintro 4 , +.Xr pci 4 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Fx 4.0 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Poul-Henning Kamp Aq phk@FreeBSD.org . diff --git a/share/man/man4/my.4 b/share/man/man4/my.4 new file mode 100644 index 0000000000..89741e73e3 --- /dev/null +++ b/share/man/man4/my.4 @@ -0,0 +1,92 @@ +.\" Copyright (c) 2003 Hiten M. Pandya +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND ITS AND CONTRIBUTORS +.\" ``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 THE AUTHOR OR THE CONTRIBUTORS +.\" 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: src/share/man/man4/my.4,v 1.7 2005/10/07 02:32:15 trhodes Exp $ +.\" $DragonFly: src/share/man/man4/my.4,v 1.1 2006/04/17 21:32:57 swildner Exp $ +.\" +.Dd July 16, 2005 +.Dt MY 4 +.Os +.Sh NAME +.Nm my +.Nd "Myson Technology Ethernet PCI driver" +.Sh SYNOPSIS +To compile this driver into the kernel, +place the following lines in your +kernel configuration file: +.Bd -ragged -offset indent +.Cd "device miibus" +.Cd "device my" +.Ed +.Pp +Alternatively, to load the driver as a +module at boot time, place the following line in +.Xr loader.conf 5 : +.Bd -literal -offset indent +if_my_load="YES" +.Ed +.Sh DESCRIPTION +The +.Nm +driver provides support for various NICs based on the Myson chipset. +The Myson chipset is a variant of the DEC Tulip NIC chipset. +.Pp +The driver will work with almost any MII-compliant PHY, thus failure to +positively identify the chip is not a fatal error. +.Sh HARDWARE +The +.Nm +driver provides support for various NICs based on the Myson chipset. +Supported models include: +.Pp +.Bl -bullet -compact +.It +Myson MTD800 PCI Fast Ethernet chip +.It +Myson MTD803 PCI Fast Ethernet chip +.It +Myson MTD89X PCI Gigabit Ethernet chip +.El +.Sh SEE ALSO +.Xr de 4 , +.Xr miibus 4 , +.Xr netintro 4 , +.Xr pci 4 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Fx 4.6 . +.Sh AUTHORS +The +.Nm +driver was written by Myson Technology Inc. +.Pp +This manual page was written by +.An Hiten M. Pandya Aq hmp@FreeBSD.org . +.Sh BUGS +The +.Nm +driver does not support Power Management Events (PME). -- 2.41.0