summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorBrandon Mercer <bmercer@cvs.openbsd.org>2013-06-06 15:30:52 +0000
committerBrandon Mercer <bmercer@cvs.openbsd.org>2013-06-06 15:30:52 +0000
commitd2ec00fa550837a21e25a4bc9d51e2a368299404 (patch)
tree5d4845e55899db9a2e883f0a4a7fd6dea113c11a /share
parenta03d439b41f49de39729da27f3bf651771726e49 (diff)
Document the cpsw driver. Feedback from many.
OK jsg@
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/Makefile4
-rw-r--r--share/man/man4/man4.beagle/Makefile7
-rw-r--r--share/man/man4/man4.beagle/cpsw.450
3 files changed, 59 insertions, 2 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 61fd9a5d797..226e0dc3f91 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.549 2013/06/03 16:06:42 tedu Exp $
+# $OpenBSD: Makefile,v 1.550 2013/06/06 15:30:51 bmercer Exp $
MAN= aac.4 ac97.4 acphy.4 \
acpi.4 acpiac.4 acpiasus.4 acpibat.4 acpibtn.4 acpicpu.4 acpidock.4 \
@@ -96,7 +96,7 @@ MLINKS+=usb.4 uhub.4
MLINKS+=vlan.4 svlan.4
# man4.hppa64
-SUBDIR= man4.alpha man4.amd64 man4.armish man4.aviion man4.hp300 \
+SUBDIR= man4.alpha man4.amd64 man4.armish man4.aviion man4.beagle man4.hp300 \
man4.hppa man4.i386 man4.landisk man4.loongson man4.luna88k \
man4.macppc man4.mvme68k man4.mvme88k \
man4.sgi man4.socppc man4.sparc man4.sparc64 man4.vax man4.zaurus
diff --git a/share/man/man4/man4.beagle/Makefile b/share/man/man4/man4.beagle/Makefile
new file mode 100644
index 00000000000..937570e1dc4
--- /dev/null
+++ b/share/man/man4/man4.beagle/Makefile
@@ -0,0 +1,7 @@
+# $OpenBSD: Makefile,v 1.1 2013/06/06 15:30:51 bmercer Exp $
+
+MAN= cpsw.4
+
+MANSUBDIR=beagle
+
+.include <bsd.prog.mk>
diff --git a/share/man/man4/man4.beagle/cpsw.4 b/share/man/man4/man4.beagle/cpsw.4
new file mode 100644
index 00000000000..ffa5d24efd7
--- /dev/null
+++ b/share/man/man4/man4.beagle/cpsw.4
@@ -0,0 +1,50 @@
+.\" $OpenBSD: cpsw.4,v 1.1 2013/06/06 15:30:51 bmercer Exp $
+.\" Copyright (c) 2013 Brandon Mercer <bmercer@openbsd.org>
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.\"
+.Dd $Mdocdate: June 6 2013 $
+.Dt CPSW 4
+.Os
+.Sh NAME
+.Nm cpsw
+.Nd Texas Instruments CPSW Ethernet device
+.Sh SYNOPSIS
+.Cd "cpsw* at omap?"
+.Cd "ukphy* at mii?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the Texas Instruments CPSW Ethernet device.
+For more information on configuring this device, see
+.Xr ifconfig 8 .
+.Sh SEE ALSO
+.Xr ifmedia 4 ,
+.Xr mii 4 ,
+.Xr ukphy 4 ,
+.Xr hostname.if 5 ,
+.Xr ifconfig 8
+.Sh HISTORY
+The
+.Nm
+device driver first appeared in
+.Ox 5.4 .
+.Sh AUTHORS
+The
+.Nm
+driver was written by
+.An Jonathan A. Kollasch Aq jakllsch@NetBSD.org
+and ported to
+.Ox
+by
+.An Brandon Mercer Aq bmercer@openbsd.org .