summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-10-06 16:51:14 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-10-06 16:51:14 +0000
commitd85614dcca3781333d0d0c0361475b73b1251417 (patch)
tree3ea61a1a972f40015a1bbbda374fcf065ebd0c64
parent1282a16cfaddcde09a00131ea3ef10931a3f4d4c (diff)
More sparc64 manual pages.
Most of these are modified sparc manpages, except for gem.4 which is new, and probably not correct, but jason@ wants it to be in the tree before he modifies it.
-rw-r--r--share/man/man4/man4.sparc64/Makefile7
-rw-r--r--share/man/man4/man4.sparc64/be.489
-rw-r--r--share/man/man4/man4.sparc64/gem.4110
-rw-r--r--share/man/man4/man4.sparc64/hme.4108
-rw-r--r--share/man/man4/man4.sparc64/openprom.4156
-rw-r--r--share/man/man4/man4.sparc64/qe.477
-rw-r--r--share/man/man4/man4.sparc64/qec.460
7 files changed, 604 insertions, 3 deletions
diff --git a/share/man/man4/man4.sparc64/Makefile b/share/man/man4/man4.sparc64/Makefile
index a7cb82e3fd2..b1156766e26 100644
--- a/share/man/man4/man4.sparc64/Makefile
+++ b/share/man/man4/man4.sparc64/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.4 2001/10/05 17:57:25 jason Exp $
+# $OpenBSD: Makefile,v 1.5 2001/10/06 16:51:13 miod Exp $
-MAN= autoconf.4 intro.4 mem.4
-MAN+= audiocs.4 audioce.4
+# TODO: auxio.4 beeper.4 clock.4 ebus.4 pcons.4 psycho.4 sbus.4 timer.4 zs.4
+MAN= audioce.4 audiocs.4 autoconf.4 be.4 gem.4 hme.4 intro.4 mem.4 \
+ openprom.4 qe.4 qec.4
MLINKS= mem.4 kmem.4
MANSUBDIR=sparc64
diff --git a/share/man/man4/man4.sparc64/be.4 b/share/man/man4/man4.sparc64/be.4
new file mode 100644
index 00000000000..a7e85eb3e84
--- /dev/null
+++ b/share/man/man4/man4.sparc64/be.4
@@ -0,0 +1,89 @@
+.\" $OpenBSD: be.4,v 1.1 2001/10/06 16:51:13 miod Exp $
+.\"
+.\" Copyright (c) 1998 Jason L. Wright (jason@thought.net)
+.\" 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 Jason L. Wright
+.\" 4. The name of the author may not be used to endorse or promote products
+.\" derived from this software without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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.
+.\"
+.Dd October 5, 2001
+.Dt BE 4 sparc64
+.Os
+.Sh NAME
+.Nm be
+.Nd SPARC64 Fast Ethernet interface
+.Sh SYNOPSIS
+.Cd "qec* at sbus? slot ? offset ?"
+.Cd "be* at qec?"
+.Sh DESCRIPTION
+The
+.Nm
+interface provides access to the 10Mb/s and 100Mb/s (half duplex only)
+Ethernet networks.
+The
+.Nm
+is found on the Sun 10/100 Mbit Ethernet boards
+(Sun part number SUNW,501-2655).
+.Pp
+Each of the host's network addresses
+is specified at boot time with an
+.Dv SIOCSIFADDR
+.Xr ioctl 2 .
+The
+.Nm
+interface employs the address resolution protocol described in
+.Xr arp 4
+to dynamically map between Internet and Ethernet addresses on the local
+network.
+.Pp
+The
+.Nm
+is not capable of link autonegotiation, so a media type must be specified
+with
+.Xr ifconfig 8 .
+The supported media types are:
+.Bl -tag -width xxxxxxxxxx -offset indent
+.It media 100baseTX Op mediaopt half-duplex
+Use 100Mbps, half duplex
+.It media 10baseT Op mediaopt half-duplex
+Use 10Mbps, half duplex
+.El
+.Sh SEE ALSO
+.Xr arp 4 ,
+.Xr ie 4 ,
+.Xr ifmedia 4 ,
+.Xr inet 4 ,
+.Xr intro 4 ,
+.Xr le 4 ,
+.Xr qe 4 ,
+.Xr qec 4 ,
+.Xr ifconfig 8
+.Sh HISTORY
+.Ox
+support for the
+.Nm
+first appeared in
+.Ox 3.0 .
diff --git a/share/man/man4/man4.sparc64/gem.4 b/share/man/man4/man4.sparc64/gem.4
new file mode 100644
index 00000000000..4a1f5ef8298
--- /dev/null
+++ b/share/man/man4/man4.sparc64/gem.4
@@ -0,0 +1,110 @@
+.\" $OpenBSD: gem.4,v 1.1 2001/10/06 16:51:13 miod Exp $
+.\"
+.\" Copyright (c) 2001 Miodrag Vallat.
+.\" 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. Redistribution 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. The name of the author may not bu used to endorse or promote products
+.\" derived from this software without specific prior written permission
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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.
+.\"
+.\"
+.Dd October 5, 2001
+.Dt GEM 4 sparc64
+.Os
+.Sh NAME
+.Nm gem
+.Nd SPARC64 GEM gigabit ethernet interface
+.Sh SYNOPSIS
+.Cd "gem* at pci? dev ? function ?"
+.Cd "nsphy* at mii? phy ?"
+.Cd "qsphy* at mii? phy ?"
+.Sh DESCRIPTION
+The
+.Nm
+interface provides access to the 10Mb/s, 100Mb/s and 1Gb/s Ethernet networks.
+.\" ... via the FOO or the BAR chipsets.
+The
+.Nm
+is found on the
+.Tn Sun
+GEM and ERI 10/100 boards, as well as the
+.Tn Apple
+GMAC board.
+.Pp
+Each of the host's network addresses
+is specified at boot time with an
+.Dv SIOCSIFADDR
+.Xr ioctl 2 .
+The
+.Nm
+interface employs the address resolution protocol described in
+.Xr arp 4
+to dynamically map between Internet and Ethernet addresses on the local
+network.
+.Pp
+When a
+.Nm
+interface is brought up, by default, it will attempt to auto-negotiate the
+link speed and duplex. The speeds are tried in descending order, in Full
+Duplex, then Half Duplex mode.
+.Pp
+The
+.Nm
+supports several media types, which are selected via the
+.Xr ifconfig 8
+command.
+The supported media types are:
+.Bl -tag -width "media autoselect" -offset indent
+.It media autoselect
+Attempt to autoselect the media type (default)
+.\" Check and correct the gigabit modes. Are both copper and fiber supported?
+.\" And in both duplex modes as well?
+.It media 1000baseTX mediaopt full-duplex
+Use 1000baseSX on copper, full duplex
+.It media 1000baseTX Op mediaopt half-duplex
+Use 1000baseSX on copper, half duplex
+.It media 1000baseSX mediaopt full-duplex
+Use 1000baseSX on fiber, full duplex
+.It media 1000baseSX Op mediaopt half-duplex
+Use 1000baseSX on fiber, half duplex
+.It media 100baseTX mediaopt full-duplex
+Use 100baseTX, full duplex
+.It media 100baseTX Op mediaopt half-duplex
+Use 100baseTX, half duplex
+.It media 10baseT mediaopt full-duplex
+Use 10baseT, full duplex
+.It media 10baseT Op mediaopt half-duplex
+Use 10baseT, half duplex
+.El
+.Sh SEE ALSO
+.Xr arp 4 ,
+.Xr ie 4 ,
+.Xr ifmedia 4 ,
+.Xr inet 4 ,
+.Xr intro 4 ,
+.Xr le 4 ,
+.Xr ifconfig 8
+.Sh HISTORY
+.Ox
+support for the
+.Nm
+first appeared in
+.Ox 3.0 .
diff --git a/share/man/man4/man4.sparc64/hme.4 b/share/man/man4/man4.sparc64/hme.4
new file mode 100644
index 00000000000..5144ec6dd24
--- /dev/null
+++ b/share/man/man4/man4.sparc64/hme.4
@@ -0,0 +1,108 @@
+.\" $OpenBSD: hme.4,v 1.1 2001/10/06 16:51:13 miod Exp $
+.\"
+.\" Copyright (c) 1998 Jason L. Wright (jason@thought.net)
+.\" 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 Jason L. Wright
+.\" 4. The name of the author may not be used to endorse or promote products
+.\" derived from this software without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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.
+.\"
+.Dd October 5, 2001
+.Dt HME 4 sparc64
+.Os
+.Sh NAME
+.Nm hme
+.Nd SPARC National DP83840 ethernet interface
+.Sh SYNOPSIS
+.Cd "hme* at pci? dev ? function ?"
+.Cd "hme* at sbus? slot ? offset ?"
+.Cd "nsphy* at mii? phy ?"
+.Cd "qsphy* at mii? phy ?"
+.Sh DESCRIPTION
+The
+.Nm
+interface provides access to the 10Mb/s and 100Mb/s Ethernet networks via the
+.Tn National
+DP83840
+Ethernet 10/100 Mb/s Physical Layer
+or the
+.Tn Quality
+QS6612
+Ethernet MII Transceiver for Category 5 Twisted Pair Cable
+chip sets.
+The
+.Nm
+is found on the SunSwift and Sun QuadFastEthernet boards.
+.Pp
+Each of the host's network addresses
+is specified at boot time with an
+.Dv SIOCSIFADDR
+.Xr ioctl 2 .
+The
+.Nm
+interface employs the address resolution protocol described in
+.Xr arp 4
+to dynamically map between Internet and Ethernet addresses on the local
+network.
+.Pp
+When a
+.Nm
+interface is brought up, by default, it will attempt to auto-negotiate the
+link speed and duplex. The speeds, in order of attempt, are:
+100Mb/s Full Duplex, 100Mb/s Half Duplex, 10 Mb/s Full Duplex, and
+10 Mb/s Half Duplex.
+.Pp
+The
+.Nm
+supports several media types, which are selected via the
+.Xr ifconfig 8
+command.
+The supported media types are:
+.Bl -tag -width "media autoselect" -offset indent
+.It media autoselect
+Attempt to autoselect the media type (default)
+.It media 100baseTX mediaopt full-duplex
+Use 100baseTX, full duplex
+.It media 100baseTX Op mediaopt half-duplex
+Use 100baseTX, half duplex
+.It media 10baseT mediaopt full-duplex
+Use 10baseT, full duplex
+.It media 10baseT Op mediaopt half-duplex
+Use 10baseT, half duplex
+.El
+.Sh SEE ALSO
+.Xr arp 4 ,
+.Xr ie 4 ,
+.Xr ifmedia 4 ,
+.Xr inet 4 ,
+.Xr intro 4 ,
+.Xr le 4 ,
+.Xr ifconfig 8
+.Sh HISTORY
+.Ox
+support for the
+.Nm
+first appeared in
+.Ox 3.0 .
diff --git a/share/man/man4/man4.sparc64/openprom.4 b/share/man/man4/man4.sparc64/openprom.4
new file mode 100644
index 00000000000..9c2a9d63553
--- /dev/null
+++ b/share/man/man4/man4.sparc64/openprom.4
@@ -0,0 +1,156 @@
+.\" $OpenBSD: openprom.4,v 1.1 2001/10/06 16:51:13 miod Exp $
+.\" Copyright (c) 1992, 1993
+.\" The Regents of the University of California. All rights reserved.
+.\"
+.\" This software was developed by the Computer Systems Engineering group
+.\" at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
+.\" contributed to Berkeley.
+.\"
+.\" 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 the University of
+.\" California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\" may be used to endorse or promote products derived from this software
+.\" without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
+.\"
+.\" from: @(#)openprom.4 8.1 (Berkeley) 6/5/93
+.\"
+.Dd October 5, 2001
+.Dt OPENPROM 4 sparc64
+.Os
+.Sh NAME
+.Nm openprom
+.Nd OPENPROM interface
+.Sh SYNOPSIS
+.Fd #include <machine/openpromio.h>
+.Sh DESCRIPTION
+The file
+.Nm /dev/openprom
+is an interface to the ULTRAsparc OPENPROM.
+This interface is highly stylized;
+ioctls are used for all operations.
+These ioctls refer to
+.Dq nodes ,
+which are simply
+.Dq magic
+integer values describing data areas.
+Occasionally the number 0 may be used or returned instead,
+as described below.
+.Pp
+The calls that take and/or return a node
+use a pointer to an
+.Li int
+variable for this purpose;
+others use a pointer to an
+.Li struct opiocdesc
+descriptor,
+which contains a node and two counted strings.
+The first string is comprised of the fields
+.Li op_namelen
+(an
+.Li int )
+and
+.Li op_name
+(a
+.Li "char *" ) ,
+giving the name of a field.
+The second string is comprised of the fields
+.Li op_buflen
+and
+.Li op_buf ,
+used analogously.
+These two counted strings work in a
+.Dq value-result
+fashion.
+At entry to the ioctl,
+the counts are expected to reflect the buffer size;
+on return,
+the counts are updated to reflect the buffer contents.
+.Pp
+The following ioctls are supported:
+.Bl -tag -width OPIOCGETOPTNODE
+.It Dv OPIOCGETOPTNODE
+Takes nothing, and fills in the options node number.
+.It OPIOCGETNEXT
+Takes a node number and returns the number of the following node.
+The node following the last node is number 0;
+the node following number 0 is the first node.
+.It Dv OPIOCGETCHILD
+Takes a node number and returns the number of the first
+.Dq child
+of that node.
+This child may have siblings; these can be discovered by using
+.Dv OPIOCGETNEXT .
+.It Dv OPIOCGET
+Fills in the value of the named property for the given node.
+If no such property is associated with that node,
+the value length is set to -1.
+If the named property exists but has no value,
+the value length is set to 0.
+.It Dv OPIOCSET
+Writes the given value under the given name.
+The OPENPROM may refuse this operation;
+in this case
+.Dv EINVAL
+is returned.
+.It Dv OPIOCNEXTPROP
+Finds the property whose name follows the given name
+in OPENPROM internal order.
+The resulting name is returned in the value field.
+If the named property is the last, the
+.Dq next
+name is the empty string.
+As with
+.Dv OPIOCGETNEXT ,
+the next name after the empty string is the first name.
+.El
+.Sh FILES
+.Pa /dev/openprom
+.Sh ERRORS
+The following may result in rejection of an operation:
+.Bl -tag -width Er
+.It Bq Er EINVAL
+The given node number
+is not zero
+and does not correspond to any valid node,
+or is zero where zero is not allowed.
+.It Bq Er EBADF
+The requested operation requires permissions not specified at the call to
+.Fn open .
+.It Bq Er ENAMETOOLONG
+The given name or value field
+exceeds the maximum allowed length (8191 bytes).
+.El
+.Sh SEE ALSO
+.Xr ioctl 2
+.Sh BUGS
+Due to limitations within the OPENPROM itself,
+these functions run at elevated priority
+and may adversely affect system performance.
+.Sh HISTORY
+A
+sparc64
+.Nm openprom
+manual page first appeared in
+.Ox 3.0 .
diff --git a/share/man/man4/man4.sparc64/qe.4 b/share/man/man4/man4.sparc64/qe.4
new file mode 100644
index 00000000000..63259c34ce3
--- /dev/null
+++ b/share/man/man4/man4.sparc64/qe.4
@@ -0,0 +1,77 @@
+.\" $OpenBSD: qe.4,v 1.1 2001/10/06 16:51:13 miod Exp $
+.\"
+.\" Copyright (c) 1998 Jason L. Wright (jason@thought.net)
+.\" 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 Jason L. Wright
+.\" 4. The name of the author may not be used to endorse or promote products
+.\" derived from this software without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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.
+.\"
+.Dd October 5, 2001
+.Dt QE 4 sparc64
+.Os
+.Sh NAME
+.Nm qe
+.Nd SPARC64 Fast Ethernet interface
+.Sh SYNOPSIS
+.Cd "qec* at sbus? slot ? offset ?"
+.Cd "qe* at qec?"
+.Sh DESCRIPTION
+The
+.Nm
+interface provides access to 10Mb/s Ethernet networks via the
+.Tn AMD
+Am79C940 (MACE) Ethernet controller.
+The
+.Nm
+is found on the Sun QuadEthernet boards
+(Sun part number SUNW,595-3198).
+.Pp
+Each of the host's network addresses
+is specified at boot time with an
+.Dv SIOCSIFADDR
+.Xr ioctl 2 .
+The
+.Nm
+interface employs the address resolution protocol described in
+.Xr arp 4
+to dynamically map between Internet and Ethernet addresses on the local
+network.
+.Sh SEE ALSO
+.Xr arp 4 ,
+.Xr be 4 ,
+.Xr ie 4 ,
+.Xr ifmedia 4 ,
+.Xr inet 4 ,
+.Xr intro 4 ,
+.Xr le 4 ,
+.Xr qec 4 ,
+.Xr ifconfig 8
+.Sh HISTORY
+.Ox
+support for the
+.Nm
+first appeared in
+.Ox 3.0 .
diff --git a/share/man/man4/man4.sparc64/qec.4 b/share/man/man4/man4.sparc64/qec.4
new file mode 100644
index 00000000000..1c9a2e13d0f
--- /dev/null
+++ b/share/man/man4/man4.sparc64/qec.4
@@ -0,0 +1,60 @@
+.\" $OpenBSD: qec.4,v 1.1 2001/10/06 16:51:13 miod Exp $
+.\"
+.\" Copyright (c) 1998 Jason L. Wright (jason@thought.net)
+.\" 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 Jason L. Wright
+.\" 4. The name of the author may not be used to endorse or promote products
+.\" derived from this software without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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.
+.\"
+.Dd October 5, 2001
+.Dt QEC 4 sparc64
+.Os
+.Sh NAME
+.Nm qec
+.Nd SPARC64 Quad Ethernet Controller
+.Sh SYNOPSIS
+.Cd "qec* at sbus? slot ? offset ?"
+.Sh DESCRIPTION
+The
+.Nm
+driver is an sbus controller that can contain either one
+.Xr be 4
+Ethernet controller (Sun part number SUNW,501-2655)
+or four
+.Xr qe 4
+ethernet controllers (Sun part number SUNW,595-3198).
+This driver, like other busses, is not directly available to users.
+In essence it is a buffering DMA controller.
+.Sh SEE ALSO
+.Xr be 4 ,
+.Xr intro 4 ,
+.Xr qe 4
+.Sh HISTORY
+.Ox
+support for the
+.Nm
+first appeared in
+.Ox 3.0 .