summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/man/man4/man4.macppc/Makefile6
-rw-r--r--share/man/man4/man4.macppc/pgs.448
2 files changed, 51 insertions, 3 deletions
diff --git a/share/man/man4/man4.macppc/Makefile b/share/man/man4/man4.macppc/Makefile
index ed6e58b2af1..2dc6287cf87 100644
--- a/share/man/man4/man4.macppc/Makefile
+++ b/share/man/man4/man4.macppc/Makefile
@@ -1,12 +1,12 @@
-# $OpenBSD: Makefile,v 1.32 2008/05/04 18:22:28 xsa Exp $
+# $OpenBSD: Makefile,v 1.33 2010/04/09 19:25:38 jasper Exp $
# from: @(#)Makefile 5.1 (Berkeley) 2/12/91
# Id: Makefile,v 1.4 1995/12/14 05:41:38 deraadt Exp $
MAN= abtn.4 adb.4 aoa.4 apm.4 asms.4 autoconf.4 awacs.4 \
bm.4 daca.4 esp.4 fcu.4 ht.4 intro.4 \
kauaiata.4 kiic.4 macobio.4 macgpio.4 mc.4 mediabay.4 mem.4 memc.4 \
- mesh.4 mpcpcibr.4 openpic.4 openprom.4 onyx.4 piic.4 smu.4 snapper.4 \
- sysbutton.4 tpms.4 tumbler.4 xlights.4 zs.4
+ mesh.4 mpcpcibr.4 openpic.4 openprom.4 onyx.4 pgs.4 piic.4 smu.4 \
+ snapper.4 sysbutton.4 tpms.4 tumbler.4 xlights.4 zs.4
MLINKS= mem.4 kmem.4
MLINKS+= zs.4 zsc.4 zs.4 zstty.4
diff --git a/share/man/man4/man4.macppc/pgs.4 b/share/man/man4/man4.macppc/pgs.4
new file mode 100644
index 00000000000..f0cf8196efb
--- /dev/null
+++ b/share/man/man4/man4.macppc/pgs.4
@@ -0,0 +1,48 @@
+.\" $OpenBSD: pgs.4,v 1.1 2010/04/09 19:25:38 jasper Exp $
+.\"
+.\" Copyright (c) 2010 Jasper Lievisse Adriaanse <jasper@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: April 9 2010 $
+.Dt PGS 4 macppc
+.Os
+.Sh NAME
+.Nm pgs
+.Nd programmer's switch
+.Sh SYNOPSIS
+.Cd "pgs* at macgpio?"
+.Sh DESCRIPTION
+The
+.Nm
+provides support for the "Programmer's Switch" found on some macppc machines.
+If the
+.Va ddb.console
+.Xr sysctl 8
+is set, pressing the button will cause the machine to enter
+.Xr ddb 4 .
+The "Programmers Switch" can be identified by the V-like symbol on it.
+.Sh SEE ALSO
+.Xr intro 4 ,
+.Xr macgpio 4 ,
+.Xr sysctl 8
+.Sh HISTORY
+Support for the
+.Nm
+driver first appeared in
+.Ox 4.7 .
+.Sh AUTHORS
+The
+.Nm
+driver was written by
+.An Jasper Lievisse Adriaanse Aq jasper@openbsd.org .