Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/minoura-xpg4dl]: src/share Sync w/ netbsd-1-5-base.
details: https://anonhg.NetBSD.org/src/rev/b3369e3443aa
branches: minoura-xpg4dl
changeset: 486689:b3369e3443aa
user: minoura <minoura%NetBSD.org@localhost>
date: Thu Jun 22 16:16:53 2000 +0000
description:
Sync w/ netbsd-1-5-base.
diffstat:
share/doc/papers/bus_dma/about.me | 2 +-
share/examples/apm/script | 37 ++-
share/man/man0/title.cdrom | 2 +-
share/man/man0/title.urm | 2 +-
share/man/man3/Makefile | 6 +-
share/man/man3/dlfcn.3 | 9 +-
share/man/man3/queue.3 | 79 ++++++-
share/man/man4/Makefile | 54 ++--
share/man/man4/aha.4 | 3 +-
share/man/man4/awi.4 | 18 +-
share/man/man4/ca.4 | 10 +-
share/man/man4/cac.4 | 14 +-
share/man/man4/ddb.4 | 4 +-
share/man/man4/dpt.4 | 16 +-
share/man/man4/inet6.4 | 117 ++++++++-
share/man/man4/ip6.4 | 4 +-
share/man/man4/ipsec.4 | 89 +++++++-
share/man/man4/isa.4 | 8 +-
share/man/man4/isapnp.4 | 4 +-
share/man/man4/lkm.4 | 17 +-
share/man/man4/man4.amiga/autoconf.4 | 3 +-
share/man/man4/man4.amiga/ed.4 | 15 +-
share/man/man4/man4.amiga/es.4 | 15 +-
share/man/man4/man4.arm26/ei.4 | 8 +-
share/man/man4/man4.arm32/autoconf.4 | 3 +-
share/man/man4/man4.arm32/intro.4 | 3 +-
share/man/man4/man4.arm32/lpt.4 | 3 +-
share/man/man4/man4.atari/intro.4 | 14 +-
share/man/man4/man4.i386/apm.4 | 13 +-
share/man/man4/man4.i386/autoconf.4 | 14 +-
share/man/man4/man4.i386/fdc.4 | 9 +-
share/man/man4/man4.i386/intro.4 | 14 +-
share/man/man4/man4.i386/joy.4 | 3 +-
share/man/man4/man4.i386/lms.4 | 14 +-
share/man/man4/man4.i386/lpt.4 | 15 +-
share/man/man4/man4.i386/mms.4 | 14 +-
share/man/man4/man4.i386/npx.4 | 19 +-
share/man/man4/man4.i386/opms.4 | 14 +-
share/man/man4/man4.i386/pcibios.4 | 8 +-
share/man/man4/man4.i386/pnpbios.4 | 19 +-
share/man/man4/man4.mac68k/autoconf.4 | 3 +-
share/man/man4/man4.mvme68k/autoconf.4 | 14 +-
share/man/man4/man4.mvme68k/lpt.4 | 14 +-
share/man/man4/man4.sparc/autoconf.4 | 14 +-
share/man/man4/man4.sun3/autoconf.4 | 14 +-
share/man/man4/mca.4 | 80 ++++++
share/man/man4/options.4 | 19 +-
share/man/man4/pciide.4 | 9 +-
share/man/man4/pckbc.4 | 14 +-
share/man/man4/pms.4 | 14 +-
share/man/man4/puc.4 | 18 +-
share/man/man4/speaker.4 | 14 +-
share/man/man4/stf.4 | 10 +-
share/man/man4/tr.4 | 25 +-
share/man/man4/umass.4 | 10 +-
share/man/man4/usb.4 | 6 +-
share/man/man4/wdc.4 | 3 +-
share/man/man4/wsdisplay.4 | 6 +-
share/man/man4/xi.4 | 95 ++++++++
share/man/man5/Makefile | 7 +-
share/man/man5/hosts.5 | 8 +-
share/man/man5/login.conf.5 | 13 +-
share/man/man5/netconfig.5 | 106 +++++++++
share/man/man5/rc.conf.5 | 9 +-
share/man/man5/resolv.conf.5 | 15 +-
share/man/man5/rpc.5 | 79 ++----
share/man/man7/hier.7 | 25 +-
share/man/man7/mdoc.samples.7 | 7 +-
share/man/man8/MAKEDEV2manpage.pl | 6 +-
share/man/man8/man8.alpha/MAKEDEV.8 | 4 +-
share/man/man8/man8.alpha/MAKEDEV.8.template | 20 +-
share/man/man8/man8.alpha/boot.8 | 21 +-
share/man/man8/man8.alpha/installboot.8 | 18 +-
share/man/man8/man8.alpha/mkbootimage.8 | 20 +-
share/man/man8/man8.alpha/setnetbootinfo.8 | 18 +-
share/man/man8/man8.i386/MAKEDEV.8 | 15 +-
share/man/man8/man8.i386/installboot.8 | 2 +-
share/man/man8/man8.pmax/MAKEDEV.8 | 8 +-
share/man/man8/man8.pmax/installboot.8 | 18 +-
share/man/man9/Makefile | 10 +-
share/man/man9/bus_dma.9 | 2 +-
share/man/man9/cpu_reboot.9 | 15 +-
share/man/man9/disk.9 | 4 +-
share/man/man9/doshutdownhooks.9 | 15 +-
share/man/man9/evcnt.9 | 318 +++++++++++++++++++++++++++
share/man/man9/extent.9 | 2 +-
share/man/man9/inittodr.9 | 15 +-
share/man/man9/pool.9 | 62 ++--
share/man/man9/ratecheck.9 | 2 +-
share/man/man9/resettodr.9 | 15 +-
share/man/man9/shutdownhook_establish.9 | 15 +-
share/man/man9/softintr.9 | 138 +++++++++++
share/man/man9/spl.9 | 19 +-
share/man/man9/time.9 | 15 +-
share/misc/acronyms | 4 +-
share/mk/Makefile | 12 +-
share/mk/bsd.crypto.mk | 30 --
share/mk/bsd.doc.mk | 24 +-
share/mk/bsd.files.mk | 34 +-
share/mk/bsd.inc.mk | 18 +-
share/mk/bsd.info.mk | 62 ++--
share/mk/bsd.kinc.mk | 48 ++-
share/mk/bsd.kmod.mk | 14 +-
share/mk/bsd.lib.mk | 32 +-
share/mk/bsd.man.mk | 27 +-
share/mk/bsd.nls.mk | 56 ++--
share/mk/bsd.prog.mk | 72 +++--
share/mk/bsd.subdir.mk | 35 +-
share/termcap/termcap.src | 8 +-
109 files changed, 1925 insertions(+), 714 deletions(-)
diffs (truncated from 5232 to 300 lines):
diff -r 836be2e030a5 -r b3369e3443aa share/doc/papers/bus_dma/about.me
--- a/share/doc/papers/bus_dma/about.me Thu Jun 22 16:05:18 2000 +0000
+++ b/share/doc/papers/bus_dma/about.me Thu Jun 22 16:16:53 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: about.me,v 1.1 1998/07/15 00:34:54 thorpej Exp $
+.\" $NetBSD: about.me,v 1.1.8.1 2000/06/22 16:16:53 minoura Exp $
.\"
.\" Copyright (c) 1998 Jason R. Thorpe.
.\" All rights reserved.
diff -r 836be2e030a5 -r b3369e3443aa share/examples/apm/script
--- a/share/examples/apm/script Thu Jun 22 16:05:18 2000 +0000
+++ b/share/examples/apm/script Thu Jun 22 16:16:53 2000 +0000
@@ -1,12 +1,19 @@
#!/bin/sh
#
-# $NetBSD: script,v 1.1 1999/12/29 04:16:25 hubertf Exp $
+# $NetBSD: script,v 1.1.2.1 2000/06/22 16:16:55 minoura Exp $
#
#
# Link this script to /etc/apm/{suspend,standby,resume,line,battery}
# to play some sounds on suspend/resume, and enable/shutdown the
-# network card. See apmd(8) for more information.
+# network card:
+#
+# mkdir /etc/apm
+# cp script /etc/apm/suspend
+# cd /etc/apm
+# for i in standby resume line battery ; do ln suspend $i ; done
+#
+# See apmd(8) for more information.
#
@@ -20,44 +27,54 @@
if=ne0
+noise() {
+ audioplay -q -f -s 22050 -c 1 $1
+}
+
case $0 in
*suspend)
logger 'Suspending...'
- pcmplay -f 22050 -c 1 $S/KDE_Window_UnMaximize.wav
+ noise $S/KDE_Window_UnMaximize.wav
# In case some NFS mounts still exist - we don't want them to hang:
umount -a -t nfs
umount -a -f -t nfs
ifconfig $if down
- kill `ps -auxwww | grep dhclient | awk '{print $2}'`
+ sh /etc/rc.d/dhclient stop
logger 'Suspending done.'
;;
*standby)
logger 'Going to standby mode ....'
- pcmplay -f 22050 -c 1 $S/KDE_Window_UnMaximize.wav
+ noise $S/KDE_Window_UnMaximize.wav
# In case some NFS mounts still exist - we don't want them to hang:
umount -a -t nfs
umount -a -f -t nfs
ifconfig $if down
- kill `ps -auxwww | grep dhclient | awk '{print $2}'`
+ sh /etc/rc.d/dhclient stop
logger 'Standby done.'
;;
*resume)
logger Resuming...
- pcmplay -f 22050 $S/KDE_Startup.wav
- dhclient $if
+ noise $S/KDE_Startup.wav
+ sh /etc/rc.d/dhclient start
# mount /home
# mount /data
logger 'Resuming done.'
;;
*line)
- # pcmplay -f 22050 -c 1 $S/KDE_Window_DeIconify.wav
+ # Running on power line, not battery...
+ # noise $S/KDE_Window_DeIconify.wav
+ mount -u -o atime,devmtime -a
+ atactl wd0 setidle 0
;;
*battery)
- # pcmplay -f 22050 -c 1 $S/KDE_Window_DeIconify.wav
+ # Running on battery...
+ # noise $S/KDE_Window_DeIconify.wav
+ mount -u -o noatime,nodevmtime -a
+ atactl wd0 setidle 5
;;
esac
diff -r 836be2e030a5 -r b3369e3443aa share/man/man0/title.cdrom
--- a/share/man/man0/title.cdrom Thu Jun 22 16:05:18 2000 +0000
+++ b/share/man/man0/title.cdrom Thu Jun 22 16:16:53 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: title.cdrom,v 1.2 1998/01/09 08:04:06 perry Exp $
+.\" $NetBSD: title.cdrom,v 1.2.8.1 2000/06/22 16:16:56 minoura Exp $
.\"
.\" Copyright (c) 1994 Regents of the University of California.
.\" All rights reserved.
diff -r 836be2e030a5 -r b3369e3443aa share/man/man0/title.urm
--- a/share/man/man0/title.urm Thu Jun 22 16:05:18 2000 +0000
+++ b/share/man/man0/title.urm Thu Jun 22 16:16:53 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: title.urm,v 1.3 2000/03/13 22:40:16 soren Exp $
+.\" $NetBSD: title.urm,v 1.3.2.1 2000/06/22 16:16:57 minoura Exp $
.\"
.\" Copyright (c) 1980, 1993, 1994 Regents of the University of California.
.\" All rights reserved.
diff -r 836be2e030a5 -r b3369e3443aa share/man/man3/Makefile
--- a/share/man/man3/Makefile Thu Jun 22 16:05:18 2000 +0000
+++ b/share/man/man3/Makefile Thu Jun 22 16:16:53 2000 +0000
@@ -1,22 +1,26 @@
-# $NetBSD: Makefile,v 1.18 2000/02/03 16:17:50 kleink Exp $
+# $NetBSD: Makefile,v 1.18.2.1 2000/06/22 16:16:58 minoura Exp $
# @(#)Makefile 8.2 (Berkeley) 12/13/93
MAN= assert.3 bitstring.3 dlfcn.3 end.3 intro.3 queue.3 stdarg.3
MLINKS+=end.3 edata.3 end.3 etext.3
+MLINKS+=queue.3 list_empty.3
MLINKS+=queue.3 list_entry.3 queue.3 list_first.3 queue.3 list_head.3
MLINKS+=queue.3 list_head_initializer.3 queue.3 list_init.3
MLINKS+=queue.3 list_insert_after.3 queue.3 list_insert_before.3
MLINKS+=queue.3 list_insert_head.3 queue.3 list_next.3 queue.3 list_remove.3
+MLINKS+=queue.3 simpleq_empty.3
MLINKS+=queue.3 simpleq_entry.3 queue.3 simpleq_first.3 queue.3 simpleq_head.3
MLINKS+=queue.3 simpleq_head_initializer.3 queue.3 simpleq_init.3
MLINKS+=queue.3 simpleq_insert_head.3 queue.3 simpleq_insert_tail.3
MLINKS+=queue.3 simpleq_insert_after.3 queue.3 simpleq_next.3
MLINKS+=queue.3 simpleq_remove_head.3
+MLINKS+=queue.3 tailq_empty.3
MLINKS+=queue.3 tailq_entry.3 queue.3 tailq_first.3 queue.3 tailq_head.3
MLINKS+=queue.3 tailq_head_initializer.3 queue.3 tailq_init.3
MLINKS+=queue.3 tailq_insert_after.3 queue.3 tailq_insert_before.3
MLINKS+=queue.3 tailq_insert_head.3 queue.3 tailq_insert_tail.3
MLINKS+=queue.3 tailq_next.3 queue.3 tailq_remove.3
+MLINKS+=queue.3 circleq_empty.3
MLINKS+=queue.3 circleq_entry.3 queue.3 circleq_first.3 queue.3 circleq_head.3
MLINKS+=queue.3 circleq_head_initializer.3 queue.3 circleq_init.3
MLINKS+=queue.3 circleq_insert_after.3 queue.3 circleq_insert_before.3
diff -r 836be2e030a5 -r b3369e3443aa share/man/man3/dlfcn.3
--- a/share/man/man3/dlfcn.3 Thu Jun 22 16:05:18 2000 +0000
+++ b/share/man/man3/dlfcn.3 Thu Jun 22 16:16:53 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: dlfcn.3,v 1.10 1999/07/20 22:38:49 perry Exp $
+.\" $NetBSD: dlfcn.3,v 1.10.6.1 2000/06/22 16:17:01 minoura Exp $
.\"
.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -81,6 +81,13 @@
in which case the same library search rules apply that are used for
.Dq intrinsic
shared library searches.
+If the first argument is
+.Dv NULL ,
+.Fn dlopen
+returns a handle on the global symbol object. This object
+provides access to all symbols from an ordered set of objects consisting
+of the original program image and any dependencies loaded during startup.
+.Pp
The second argument has currently no effect, but should be set to
.Dv DL_LAZY
for future compatibility.
diff -r 836be2e030a5 -r b3369e3443aa share/man/man3/queue.3
--- a/share/man/man3/queue.3 Thu Jun 22 16:05:18 2000 +0000
+++ b/share/man/man3/queue.3 Thu Jun 22 16:16:53 2000 +0000
@@ -1,4 +1,35 @@
-.\" $NetBSD: queue.3,v 1.11 1999/11/19 01:12:41 enami Exp $
+.\" $NetBSD: queue.3,v 1.11.2.1 2000/06/22 16:17:01 minoura Exp $
+.\"
+.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
+.\" 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 the NetBSD
+.\" Foundation, Inc. and its contributors.
+.\" 4. Neither the name of The NetBSD Foundation 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 NETBSD FOUNDATION, INC. 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 FOUNDATION 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.
.\"
.\" Copyright (c) 1993 The Regents of the University of California.
.\" All rights reserved.
@@ -33,7 +64,7 @@
.\"
.\" @(#)queue.3 8.1 (Berkeley) 12/13/93
.\"
-.Dd June 30, 1997
+.Dd May 27, 2000
.Dt QUEUE 3
.Os
.Sh NAME
@@ -45,6 +76,7 @@
.Nm LIST_INSERT_BEFORE ,
.Nm LIST_INSERT_HEAD ,
.Nm LIST_REMOVE ,
+.Nm LIST_EMPTY ,
.Nm LIST_FIRST ,
.Nm LIST_NEXT ,
.Nm SIMPLEQ_ENTRY ,
@@ -55,6 +87,7 @@
.Nm SIMPLEQ_INSERT_TAIL ,
.Nm SIMPLEQ_INSERT_AFTER ,
.Nm SIMPLEQ_REMOVE_HEAD ,
+.Nm SIMPLEQ_EMPTY ,
.Nm SIMPLEQ_FIRST ,
.Nm SIMPLEQ_NEXT ,
.Nm TAILQ_ENTRY ,
@@ -66,6 +99,7 @@
.Nm TAILQ_INSERT_HEAD ,
.Nm TAILQ_INSERT_TAIL ,
.Nm TAILQ_REMOVE ,
+.Nm TAILQ_EMPTY ,
.Nm TAILQ_FIRST ,
.Nm TAILQ_NEXT ,
.Nm CIRCLEQ_ENTRY ,
@@ -77,6 +111,7 @@
.Nm CIRCLEQ_INSERT_HEAD ,
.Nm CIRCLEQ_INSERT_TAIL ,
.Nm CIRCLEQ_REMOVE ,
+.Nm CIRCLEQ_EMPTY ,
.Nm CIRCLEQ_FIRST ,
.Nm CIRCLEQ_LAST ,
.Nm CIRCLEQ_NEXT ,
@@ -93,6 +128,8 @@
.Fn LIST_INSERT_BEFORE "TYPE *listelm" "TYPE *elm" "LIST_ENTRY NAME"
.Fn LIST_INSERT_HEAD "LIST_HEAD *head" "TYPE *elm" "LIST_ENTRY NAME"
.Fn LIST_REMOVE "TYPE *elm" "LIST_ENTRY NAME"
+.Ft int
+.Fn LIST_EMPTY "LIST_HEAD *head"
.Ft TYPE *
.Fn LIST_FIRST "LIST_HEAD *head"
.Ft TYPE *
@@ -106,6 +143,8 @@
.Fn SIMPLEQ_INSERT_HEAD "SIMPLEQ_HEAD *head" "TYPE *elm" "SIMPLEQ_ENTRY NAME"
.Fn SIMPLEQ_INSERT_TAIL "SIMPLEQ_HEAD *head" "TYPE *elm" "SIMPLEQ_ENTRY NAME"
.Fn SIMPLEQ_REMOVE_HEAD "SIMPLEQ_HEAD *head" "TYPE *elm" "SIMPLEQ_ENTRY NAME"
+.Ft int
+.Fn SIMPLEQ_EMPTY "SIMPLEQ_HEAD *head"
.Ft TYPE *
.Fn SIMPLEQ_FIRST "SIMPLEQ_HEAD *head"
.Ft TYPE *
@@ -120,6 +159,8 @@
.Fn TAILQ_INSERT_HEAD "TAILQ_HEAD *head" "TYPE *elm" "TAILQ_ENTRY NAME"
.Fn TAILQ_INSERT_TAIL "TAILQ_HEAD *head" "TYPE *elm" "TAILQ_ENTRY NAME"
.Fn TAILQ_REMOVE "TAILQ_HEAD *head" "TYPE *elm" "TAILQ_ENTRY NAME"
+.Ft int
+.Fn TAILQ_EMPTY "TAILQ_HEAD *head"
.Ft TYPE *
.Fn TAILQ_FIRST "TAILQ_HEAD *head"
.Ft TYPE *
@@ -134,6 +175,8 @@
.Fn CIRCLEQ_INSERT_HEAD "CIRCLEQ_HEAD *head" "TYPE *elm" "CIRCLEQ_ENTRY NAME"
.Fn CIRCLEQ_INSERT_TAIL "CIRCLEQ_HEAD *head" "TYPE *elm" "CIRCLEQ_ENTRY NAME"
.Fn CIRCLEQ_REMOVE "CIRCLEQ_HEAD *head" "TYPE *elm" "CIRCLEQ_ENTRY NAME"
+.Ft int
+.Fn CIRCLEQ_EMPTY "CIRCLEQ_HEAD *head"
.Ft TYPE *
.Fn CIRCLEQ_FIRST "CIRCLEQ_HEAD *head"
.Ft TYPE *
@@ -315,6 +358,12 @@
from the list.
.Pp
The macro
+.Nm LIST_EMPTY
+return true if the list
+.Fa head
+has no elements.
+.Pp
+The macro
.Nm LIST_FIRST
returns the first elemement of the list
.Fa head .
@@ -349,6 +398,8 @@
Home |
Main Index |
Thread Index |
Old Index