diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-05-14 21:08:10 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-05-14 21:08:10 +0000 |
commit | ef21670fe5d6e31c79f79426281c52b67418718f (patch) | |
tree | 2e0177f11009f9a085452f7026c2f69dacd700ba | |
parent | 0eb5c0e06e84f2a38b77d3a7a233de8c57f8e25e (diff) |
A few basic man4 pages for socppc, heavily based on macppc. Also, plug
man4.armish into the build, since it had been long forgotten.
-rw-r--r-- | share/man/man4/Makefile | 11 | ||||
-rw-r--r-- | share/man/man4/man4.socppc/Makefile | 9 | ||||
-rw-r--r-- | share/man/man4/man4.socppc/autoconf.4 | 52 | ||||
-rw-r--r-- | share/man/man4/man4.socppc/intro.4 | 112 | ||||
-rw-r--r-- | share/man/man4/man4.socppc/mem.4 | 79 |
5 files changed, 258 insertions, 5 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index 64871df4d36..d087af21480 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.453 2008/05/07 02:31:01 krw Exp $ +# $OpenBSD: Makefile,v 1.454 2008/05/14 21:08:07 miod Exp $ MAN= aac.4 ac97.4 acphy.4 \ acpi.4 acpiac.4 acpiasus.4 acpibat.4 acpibtn.4 acpicpu.4 acpidock.4 \ @@ -82,9 +82,10 @@ MLINKS+=tty.4 cua.4 MLINKS+=usb.4 uhub.4 MLINKS+=vnd.4 svnd.4 -SUBDIR= man4.alpha man4.amd64 man4.aviion man4.hp300 man4.hppa \ - man4.i386 man4.landisk man4.luna88k man4.mac68k man4.macppc \ - man4.mvme68k man4.mvme88k man4.sgi man4.sparc man4.sparc64 man4.vax \ - man4.zaurus +# man4.hppa64 +SUBDIR= man4.alpha man4.amd64 man4.armish man4.aviion man4.hp300 \ + man4.hppa man4.i386 man4.landisk man4.luna88k man4.mac68k \ + man4.macppc man4.mvme68k man4.mvme88k man4.sgi man4.socppc man4.sparc \ + man4.sparc64 man4.vax man4.zaurus .include <bsd.prog.mk> diff --git a/share/man/man4/man4.socppc/Makefile b/share/man/man4/man4.socppc/Makefile new file mode 100644 index 00000000000..cef6e80b861 --- /dev/null +++ b/share/man/man4/man4.socppc/Makefile @@ -0,0 +1,9 @@ +# $OpenBSD: Makefile,v 1.1 2008/05/14 21:08:09 miod Exp $ + +# TODO: ipic mainbus obio sociic socpcic +MAN= autoconf.4 intro.4 mem.4 +MLINKS= mem.4 kmem.4 + +MANSUBDIR=socppc + +.include <bsd.prog.mk> diff --git a/share/man/man4/man4.socppc/autoconf.4 b/share/man/man4/man4.socppc/autoconf.4 new file mode 100644 index 00000000000..0a5450f60fc --- /dev/null +++ b/share/man/man4/man4.socppc/autoconf.4 @@ -0,0 +1,52 @@ +.\" $OpenBSD: autoconf.4,v 1.1 2008/05/14 21:08:09 miod Exp $ +.\" +.\" Copyright (c) 1994 Christopher G. Demetriou +.\" 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 Christopher G. Demetriou. +.\" 3. 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 $Mdocdate: May 14 2008 $ +.Dt AUTOCONF 4 socppc +.Os +.Sh NAME +.Nm autoconf +.Nd diagnostics from the autoconfiguration code +.Sh DESCRIPTION +When +.Ox +bootstraps it probes the innards of the machine +on which it is running +and locates controllers, drives, and other devices, printing out +what it finds on the console. +This procedure is driven by a system configuration table which is processed by +.Xr config 8 +and compiled into each kernel. +Devices which exist in the machine but are not configured into the +kernel are usually not detected. +.Sh SEE ALSO +.Xr intro 4 , +.\" .Xr boot_socppc 8 , +.Xr config 8 diff --git a/share/man/man4/man4.socppc/intro.4 b/share/man/man4/man4.socppc/intro.4 new file mode 100644 index 00000000000..4fa03d8a18f --- /dev/null +++ b/share/man/man4/man4.socppc/intro.4 @@ -0,0 +1,112 @@ +.\" $OpenBSD: intro.4,v 1.1 2008/05/14 21:08:09 miod Exp $ +.\" +.\" Copyright (c) 2001 Peter Valchev. +.\" 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 ``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 $Mdocdate: May 14 2008 $ +.Dt INTRO 4 socppc +.Os +.Sh NAME +.Nm intro +.Nd introduction to special files and hardware support +.Sh DESCRIPTION +The manual pages in section 4 describe the special files, +related driver functions, and networking support +available in the system. +In this part of the manual, the +.Sx SYNOPSIS +section of +each configurable device gives a sample specification +for use in constructing a system description for the +.Xr config 8 +program. +The +.Sx DIAGNOSTICS +section lists messages which may appear on the console +and/or in the system error log +.Pa /var/log/messages +due to errors in device operation; +see +.Xr syslogd 8 +for more information. +.Pp +This section contains both devices +which may be configured into the system +and network related information. +The networking support is introduced in +.Xr netintro 4 . +.Sh DEVICE SUPPORT +This section describes the hardware supported on the socppc +platform. +Software support for these devices comes in two forms. +A hardware device may be supported with a character or block +.Em device driver , +or it may be used within the networking subsystem and have a +.Em network interface driver . +Block and character devices are accessed through files in the file +system of a special type; see +.Xr mknod 8 . +Network interfaces are indirectly accessed through the interprocess +communication facilities provided by the system; see +.Xr socket 2 . +.Pp +A hardware device is identified to the system at configuration time +and the appropriate device or network interface driver is then compiled +into the system. +When the resultant system is booted, the autoconfiguration facilities +in the system probe for the device and, if found, enable the software +support for it. +If a device does not respond at autoconfiguration +time it is not accessible at any time afterwards. +To enable a device which did not autoconfigure, +the system will have to be rebooted. +.Pp +The configuration system is described in +.Xr autoconf 4 . +.Sh LIST OF DEVICES +A complete list of available devices is contained within the pages +describing the system buses and controllers. +For example, a PCI device would be listed in the +.Xr pci 4 +man page. +The following buses and controllers list these devices: +.Pp +.Bl -tag -width 8n -offset 3n -compact +.\" blurb for mainbus and obio? +.It Xr iic 4 +Inter IC (I2C) bus +.It Xr pci 4 +introduction to PCI bus support +.It Xr usb 4 +introduction to Universal Serial Bus support +.El +.Sh SEE ALSO +.Xr autoconf 4 , +.Xr config 8 +.Sh HISTORY +The +socppc +.Nm +first appeared in +.Ox 4.4 . diff --git a/share/man/man4/man4.socppc/mem.4 b/share/man/man4/man4.socppc/mem.4 new file mode 100644 index 00000000000..4535058ec2b --- /dev/null +++ b/share/man/man4/man4.socppc/mem.4 @@ -0,0 +1,79 @@ +.\" 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. 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: @(#)mem.4 8.1 (Berkeley) 6/5/93 +.\" $OpenBSD: mem.4,v 1.1 2008/05/14 21:08:09 miod Exp $ +.\" $NetBSD: mem.4,v 1.1 1997/06/08 17:40:57 ender Exp $ +.\" +.Dd $Mdocdate: May 14 2008 $ +.Dt MEM 4 socppc +.Os +.Sh NAME +.Nm mem , +.Nm kmem +.Nd memory files +.Sh DESCRIPTION +The file +.Pa /dev/mem +is an interface to the physical memory of the computer. +Byte offsets in this file are interpreted as physical memory addresses. +Reading and writing this file is equivalent to reading and writing +memory itself. +An error will be returned if an attempt is made to reference +an offset outside of +.Pa /dev/mem . +.Pp +Kernel virtual memory is accessed via the file +.Pa /dev/kmem +in the same manner as +.Pa /dev/mem . +Only kernel virtual addresses that are currently mapped to memory are allowed. +.Pp +On this platform, physical memory is always contiguous; +kernel virtual memory begins at +.Ad 0x00000000 . +.Pp +Writeability of these devices is controlled by the system +.Xr securelevel 7 . +.Sh FILES +.Bl -tag -width /dev/kmem -compact +.It /dev/mem +.It /dev/kmem +.El +.Sh SEE ALSO +.Xr securelevel 7 +.Sh HISTORY +The +.Pa /dev/mem +and +.Pa /dev/kmem +files appeared in +.At v6 . |