summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-11-08 16:55:38 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-11-08 16:55:38 +0000
commit5849beaa0265cfe8d11e631f7c51fa678ea31e47 (patch)
tree253048416e645cfd3c0213b4230c35c989fb53ea
parentf0c5ac3213ef0faa3efdd8940607d35e5d5ca452 (diff)
Section 4 changes and additions for Pegasos.
-rw-r--r--share/man/man4/Makefile4
-rw-r--r--share/man/man4/com.413
-rw-r--r--share/man/man4/isa.49
-rw-r--r--share/man/man4/man4.pegasos/Makefile10
-rw-r--r--share/man/man4/man4.pegasos/autoconf.452
-rw-r--r--share/man/man4/man4.pegasos/intro.4172
-rw-r--r--share/man/man4/man4.pegasos/mem.480
-rw-r--r--share/man/man4/pci.44
-rw-r--r--share/man/man4/pckbc.46
-rw-r--r--share/man/man4/wdc.46
10 files changed, 339 insertions, 17 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 977518717db..3ee5a5b2d3d 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.246 2003/10/17 21:04:58 mcbride Exp $
+# $OpenBSD: Makefile,v 1.247 2003/11/08 16:55:35 miod Exp $
MAN= aac.4 ac97.4 acphy.4 addcom.4 adv.4 aha.4 ahb.4 ahc.4 aic.4 \
ami.4 amdpm.4 amphy.4 an.4 aria.4 ast.4 atalk.4 atapiscsi.4 \
@@ -59,7 +59,7 @@ MLINKS+=usb.4 uhub.4
MLINKS+=pms.4 pmsi.4
MLINKS+=sk.4 skc.4
SUBDIR= man4.alpha man4.hp300 man4.hppa man4.i386 man4.mac68k man4.macppc \
- man4.mvme68k man4.mvme88k man4.sparc man4.sparc64 man4.vax
+ man4.mvme68k man4.mvme88k man4.pegasos man4.sparc man4.sparc64 man4.vax
# i386 specific
MLINKS+= com.4 pccom.4
diff --git a/share/man/man4/com.4 b/share/man/man4/com.4
index 7e6b82b03bf..c5492a74b44 100644
--- a/share/man/man4/com.4
+++ b/share/man/man4/com.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: com.4,v 1.11 2003/06/02 23:30:12 millert Exp $
+.\" $OpenBSD: com.4,v 1.12 2003/11/08 16:55:35 miod Exp $
.\" $NetBSD: com.4,v 1.5 1996/03/16 00:07:08 thorpej Exp $
.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
@@ -60,15 +60,18 @@
.Cd "com0 at isa? port 0x3f8 irq 4"
.Cd "com1 at isa? port 0x2f8 irq 3"
.Pp
-.Cd "# sparc64"
-.Cd "com* at asio?"
-.Cd "com* at ebus?"
-.Pp
.Cd "# hppa"
.Cd "com0 at gsc? offset 0x5000 irq 5"
.Cd "com0 at gsc? offset 0x23000 irq 5"
.Cd "com1 at gsc? offset 0x22000 irq 6"
.Cd "com2 at gsc? offset ? irq 13"
+.Pp
+.Cd "# pegasos"
+.Cd "com0 at isa? port 0x2f8 irq 3"
+.Pp
+.Cd "# sparc64"
+.Cd "com* at asio?"
+.Cd "com* at ebus?"
.Sh DESCRIPTION
The
.Nm com
diff --git a/share/man/man4/isa.4 b/share/man/man4/isa.4
index 6450d9d8164..84c9aad207c 100644
--- a/share/man/man4/isa.4
+++ b/share/man/man4/isa.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isa.4,v 1.25 2003/06/19 20:29:51 deraadt Exp $
+.\" $OpenBSD: isa.4,v 1.26 2003/11/08 16:55:35 miod Exp $
.\" $NetBSD: isa.4,v 1.19 2000/03/18 16:54:37 augustss Exp $
.\"
.\" Copyright (c) 2000 Theo de Raadt. All rights reserved.
@@ -38,14 +38,17 @@
.Nm isa
.Nd introduction to ISA bus support
.Sh SYNOPSIS
-.Cd "# i386:"
+.Cd "# i386"
.Cd "isa0 at mainbus0"
.Cd "isa0 at pcib?"
.Pp
-.Cd "# alpha:"
+.Cd "# alpha"
.Cd "isa* at pceb?"
.Cd "isa* at sio?"
.Pp
+.Cd "# pegasos"
+.Cd "isa* at isabr?"
+.Pp
Attachments are machine-dependent and depend on the bus topology and
.Tn ISA
bus interface of your system.
diff --git a/share/man/man4/man4.pegasos/Makefile b/share/man/man4/man4.pegasos/Makefile
new file mode 100644
index 00000000000..e90b16e2a1a
--- /dev/null
+++ b/share/man/man4/man4.pegasos/Makefile
@@ -0,0 +1,10 @@
+# $OpenBSD: Makefile,v 1.1 2003/11/08 16:55:37 miod Exp $
+# from: @(#)Makefile 5.1 (Berkeley) 2/12/91
+
+# TODO mpcpcibr isabr
+MAN= autoconf.4 intro.4 mem.4
+MLINKS= mem.4 kmem.4
+
+MANSUBDIR=pegasos
+
+.include <bsd.prog.mk>
diff --git a/share/man/man4/man4.pegasos/autoconf.4 b/share/man/man4/man4.pegasos/autoconf.4
new file mode 100644
index 00000000000..91e515d78a8
--- /dev/null
+++ b/share/man/man4/man4.pegasos/autoconf.4
@@ -0,0 +1,52 @@
+.\" $OpenBSD: autoconf.4,v 1.1 2003/11/08 16:55:37 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 November 8, 2003
+.Dt AUTOCONF 4 pegasos
+.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_pegasos 8 ,
+.Xr config 8
diff --git a/share/man/man4/man4.pegasos/intro.4 b/share/man/man4/man4.pegasos/intro.4
new file mode 100644
index 00000000000..5c943cc3472
--- /dev/null
+++ b/share/man/man4/man4.pegasos/intro.4
@@ -0,0 +1,172 @@
+.\" $OpenBSD: intro.4,v 1.1 2003/11/08 16:55:37 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 November 8, 2003
+.Dt INTRO 4 pegasos
+.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
+.Tn SYNOPSIS
+section of
+each configurable device gives a sample specification
+for use in constructing a system description for the
+.Xr config 8
+program.
+The
+.Tn 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
+.Tn Pegasos
+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 .
+A list of the supported devices is given below.
+.Sh LIST OF DEVICES
+The devices listed below are supported in this incarnation of
+the system.
+Pseudo-devices are not listed.
+Devices are indicated by their functional interface.
+Not all supported devices are listed.
+.Pp
+.Bl -tag -width usscanner(4) -compact -offset indent
+.It Xr ahc 4
+Adaptec PCI SCSI host adapter.
+.It Xr an 4
+Aironet Communications 4500/4800 IEEE 802.11DS wireless network adapter.
+.It Xr aue 4
+ADMtek AN986-based USB Ethernet adapters.
+.It Xr autri 4
+Trident 4DWAVE-DX/NX, SiS 7018, ALi M5451 audio.
+.It Xr auvia 4
+VIA VT82C686A and VT8233 integrated AC97 audio.
+.It Xr bktr 4
+Video capture driver.
+.It Xr com 4
+Serial communications interface.
+.It Xr dc 4
+DEC tulip-based ethernet cards.
+.It Xr eap 4
+Ensoniq AudioPCI based audio.
+.It Xr em 4
+Intel i82542, i82543, and i82544 Pro/1000 Gigabit ethernet.
+.It Xr fxp 4
+Intel EtherExpress PRO/100 Ethernet driver.
+.It Xr hifn 4
+Hifn 7751 crypto accelerator.
+.It Xr hme 4
+National DP83840 ethernet cards.
+.It Xr iop 4
+I2O adapter.
+.It Xr kue 4
+Kawasaki LSI KL5KUSB101B-based USB ethernet.
+.It Xr lofn 4
+Hifn 6500 crypto accelerator.
+.It Xr pckbc 4
+PC-style keyboard controller.
+.It Xr siop 4
+LSI/Symbios Logic/NCR 53c8xx SCSI adapter boards.
+.It Xr ti 4
+Alteon Networks Tigon I and II Gigabit Ethernet driver.
+.It Xr uaudio 4
+USB audio devices.
+.It Xr ubsec 4
+Broadcom and BlueSteel uBsec 5x0x crypto accelerator.
+.It Xr ukbd 4
+USB keyboard.
+.It Xr ulpt 4
+USB printers.
+.It Xr umass 4
+USB mass storage.
+.It Xr ums 4
+USB mouse.
+.It Xr uplcom 4
+I/O Data USB-RSAQ2 USB serial adapters.
+.It Xr uscanner 4
+USB scanners.
+.It Xr usscanner 4
+SCSI-over-USB scanners.
+.It Xr uyap
+USB YAP phone firmware loader.
+.It Xr vga 4
+PCI VGA graphics.
+.It Xr vr 4
+VIA Technologies VT3043 and VT86C100A ethernet.
+.It Xr wi 4
+WaveLAN/IEEE and PRISM-II 802.11DS wireless network adapters.
+.It Xr xl 4
+3Com EtherLink XL and Fast EtherLink XL Ethernet driver.
+.El
+.Sh SEE ALSO
+.Xr autoconf 4 ,
+.Xr config 8
+.Sh HISTORY
+The
+Pegasos
+.Nm
+first appeared in
+.Ox 3.5 .
diff --git a/share/man/man4/man4.pegasos/mem.4 b/share/man/man4/man4.pegasos/mem.4
new file mode 100644
index 00000000000..80848cedcaa
--- /dev/null
+++ b/share/man/man4/man4.pegasos/mem.4
@@ -0,0 +1,80 @@
+.\" $OpenBSD: mem.4,v 1.1 2003/11/08 16:55:37 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. 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
+.\"
+.Dd November 8, 2003
+.Dt MEM 4 pegasos
+.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 the
+.Tn Pegasos ,
+physical memory may be discontiguous;
+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 .
diff --git a/share/man/man4/pci.4 b/share/man/man4/pci.4
index f813530dfb3..e698987024d 100644
--- a/share/man/man4/pci.4
+++ b/share/man/man4/pci.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pci.4,v 1.80 2003/10/12 06:25:46 jmc Exp $
+.\" $OpenBSD: pci.4,v 1.81 2003/11/08 16:55:35 miod Exp $
.\" $NetBSD: pci.4,v 1.29 2000/04/01 00:32:23 tsarna Exp $
.\"
.\" Copyright (c) 2000 Theo de Raadt. All rights reserved.
@@ -52,7 +52,7 @@
.Cd "pci* at mainbus0 bus ?"
.Cd "pci* at pchb? bus ?"
.Pp
-.Cd "# macppc"
+.Cd "# macppc, pegasos"
.Cd "pci* at mpcpcibr?"
.Pp
.Cd "# sparc64"
diff --git a/share/man/man4/pckbc.4 b/share/man/man4/pckbc.4
index dc91bca1252..89036da2d26 100644
--- a/share/man/man4/pckbc.4
+++ b/share/man/man4/pckbc.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pckbc.4,v 1.9 2003/06/06 10:29:41 jmc Exp $
+.\" $OpenBSD: pckbc.4,v 1.10 2003/11/08 16:55:35 miod Exp $
.\" $NetBSD: pckbc.4,v 1.2 2000/06/16 06:42:31 augustss Exp $
.\"
.\" Copyright (c) 1999
@@ -32,8 +32,8 @@
.Nm pckbc
.Nd PC (ISA) keyboard controller driver
.Sh SYNOPSIS
-.Cd "pckbc* at isa?"
-.Cd "pckbc* at ebus?"
+.Cd "pckbc* at isa? " Pq "alpha, i386, pegasos"
+.Cd "pckbc* at ebus? " Pq "sparc64"
.Cd "pckbd* at pckbc?"
.Cd "pms* at pckbc?"
.Cd "pmsi* at pckbc?"
diff --git a/share/man/man4/wdc.4 b/share/man/man4/wdc.4
index 71210b8e23d..73a53557eb7 100644
--- a/share/man/man4/wdc.4
+++ b/share/man/man4/wdc.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wdc.4,v 1.11 2003/09/04 22:14:42 jmc Exp $
+.\" $OpenBSD: wdc.4,v 1.12 2003/11/08 16:55:35 miod Exp $
.\" $NetBSD: wdc.4,v 1.4 1999/05/19 14:44:02 bouyer Exp $
.\"
.\" Copyright (c) 1998 Manuel Bouyer.
@@ -42,12 +42,14 @@
.Cd "wdc0 at isa? port 0x1f0 irq 14 flags 0x00"
.Cd "wdc1 at isa? port 0x170 irq 15 flags 0x00"
.Cd "wdc* at isapnp?"
-.Cd "wdc* at pcmcia? function ?"
.Pp
.Cd "# macppc"
.Cd "wdc* at macobio?"
.Cd "wdc* at kauaiata?"
.Pp
+.Cd "# all architectures"
+.Cd "wdc* at pcmcia? function ?"
+.Pp
.Cd "atapiscsi* at wdc?* channel ? flags 0x0000"
.Cd "wd* at wdc? drive ? flags 0x0000"
.Sh DESCRIPTION