CVS commit: src/usr.bin/rpcinfo

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 23:09:45 UTC 2013

Modified Files:
src/usr.bin/rpcinfo: rpcinfo.c

Log Message:
0 == local


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/usr.bin/rpcinfo/rpcinfo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/rpcinfo/rpcinfo.c
diff -u src/usr.bin/rpcinfo/rpcinfo.c:1.36 src/usr.bin/rpcinfo/rpcinfo.c:1.37
--- src/usr.bin/rpcinfo/rpcinfo.c:1.36	Tue May  7 20:34:50 2013
+++ src/usr.bin/rpcinfo/rpcinfo.c	Fri May 24 19:09:45 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: rpcinfo.c,v 1.36 2013/05/08 00:34:50 christos Exp $	*/
+/*	$NetBSD: rpcinfo.c,v 1.37 2013/05/24 23:09:45 christos Exp $	*/
 
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -538,6 +538,8 @@ pmapdump(int argc, char **argv)
 (void)printf("%6s", "udp");
 			else if (head->pml_map.pm_prot == IPPROTO_TCP)
 (void)printf("%6s", "tcp");
+			else if (head->pml_map.pm_prot == 0)
+(void)printf("%6s", "local");
 			else
 (void)printf("%6ld", head->pml_map.pm_prot);
 			(void)printf("%7ld", head->pml_map.pm_port);



CVS commit: src/sys/arch/sparc64/sparc64

2013-05-24 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Fri May 24 23:02:27 UTC 2013

Modified Files:
src/sys/arch/sparc64/sparc64: locore.s

Log Message:
Disable interrupts after calling data_access_error as with
data_access_fault.


To generate a diff of this commit:
cvs rdiff -u -r1.348 -r1.349 src/sys/arch/sparc64/sparc64/locore.s

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sparc64/sparc64/locore.s
diff -u src/sys/arch/sparc64/sparc64/locore.s:1.348 src/sys/arch/sparc64/sparc64/locore.s:1.349
--- src/sys/arch/sparc64/sparc64/locore.s:1.348	Sun Apr 28 23:42:23 2013
+++ src/sys/arch/sparc64/sparc64/locore.s	Fri May 24 23:02:27 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: locore.s,v 1.348 2013/04/28 23:42:23 nakayama Exp $	*/
+/*	$NetBSD: locore.s,v 1.349 2013/05/24 23:02:27 nakayama Exp $	*/
 
 /*
  * Copyright (c) 2006-2010 Matthew R. Green
@@ -2234,7 +2234,6 @@ Ldatafault_internal:
 	call	_C_LABEL(data_access_fault)	! data_access_fault(&tf, type, 
 		!	pc, addr, sfva, sfsr)
 	 add	%sp, CC64FSZ + STKB, %o0	! (argument: &tf)
-	wrpr	%g0, PSTATE_KERN, %pstate		! disable interrupts
 
 data_recover:
 #ifdef TRAPSTATS
@@ -2243,6 +2242,7 @@ data_recover:
 	set	_C_LABEL(iveccnt), %g1
 	stw	%g0, [%g1]
 #endif
+	wrpr	%g0, PSTATE_KERN, %pstate		! disable interrupts
 	b	return_from_trap			! go return
 	 ldx	[%sp + CC64FSZ + STKB + TF_TSTATE], %g1		! Load this for return_from_trap
 	NOTREACHED



CVS commit: src/sys/arch/sparc64/sparc64

2013-05-24 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Fri May 24 23:02:08 UTC 2013

Modified Files:
src/sys/arch/sparc64/sparc64: clock.c

Log Message:
- use gettick directly, not via cpu_counter.
- bump timecounter quality of stick-counter so we prefer to use it.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/sys/arch/sparc64/sparc64/clock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sparc64/sparc64/clock.c
diff -u src/sys/arch/sparc64/sparc64/clock.c:1.107 src/sys/arch/sparc64/sparc64/clock.c:1.108
--- src/sys/arch/sparc64/sparc64/clock.c:1.107	Thu Nov  8 00:34:38 2012
+++ src/sys/arch/sparc64/sparc64/clock.c	Fri May 24 23:02:08 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: clock.c,v 1.107 2012/11/08 00:34:38 macallan Exp $ */
+/*	$NetBSD: clock.c,v 1.108 2013/05/24 23:02:08 nakayama Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -55,7 +55,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.107 2012/11/08 00:34:38 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.108 2013/05/24 23:02:08 nakayama Exp $");
 
 #include "opt_multiprocessor.h"
 
@@ -85,7 +85,6 @@ __KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.
 #include 
 #include 
 #include 
-#include 
 
 #include 
 #include 
@@ -161,7 +160,7 @@ static struct timecounter stick_timecoun
 	~0u,			/* counter_mask */
 	0,  /* frequency - set at initialisation */
 	"stick-counter",	/* name */
-	100,			/* quality */
+	200,			/* quality */
 	0,			/* private reference - UNUSED */
 	NULL			/* next timecounter */
 };
@@ -172,7 +171,7 @@ static struct timecounter stick_timecoun
 static u_int
 tick_get_timecount(struct timecounter *tc)
 {
-	return cpu_counter();
+	return gettick();
 }
 
 static u_int



CVS commit: src/distrib/common

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 21:34:19 UTC 2013

Modified Files:
src/distrib/common: Makefile.image

Log Message:
Add IMGMAKEFSOPTIONS like in the bootimage Makefile


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/distrib/common/Makefile.image

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/common/Makefile.image
diff -u src/distrib/common/Makefile.image:1.31 src/distrib/common/Makefile.image:1.32
--- src/distrib/common/Makefile.image:1.31	Fri Apr  3 18:36:35 2009
+++ src/distrib/common/Makefile.image	Fri May 24 17:34:19 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.image,v 1.31 2009/04/03 22:36:35 perry Exp $
+#	$NetBSD: Makefile.image,v 1.32 2013/05/24 21:34:19 christos Exp $
 #
 # Makefile snippet to build a tree from the provided lists,
 # and make an ffs file system image from that tree
@@ -82,12 +82,13 @@ CLEANFILES+=	${WORKSPEC} ${WORKSPEC}.tmp
 .endif	# ! target (${WORKSPEC})# }
 
 .if defined(IMAGE)		# {
+IMGMAKEFSOPTIONS?= -o bsize=4096,fsize=512
 ${IMAGE}: ${WORKBUILT}
 	[ "${.OODATE}" = ${WORKBUILT} -a -f ${IMAGE} -a ! ${IMAGE} -ot ${WORKBUILT} ]  || { \
 	${_MKSHMSG_CREATE} ${.CURDIR:T}/${.TARGET}; \
 	rm -f ${.TARGET} ${.TARGET}.tmp; \
 	${TOOL_MAKEFS} -t ffs -B ${IMAGEENDIAN} -s ${IMAGESIZE} -F ${WORKSPEC} \
-	-N ${NETBSDSRCDIR}/etc -o bsize=4096,fsize=512 \
+	-N ${NETBSDSRCDIR}/etc ${IMGMAKEFSOPTIONS} \
 	-o optimization=space,minfree=0 \
 	${MAKEFS_FLAGS} ${.TARGET}.tmp ${WORKDIR} \
 	&& mv -f ${.TARGET}.tmp ${.TARGET}; \



CVS commit: src/distrib/x68k/floppies/ramdisk

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 21:33:00 UTC 2013

Modified Files:
src/distrib/x68k/floppies/ramdisk: Makefile list

Log Message:
kill ping6,rtsol,df,dmesg,sync,pwd to make things fit.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/distrib/x68k/floppies/ramdisk/Makefile
cvs rdiff -u -r1.32 -r1.33 src/distrib/x68k/floppies/ramdisk/list

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/x68k/floppies/ramdisk/Makefile
diff -u src/distrib/x68k/floppies/ramdisk/Makefile:1.41 src/distrib/x68k/floppies/ramdisk/Makefile:1.42
--- src/distrib/x68k/floppies/ramdisk/Makefile:1.41	Sat Nov 10 12:40:09 2012
+++ src/distrib/x68k/floppies/ramdisk/Makefile	Fri May 24 17:33:00 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.41 2012/11/10 17:40:09 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.42 2013/05/24 21:33:00 christos Exp $
 
 .include 
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -8,7 +8,7 @@ IMAGESIZE=		1440k
 # `floppy-root' cannot be used now, due to size issue.
 #IMAGE_RELEASEDIR=	installation/floppy
 
-MAKEFS_FLAGS=	-f 10
+MAKEFS_FLAGS=	-f 5
 WARNS=		1
 DBG=		-Os
 
@@ -27,7 +27,7 @@ IMAGEDEPENDS+= 	${CRUNCHBIN} \
 SMALLPROG_INET6=1
 
 .if ${USE_INET6} != "no"
-LISTS+=		${DISTRIBDIR}/common/list.inet6
+#LISTS+=		${DISTRIBDIR}/common/list.inet6
 .endif
 
 # Use stubs to eliminate some large stuff from libc

Index: src/distrib/x68k/floppies/ramdisk/list
diff -u src/distrib/x68k/floppies/ramdisk/list:1.32 src/distrib/x68k/floppies/ramdisk/list:1.33
--- src/distrib/x68k/floppies/ramdisk/list:1.32	Tue Jun 19 09:02:47 2012
+++ src/distrib/x68k/floppies/ramdisk/list	Fri May 24 17:33:00 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: list,v 1.32 2012/06/19 13:02:47 minoura Exp $
+#	$NetBSD: list,v 1.33 2013/05/24 21:33:00 christos Exp $
 
 SRCDIRS bin sbin usr.bin usr.sbin sys/arch/x68k/stand
 
@@ -7,7 +7,7 @@ PROG	bin/cat
 PROG	bin/chmod
 PROG	bin/cp
 PROG	bin/dd
-PROG	bin/df
+#PROG	bin/df
 #PROG	bin/ed
 PROG	bin/ln
 PROG	bin/ls
@@ -15,16 +15,16 @@ PROG	bin/mkdir
 #PROG	bin/mt
 PROG	bin/mv
 PROG	bin/pax		usr/bin/tar
-PROG	bin/pwd
+#PROG	bin/pwd
 PROG	bin/rm
 PROG	bin/sh
 #PROG	bin/sleep
 PROG	bin/stty
-PROG	bin/sync
+#PROG	bin/sync
 
 PROG	sbin/chown	bin/chgrp
 PROG	sbin/disklabel
-PROG	sbin/dmesg
+#PROG	sbin/dmesg
 PROG	sbin/fsck
 PROG	sbin/fsck_ffs
 PROG	sbin/ifconfig



CVS commit: src/sys/arch/x68k/dev

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 18:24:27 UTC 2013

Modified Files:
src/sys/arch/x68k/dev: fd.c

Log Message:
kill bogus inline


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/arch/x68k/dev/fd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x68k/dev/fd.c
diff -u src/sys/arch/x68k/dev/fd.c:1.105 src/sys/arch/x68k/dev/fd.c:1.106
--- src/sys/arch/x68k/dev/fd.c:1.105	Sun Oct 14 15:06:25 2012
+++ src/sys/arch/x68k/dev/fd.c	Fri May 24 14:24:27 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: fd.c,v 1.105 2012/10/14 19:06:25 tsutsui Exp $	*/
+/*	$NetBSD: fd.c,v 1.106 2013/05/24 18:24:27 christos Exp $	*/
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.105 2012/10/14 19:06:25 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.106 2013/05/24 18:24:27 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_m68k_arch.h"
@@ -296,7 +296,7 @@ void fdctimeout(void *);
 void fdcpseudointr(void *);
 void fdcretry(struct fdc_softc *);
 void fdfinish(struct fd_softc *, struct buf *);
-inline struct fd_type *fd_dev_to_type(struct fd_softc *, dev_t);
+struct fd_type *fd_dev_to_type(struct fd_softc *, dev_t);
 int fdformat(dev_t, struct ne7_fd_formb *, struct lwp *);
 static int fdcpoll(struct fdc_softc *);
 static int fdgetdisklabel(struct fd_softc *, dev_t);
@@ -648,12 +648,12 @@ fdattach(device_t parent, device_t self,
 	RND_TYPE_DISK, 0);
 }
 
-inline struct fd_type *
+struct fd_type *
 fd_dev_to_type(struct fd_softc *fd, dev_t dev)
 {
-	int type = FDTYPE(dev);
+	size_t type = FDTYPE(dev);
 
-	if (type > (sizeof(fd_types) / sizeof(fd_types[0])))
+	if (type > __arraycount(fd_types))
 		return NULL;
 	return &fd_types[type];
 }



CVS commit: src/distrib/sets/lists/debug

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 18:06:05 UTC 2013

Modified Files:
src/distrib/sets/lists/debug: md.x68k

Log Message:
fix obsolete rtcalarm


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/distrib/sets/lists/debug/md.x68k

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/debug/md.x68k
diff -u src/distrib/sets/lists/debug/md.x68k:1.2 src/distrib/sets/lists/debug/md.x68k:1.3
--- src/distrib/sets/lists/debug/md.x68k:1.2	Wed Jan 16 16:11:10 2013
+++ src/distrib/sets/lists/debug/md.x68k	Fri May 24 14:06:05 2013
@@ -1,9 +1,9 @@
-# $NetBSD: md.x68k,v 1.2 2013/01/16 21:11:10 christos Exp $
+# $NetBSD: md.x68k,v 1.3 2013/05/24 18:06:05 christos Exp $
 ./usr/libdata/debug/usr/bin/bellctrl.debug	comp-util-debug		debug
 ./usr/libdata/debug/usr/bin/loadfont.debug	comp-util-debug		debug
 ./usr/libdata/debug/usr/bin/loadkmap.debug	comp-util-debug		debug
 ./usr/libdata/debug/usr/bin/palette.debug	comp-util-debug		debug
-./usr/libdata/debug/usr/bin/rtcalarm.debug	comp-util-debug		debug
+./usr/libdata/debug/usr/bin/rtcalarm.debug	comp-obsolete		obsolete
 ./usr/libdata/debug/usr/bin/tvctrl.debug	comp-util-debug		debug
 ./usr/libdata/debug/usr/mdec/installboot.debug	comp-sysutil-debug	debug
 ./usr/libdata/debug/usr/mdec/newdisk.debug	comp-sysutil-debug	debug



CVS commit: src/doc

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 17:54:36 UTC 2013

Modified Files:
src/doc: HACKS

Log Message:
mention x68k hacks.


To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/doc/HACKS

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/HACKS
diff -u src/doc/HACKS:1.127 src/doc/HACKS:1.128
--- src/doc/HACKS:1.127	Thu Dec 27 09:16:57 2012
+++ src/doc/HACKS	Fri May 24 13:54:36 2013
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.127 2012/12/27 14:16:57 martin Exp $
+# $NetBSD: HACKS,v 1.128 2013/05/24 17:54:36 christos Exp $
 #
 # This file is intended to document workarounds for currently unsolved
 # (mostly) compiler bugs.
@@ -778,4 +778,15 @@ port	ia64
 		{standard input}:22978: Warning: This is the location of the conflicting usage
 	kcah
 
+port	x68k
 
+	hack	compiler error with gcc 4.5.x
+	cdate	Fri May 24 13:23:01 EDT 2013
+	who	christos
+	file	src/external/gpl3/gcc/usr.bin/bakend/Makefile: 1.17
+		xsrc/external/mit/xorg/lib/libGLU/Makefile: 1.11
+		src/x11/lib/GLU/Makefile: 1.9
+	descr
+		workaround for:
+		internal compiler error: in cselib_record_set, at cselib.c:1999
+	kcah



CVS commit: src/x11/lib/GLU

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 17:44:27 UTC 2013

Modified Files:
src/x11/lib/GLU: Makefile

Log Message:
avoid compiler bug


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/x11/lib/GLU/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/x11/lib/GLU/Makefile
diff -u src/x11/lib/GLU/Makefile:1.8 src/x11/lib/GLU/Makefile:1.9
--- src/x11/lib/GLU/Makefile:1.8	Wed Jul 20 23:36:29 2011
+++ src/x11/lib/GLU/Makefile	Fri May 24 13:44:27 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2011/07/21 03:36:29 mrg Exp $
+#	$NetBSD: Makefile,v 1.9 2013/05/24 17:44:27 christos Exp $
 
 NOLINT=		1	# XTODO: tess.ln SIGSEGVs lint :(
 
@@ -74,3 +74,8 @@ DPADD+=		${LIBSTDCXX} ${LIBM}
 # XXX -Wno-deprecated doesn't work?
 CXXFLAGS+=	-Wno-error
 .endif
+
+.if ${MACHINE_ARCH} == "m68000" || ${MACHINE_ARCH} == "m68k"
+COPTS.sampleCompTop.cc+=-O0
+.endif
+



CVS commit: src/external/mit/xorg/lib/libGLU

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 17:18:12 UTC 2013

Modified Files:
src/external/mit/xorg/lib/libGLU: Makefile

Log Message:
workaround for internal compiler error


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/mit/xorg/lib/libGLU/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libGLU/Makefile
diff -u src/external/mit/xorg/lib/libGLU/Makefile:1.10 src/external/mit/xorg/lib/libGLU/Makefile:1.11
--- src/external/mit/xorg/lib/libGLU/Makefile:1.10	Thu Aug 11 19:15:38 2011
+++ src/external/mit/xorg/lib/libGLU/Makefile	Fri May 24 13:18:12 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2011/08/11 23:15:38 joerg Exp $
+#	$NetBSD: Makefile,v 1.11 2013/05/24 17:18:12 christos Exp $
 
 NOLINT=		1	# XTODO: tess.ln SIGSEGVs lint :(
 
@@ -97,4 +97,8 @@ COPTS.sorter.cc+=	-Wno-error
 COPTS.tobezier.cc+=	-Wno-error
 .endif
 
+.if ${MACHINE_ARCH} == "m68000" || ${MACHINE_ARCH} == "m68k"
+COPTS.sampleCompTop.cc+=	-O0
+.endif
+
 CWARNFLAGS.clang+=	-Wno-parentheses



CVS commit: src/usr.sbin/rtsold

2013-05-24 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri May 24 16:38:46 UTC 2013

Modified Files:
src/usr.sbin/rtsold: rtsold.8

Log Message:
Correct a phrase. From jmc@openbsd.

Already fixed once by mbalmer and unfixed by me. Oops.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/usr.sbin/rtsold/rtsold.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/rtsold/rtsold.8
diff -u src/usr.sbin/rtsold/rtsold.8:1.31 src/usr.sbin/rtsold/rtsold.8:1.32
--- src/usr.sbin/rtsold/rtsold.8:1.31	Fri May 24 13:45:46 2013
+++ src/usr.sbin/rtsold/rtsold.8	Fri May 24 16:38:46 2013
@@ -1,4 +1,4 @@
-.\"	$NetBSD: rtsold.8,v 1.31 2013/05/24 13:45:46 wiz Exp $
+.\"	$NetBSD: rtsold.8,v 1.32 2013/05/24 16:38:46 wiz Exp $
 .\"	$KAME: rtsold.8,v 1.17 2001/07/09 22:30:37 itojun Exp $
 .\"
 .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -102,7 +102,7 @@ option is specified and the
 daemon cannot get the interface status.
 This feature does not conform to the IPv6 neighbor discovery
 specification, but is provided for mobile stations.
-The default interval for router advertisements, which is on the order of 10
+The default interval for router advertisements, which is in the order of 10
 minutes, is slightly long for mobile stations.
 This feature is provided
 for such stations so that they can find new routers as soon as possible



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 16:37:33 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
and m68000 == m68k


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.16 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.17
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.16	Mon Jan 14 11:00:49 2013
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Fri May 24 12:37:32 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.16 2013/01/14 16:00:49 pooka Exp $
+#	$NetBSD: Makefile,v 1.17 2013/05/24 16:37:32 christos Exp $
 
 LIBISPRIVATE=	yes
 
@@ -321,7 +321,7 @@ i386.d i386.o: tm-constrs.h
 
 CFLAGS+=	-Wno-stack-protector
 
-.if ${MACHINE_ARCH} == "m68000"
+.if ${MACHINE_ARCH} == "m68000" || ${MACHINE_ARCH} == "m68k"
 COPTS.lambda-code.c=		-O0
 COPTS.tree-loop-linear.c=	-O0
 .endif



CVS commit: src/sys/arch/x68k/stand/libdos

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 16:04:37 UTC 2013

Modified Files:
src/sys/arch/x68k/stand/libdos: Makefile

Log Message:
Add missing functions needed by loadbsd.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x68k/stand/libdos/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x68k/stand/libdos/Makefile
diff -u src/sys/arch/x68k/stand/libdos/Makefile:1.11 src/sys/arch/x68k/stand/libdos/Makefile:1.12
--- src/sys/arch/x68k/stand/libdos/Makefile:1.11	Fri May 24 11:35:36 2013
+++ src/sys/arch/x68k/stand/libdos/Makefile	Fri May 24 12:04:37 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2013/05/24 15:35:36 christos Exp $
+#	$NetBSD: Makefile,v 1.12 2013/05/24 16:04:37 christos Exp $
 
 LIB=	dos
 
@@ -42,7 +42,8 @@ ASM=	exit.S getchar.S putchar.S .Sminp.S
 	s_mal.Sc0.S s_mfree.S s_p.Scess.S retshell.S ctla.Srt.S erra.Srt.S \
 	diskred.S diskred2.S diskwrt.S diskwrt2.S in.Ssflg.S super_jsr.S \
 	memcpy.S.Spen_pr.S kill_pr.S get_pr.S suspend_pr.S sleep_pr.S \
-	send_pr.S time_pr.S change_pr.S
+	send_pr.S time_pr.S change_pr.S bus_err.S open.S malloc.S close.S \
+	fflush_set.S
 
 SRCS+=	${ASM}
 



CVS commit: src/sys/arch/x68k/stand/libiocs

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 16:00:17 UTC 2013

Modified Files:
src/sys/arch/x68k/stand/libiocs: Makefile

Log Message:
fix more of the same kind of shortcut rule lossage


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x68k/stand/libiocs/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x68k/stand/libiocs/Makefile
diff -u src/sys/arch/x68k/stand/libiocs/Makefile:1.10 src/sys/arch/x68k/stand/libiocs/Makefile:1.11
--- src/sys/arch/x68k/stand/libiocs/Makefile:1.10	Mon Jan 12 02:56:31 2009
+++ src/sys/arch/x68k/stand/libiocs/Makefile	Fri May 24 12:00:16 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2009/01/12 07:56:31 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.11 2013/05/24 16:00:16 christos Exp $
 
 LIB=	iocs
 
@@ -10,55 +10,56 @@ NOPIC=# defined
 
 CPPFLAGS+=	-I.
 
-ASM=	b_keyinp.o b_keysns.o b_sftsns.o bitsns.o skeyset.o tvctrl.o \
-	ledmod.o tgusemd.o defchr.o crtmod.o contrast.o hsvtorgb.o tpalet.o \
-	tpalet2.o tcolor.o fntget.o textget.o textput.o clipput.o scroll.o \
-	b_curon.o b_curoff.o b_putc.o b_print.o b_color.o b_locate.o \
-	b_down_s.o b_up_s.o b_up.o b_down.o b_right.o b_left.o b_clr_ed.o \
-	b_clr_st.o b_clr_al.o b_era_ed.o b_era_st.o b_era_al.o b_ins.o \
-	b_del.o b_consol.o b_putmes.o set232c.o lof232c.o inp232c.o \
-	isns232c.o osns232c.o out232c.o joyget.o init_prn.o snsprn.o \
-	outlpt.o outprn.o b_seek.o b_verify.o b_readdi.o b_dskini.o \
-	b_drvsns.o b_write.o b_read.o b_recali.o b_assign.o b_writed.o \
-	b_readid.o b_badfmt.o b_readdl.o b_format.o b_drvchk.o b_eject.o \
-	bindatebcd.o bindateset.o timebcd.o timeset.o bindateget.o datebin.o \
-	timeget.o timebin.o datecnv.o timecnv.o dateasc.o timeasc.o dayasc.o \
-	alarmmod.o alarmset.o alarmget.o adpcmout.o adpcminp.o adpcmaot.o \
-	adpcmain.o adpcmlot.o adpcmlin.o adpcmsns.o adpcmmod.o opmset.o \
-	opmsns.o opmintst.o timerdst.o vdispst.o crtcras.o hsyncst.o \
-	prnintst.o ms_init.o ms_curon.o ms_curof.o ms_stat.o ms_getdt.o \
-	ms_curgt.o ms_curst.o ms_limit.o ms_offtm.o ms_ontm.o ms_patst.o \
-	ms_sel.o ms_sel2.o skey_mod.o densns.o ontime.o b_intvcs.o b_super.o \
-	b_bpeek.o b_wpeek.o b_lpeek.o b_memstr.o b_bpoke.o b_wpoke.o \
-	b_lpoke.o b_memset.o dmamove.o dmamov_a.o dmamov_l.o dmamode.o \
-	bootinf.o romver.o g_clr_on.o gpalet.o sftjis.o jissft.o akconv.o \
-	rmacnv.o dakjob.o hanjob.o mpu_stat.o cache_st.o cache_md.o \
-	b_curmod.o b_curpat.o b_curpat1.o b_curdef.o b_scroll.o os_curon.o \
-	os_curof.o drawmode.o apage.o vpage.o home.o window.o wipe.o pset.o \
-	point.o line.o box.o fill.o circle.o paint.o symbol.o getgrm.o \
-	putgrm.o sp_init.o sp_on.o sp_off.o sp_cgclr.o sp_defcg.o sp_gtpcg.o \
-	sp_regst.o sp_reggt.o bgscrlst.o bgscrlgt.o bgctrlst.o bgctrlgt.o \
-	bgtextcl.o bgtextst.o bgtextgt.o spalet.o txxline.o txyline.o \
-	txline.o txbox.o txfill.o txrev.o txrascpy.o abortrst.o iplerr.o \
-	abortjob.o trap15.o
+ASM=	b_keyinp.S b_keysns.S b_sftsns.S bitsns.S skeyset.S tvctrl.S \
+	ledmod.S tgusemd.S defchr.S crtmod.S contrast.S hsvtorgb.S tpalet.S \
+	tpalet2.S tcolor.S fntget.S textget.S textput.S clipput.S scroll.S \
+	b_curon.S b_curoff.S b_putc.S b_print.S b_color.S b_locate.S \
+	b_down_s.S b_up_s.S b_up.S b_down.S b_right.S b_left.S b_clr_ed.S \
+	b_clr_st.S b_clr_al.S b_era_ed.S b_era_st.S b_era_al.S b_ins.S \
+	b_del.S b_consol.S b_putmes.S set232c.S lof232c.S inp232c.S \
+	isns232c.S osns232c.S out232c.S joyget.S init_prn.S snsprn.S \
+	outlpt.S outprn.S b_seek.S b_verify.S b_readdi.S b_dskini.S \
+	b_drvsns.S b_write.S b_read.S b_recali.S b_assign.S b_writed.S \
+	b_readid.S b_badfmt.S b_readdl.S b_format.S b_drvchk.S b_eject.S \
+	bindatebcd.S bindateset.S timebcd.S timeset.S bindateget.S datebin.S \
+	timeget.S timebin.S datecnv.S timecnv.S dateasc.S timeasc.S dayasc.S \
+	alarmmod.S alarmset.S alarmget.S adpcmout.S adpcminp.S adpcmaot.S \
+	adpcmain.S adpcmlot.S adpcmlin.S adpcmsns.S adpcmmod.S opmset.S \
+	opmsns.S opmintst.S timerdst.S vdispst.S crtcras.S hsyncst.S \
+	prnintst.S ms_init.S ms_curon.S ms_curof.S ms_stat.S ms_getdt.S \
+	ms_curgt.S ms_curst.S ms_limit.S ms_offtm.S ms_ontm.S ms_patst.S \
+	ms_sel.S ms_sel2.S skey_mod.S densns.S ontime.S b_intvcs.S b_super.S \
+	b_bpeek.S b_wpeek.S b_lpeek.S b_memstr.S b_bpoke.S b_wpoke.S \
+	b_lpoke.S b_memset.S dmamove.S dmamov_a.S dmamov_l.S dmamode.S \
+	bootinf.S romver.S g_clr_on.S gpalet.S sftjis.S jissft.S akconv.S \
+	rmacnv.S dakjob.S hanjob.S mpu_stat.S cache_st.S cache_md.S \
+	b_curmod.S b_curpat.S b_curpat1.S b_curdef.S b_scroll.S os_curon.S \
+	os_curof.S drawmode.S apage.S vpage.S home.S window.S wipe.S pset.S \
+	point.S line.S box.S fill.S circle.S paint.S symbol.S getgrm.S \
+	putgrm.S sp_init.S sp_on.S sp_off.S sp_cgclr.S sp_defcg.S sp_gtpcg.S \
+	sp_regst.S sp_reggt.S bgscrlst.S bgscrlgt.S bgctrlst.S bgctrlgt.S \
+	bgtextcl.S bgtextst.S bgtextgt.S spa

CVS commit: src/sys/arch/x68k/stand/boot

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 15:59:57 UTC 2013

Modified Files:
src/sys/arch/x68k/stand/boot: boot.ldscript

Log Message:
discard debug sections that are not representable in the a.out object format.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/boot/boot.ldscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x68k/stand/boot/boot.ldscript
diff -u src/sys/arch/x68k/stand/boot/boot.ldscript:1.3 src/sys/arch/x68k/stand/boot/boot.ldscript:1.4
--- src/sys/arch/x68k/stand/boot/boot.ldscript:1.3	Tue Mar 20 08:37:34 2012
+++ src/sys/arch/x68k/stand/boot/boot.ldscript	Fri May 24 11:59:57 2013
@@ -47,5 +47,20 @@ SECTIONS
end = ALIGN(4) ;
_end = ALIGN(4) ;
   }
-  /DISCARD/ : { *(.ident) *(.stab) *(.stabstr) *(.comment) }
+  /DISCARD/ : {
+  *(.ident)
+  *(.stab)
+  *(.stabstr)
+  *(.comment)
+  *(.debug_abbrev)
+  *(.debug_info)
+  *(.debug_line)
+  *(.debug_loc)
+  *(.debug_pubnames)
+  *(.debug_pubtypes)
+  *(.debug_aranges)
+  *(.debug_ranges)
+  *(.debug_str)
+  *(.debug_frame)
+  }
 }



CVS commit: src/sys/arch/x68k/stand/libdos

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 15:35:36 UTC 2013

Modified Files:
src/sys/arch/x68k/stand/libdos: Makefile

Log Message:
fix progress printing.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x68k/stand/libdos/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x68k/stand/libdos/Makefile
diff -u src/sys/arch/x68k/stand/libdos/Makefile:1.10 src/sys/arch/x68k/stand/libdos/Makefile:1.11
--- src/sys/arch/x68k/stand/libdos/Makefile:1.10	Fri May 24 11:34:59 2013
+++ src/sys/arch/x68k/stand/libdos/Makefile	Fri May 24 11:35:36 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2013/05/24 15:34:59 christos Exp $
+#	$NetBSD: Makefile,v 1.11 2013/05/24 15:35:36 christos Exp $
 
 LIB=	dos
 
@@ -49,7 +49,7 @@ SRCS+=	${ASM}
 MAKECALL=${.CURDIR}/makedoscalls.awk
 
 ${ASM}: ${.CURDIR}/dos.h ${MAKECALL}
-	${_MKTARGET_COMPILE}
+	${_MKTARGET_CREATE}
 	@grep -i 'DOS_${.PREFIX} ' ${.CURDIR}/dos.h | \
 	${TOOL_AWK} -f ${MAKECALL} | ${CPP} ${CPPFLAGS} > ${.TARGET}
 



CVS commit: src/sys/arch/x68k/stand/libdos

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 15:34:59 UTC 2013

Modified Files:
src/sys/arch/x68k/stand/libdos: Makefile

Log Message:
Don't play tricks trying to shortcut source rules because it breaks MKDEBUGLIB.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x68k/stand/libdos/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x68k/stand/libdos/Makefile
diff -u src/sys/arch/x68k/stand/libdos/Makefile:1.9 src/sys/arch/x68k/stand/libdos/Makefile:1.10
--- src/sys/arch/x68k/stand/libdos/Makefile:1.9	Mon Jan 12 02:56:31 2009
+++ src/sys/arch/x68k/stand/libdos/Makefile	Fri May 24 11:34:59 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2009/01/12 07:56:31 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.10 2013/05/24 15:34:59 christos Exp $
 
 LIB=	dos
 
@@ -14,48 +14,49 @@ SRCS=	dos_rename.S
 SRCS+=	dos_cerror.S dos_procerr.S dos_errno.c dos_strerror.S
 CLEANFILES+=	dos_strerror.S
 
-ASM=	exit.o getchar.o putchar.o cominp.o comout.o prnout.o inpout.o \
-	inkey.o getc.o print.o gets.o keysns.o kflushgp.o kflushio.o \
-	kflushin.o kflushgc.o kflushgs.o fflush.o chgdrv.o drvctrl.o \
-	consns.o prnsns.o cinsns.o coutsns.o fatchk.o fatchk2.o hendspmo.o \
-	hendspmp.o hendspmr.o hendspmc.o hendspio.o hendspip.o hendspir.o \
-	hendspic.o hendspso.o hendspsp.o hendspsr.o hendspsc.o curdrv.o \
-	getss.o fgetc.o fgets.o fputc.o fputs.o allclose.o super.o fnckeygt.o \
-	fnckeyst.o c_putc.o c_print.o c_color.o c_locate.o c_down_s.o \
-	c_up_s.o c_up.o c_down.o c_right.o c_left.o c_cls_ed.o c_cls_st.o \
-	c_cls_al.o c_era_ed.o c_era_st.o c_era_al.o c_ins.o c_del.o \
-	c_fnkmod.o c_window.o c_width.o c_curon.o c_curoff.o k_keyinp.o \
-	k_keysns.o k_sftsns.o k_keybit.o k_insmod.o intvcs.o pspset.o \
-	gettim2.o settim2.o namests.o getdate.o setdate.o gettime.o settime.o \
-	verify.o dup0.o vernum.o keeppr.o getdpb.o breakck.o drvxchg.o \
-	intvcg.o dskfre.o nameck.o mkdir.o rmdir.o chdir.o create.o open.o \
-	close.o read.o write.o delete.o seek.o chmod.o ioctrlgt.o ioctrlst.o \
-	ioctrlrh.o ioctrlwh.o ioctrlrd.o ioctrlwd.o ioctrlis.o ioctrlos.o \
-	ioctrldvgt.o ioctrlfdgt.o ioctrlrtset.o ioctrldvctl.o ioctrlfdctl.o \
-	dup.o dup2.o curdir.o malloc.o mfree.o setblock.o loadexec.o load.o \
-	pathchk.o loadonly.o execonly.o bindno.o exec2.o exit2.o wait.o \
-	files.o exfiles.o nfiles.o exnfiles.o setpdb.o getpdb.o setenv.o \
-	getenv.o verifyg.o common_ck.o common_rd.o common_wt.o common_lk.o \
-	common_fre.o common_del.o move.o filedate.o malloc2.o malloc0.o \
-	maketmp.o newfile.o lock.o unlock.o getassign.o makeassign.o \
-	rassign.o fflush_set.o os_patch.o get_fcb_adr.o s_malloc.o \
-	s_malloc0.o s_mfree.o s_process.o retshell.o ctlabort.o errabort.o \
-	diskred.o diskred2.o diskwrt.o diskwrt2.o indosflg.o super_jsr.o \
-	memcpy.o open_pr.o kill_pr.o get_pr.o suspend_pr.o sleep_pr.o \
-	send_pr.o time_pr.o change_pr.o
+ASM=	exit.S getchar.S putchar.S .Sminp.S .S.Sut.S pr.Sut.S in.Sut.S \
+	inkey.S getc.S print.S gets.S keysns.S kflushgp.S kflush.S.S \
+	kflushin.S kflushgc.S kflushgs.S fflush.S chgdrv.S drvctrl.S \
+	.Snsns.S prnsns.S cinsns.S .Sutsns.S fatchk.S fatchk2.S hendsp.S.S \
+	hendspmp.S hendspmr.S hendspmc.S hendsp.S.S hendspip.S hendspir.S \
+	hendspic.S hendsp.S.S hendspsp.S hendspsr.S hendspsc.S curdrv.S \
+	getss.S fgetc.S fgets.S fputc.S fputs.S allc.Sse.S super.S fnckeygt.S \
+	fnckeyst.S c_putc.S c_print.S c_.S.Sr.S c_.Scate.S c_.Swn_s.S \
+	c_up_s.S c_up.S c_.Swn.S c_right.S c_left.S c_cls_ed.S c_cls_st.S \
+	c_cls_al.S c_era_ed.S c_era_st.S c_era_al.S c_ins.S c_del.S \
+	c_fnk.Sd.S c_win.Sw.S c_width.S c_cu.Sn.S c_cu.Sff.S k_keyinp.S \
+	k_keysns.S k_sftsns.S k_keybit.S k_ins.Sd.S intvcs.S pspset.S \
+	gettim2.S settim2.S namests.S getdate.S setdate.S gettime.S settime.S \
+	verify.S dup0.S vernum.S keeppr.S getdpb.S breakck.S drvxchg.S \
+	intvcg.S dskfre.S nameck.S mkdir.S rmdir.S chdir.S create.S.Spen.S \
+	c.Sse.S read.S write.S delete.S seek.S ch.Sd.S .Sctrlgt.S .Sctrlst.S \
+	.Sctrlrh.S .Sctrlwh.S .Sctrlrd.S .Sctrlwd.S .Sctrlis.S .Sctr.Ss.S \
+	.Sctrldvgt.S .Sctrlfdgt.S .Sctrlrtset.S .Sctrldvctl.S .Sctrlfdctl.S \
+	dup.S dup2.S curdir.S mal.Sc.S mfree.S setb.Sck.S .Sadexec.S .Sad.S \
+	pathchk.S .Sa.Snly.S exe.Snly.S bind.S.S exec2.S exit2.S wait.S \
+	files.S exfiles.S nfiles.S exnfiles.S setpdb.S getpdb.S setenv.S \
+	getenv.S verifyg.S .Sm.Sn_ck.S .Sm.Sn_rd.S .Sm.Sn_wt.S .Sm.Sn_lk.S \
+	.Sm.Sn_fre.S .Sm.Sn_del.S .Sve.S filedate.S mal.Sc2.S mal.Sc0.S \
+	maketmp.S newfile.S .Sck.S un.Sck.S getassign.S makeassign.S \
+	rassign.S fflush_set.S.Ss_patch.S get_fcb_adr.S s_mal.Sc.S \
+	s_mal.Sc0.S s_mfree.S s_p.Scess.S retshell.S ctla.Srt.S erra.Srt.S \
+	diskred.S diskred2.S diskwrt.S diskwrt2.S in.Ssflg.S super_jsr.S \
+	memcpy.S.Spen_pr.S kill_pr.S get_pr.S suspend_pr.S sleep_pr.S \
+	send_pr.S time_pr.S change_pr.S
 
-OBJS+=	${ASM}
+SRCS

CVS commit: src/share/man/man9

2013-05-24 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri May 24 14:41:32 UTC 2013

Modified Files:
src/share/man/man9: ts2timo.9

Log Message:
Kill extra El macro.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man9/ts2timo.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/ts2timo.9
diff -u src/share/man/man9/ts2timo.9:1.2 src/share/man/man9/ts2timo.9:1.3
--- src/share/man/man9/ts2timo.9:1.2	Fri May 24 10:01:15 2013
+++ src/share/man/man9/ts2timo.9	Fri May 24 14:41:32 2013
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ts2timo.9,v 1.2 2013/05/24 10:01:15 wiz Exp $
+.\"	$NetBSD: ts2timo.9,v 1.3 2013/05/24 14:41:32 njoly Exp $
 .\"
 .\" Copyright (c) 2013 Christos Zoulas
 .\" All rights reserved.
@@ -75,7 +75,6 @@ if
 field in the computed interval is out of range, or the
 .Fa clock_id
 argument is invalid.
-.El
 .Sh SEE ALSO
 .Xr clock_gettime 2 ,
 .Xr clock_nanosleep 2



CVS commit: src/share/man/man4

2013-05-24 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri May 24 14:40:18 UTC 2013

Modified Files:
src/share/man/man4: route.4

Log Message:
Remove extra dot.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/share/man/man4/route.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/route.4
diff -u src/share/man/man4/route.4:1.21 src/share/man/man4/route.4:1.22
--- src/share/man/man4/route.4:1.21	Wed May 22 18:41:08 2013
+++ src/share/man/man4/route.4	Fri May 24 14:40:18 2013
@@ -1,4 +1,4 @@
-..\"	$NetBSD: route.4,v 1.21 2013/05/22 18:41:08 uwe Exp $
+.\"	$NetBSD: route.4,v 1.22 2013/05/24 14:40:18 njoly Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.



CVS commit: src/usr.sbin/rtsold

2013-05-24 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri May 24 13:45:46 UTC 2013

Modified Files:
src/usr.sbin/rtsold: rtsold.8

Log Message:
Update description for -a:
-a autoprobes multiple ifs, and does not exit with error.

Diff originally from Mark Johnston (markj@freebsd), via jmc@openbsd.

Bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/rtsold/rtsold.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/rtsold/rtsold.8
diff -u src/usr.sbin/rtsold/rtsold.8:1.30 src/usr.sbin/rtsold/rtsold.8:1.31
--- src/usr.sbin/rtsold/rtsold.8:1.30	Mon Jan 11 14:30:02 2010
+++ src/usr.sbin/rtsold/rtsold.8	Fri May 24 13:45:46 2013
@@ -1,4 +1,4 @@
-.\"	$NetBSD: rtsold.8,v 1.30 2010/01/11 14:30:02 wiz Exp $
+.\"	$NetBSD: rtsold.8,v 1.31 2013/05/24 13:45:46 wiz Exp $
 .\"	$KAME: rtsold.8,v 1.17 2001/07/09 22:30:37 itojun Exp $
 .\"
 .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -28,7 +28,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd January 11, 2010
+.Dd May 24, 2013
 .Dt RTSOLD 8
 .Os
 .\"
@@ -142,14 +142,10 @@ Advertisement packet has arrived on each
 .Ar interface ,
 then exit.
 .It Fl a
-Autoprobe outgoing interface.
+Autoprobe outgoing interfaces.
 .Nm
-will try to find a non-loopback, non-point-to-point, IPv6-capable interface.
-If
-.Nm
-finds multiple interfaces,
-.Nm
-will exit with an error.
+will try to find a non-loopback, non-point-to-point, IPv6-capable interfaces,
+and send router solicitation messages on all of them.
 .It Fl D
 Enable more debugging (than that offered by the
 .Fl d



CVS commit: src/lib/libm

2013-05-24 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri May 24 12:45:40 UTC 2013

Modified Files:
src/lib/libm: Makefile
src/lib/libm/arch/vax: n_scalbn.S

Log Message:
Fix POLYD/Mariah fallout and include the scalbn sources (which do not
use polyd).
Fix global names and weak aliases.


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/lib/libm/Makefile
cvs rdiff -u -r1.3 -r1.4 src/lib/libm/arch/vax/n_scalbn.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libm/Makefile
diff -u src/lib/libm/Makefile:1.137 src/lib/libm/Makefile:1.138
--- src/lib/libm/Makefile:1.137	Wed May  1 04:04:31 2013
+++ src/lib/libm/Makefile	Fri May 24 12:45:40 2013
@@ -1,4 +1,4 @@
-#  $NetBSD: Makefile,v 1.137 2013/05/01 04:04:31 matt Exp $
+#  $NetBSD: Makefile,v 1.138 2013/05/24 12:45:40 martin Exp $
 #
 #  @(#)Makefile 5.1beta 93/09/24
 #
@@ -122,7 +122,7 @@ ARCH_SRCS = e_acos.S e_asin.S e_atanh.S 
 #ARCH_SRCS = n_atan2.S n_cabs.S n_cbrt.S n_support.S n_sincos.S n_tan.S
 # XXX - ripped out due to lack of the insn polyd in the Mariah chip,
 # and emulation code isn't written yet.
-ARCHS_SRCS = n_scalbn.S
+ARCH_SRCS = n_scalbn.S
 WARNS?=5
 .endif
 
@@ -217,7 +217,7 @@ SRCS+= ${ARCH_ADDS}
 .if (${MACHINE_ARCH} == "vax") # XXX until POLYD is written.
 .PATH:	${.CURDIR}/arch/vax
 SRCS:=${SRCS} n_sqrt.S n_argred.S n_infnan.S n_atan2.S n_cabs.S n_cbrt.S \
-	n_support.S
+	n_support.S n_scalbn.S
 .endif
 
 .if (${MACHINE_ARCH} == "i386")

Index: src/lib/libm/arch/vax/n_scalbn.S
diff -u src/lib/libm/arch/vax/n_scalbn.S:1.3 src/lib/libm/arch/vax/n_scalbn.S:1.4
--- src/lib/libm/arch/vax/n_scalbn.S:1.3	Mon May 20 20:27:43 2013
+++ src/lib/libm/arch/vax/n_scalbn.S	Fri May 24 12:45:40 2013
@@ -30,19 +30,20 @@
 #include 
 #include 
 
-RCSID("$NetBSD: n_scalbn.S,v 1.3 2013/05/20 20:27:43 mlelstv Exp $")
+RCSID("$NetBSD: n_scalbn.S,v 1.4 2013/05/24 12:45:40 martin Exp $")
 
+WEAK_ALIAS(scalbn,_scalbn)
 WEAK_ALIAS(ldexp,_scalbn)
 WEAK_ALIAS(ldexpf,_scalbnf)
 WEAK_ALIAS(ldexpl,_scalbnl)
 
-ENTRY(scalbnf, 0)
+ENTRY(_scalbnf, 0)
 	cvtfd	4(%ap), %r0
 	movl	8(%ap), %r2
 	jr	1f
 
-ALTENTRY(scalbnl)
-ENTRY(scalbn, 0)
+ALTENTRY(_scalbnl)
+ENTRY(_scalbn, 0)
 	movd	4(%ap), %r0
 	movl	12(%ap), %r2
 



CVS commit: src/sys/dev/pci

2013-05-24 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri May 24 11:47:47 UTC 2013

Modified Files:
src/sys/dev/pci: if_bge.c

Log Message:
 On sparc64, the memory arbiter may be disabled by OF.
Move the HW config checking stuff to after bge_reset(). bge_reset()
initializes both byte order settings and the memory arbiter.

 The hwcfg stuff will be required in bge_reset() in future, so we should
rethink about hwconfig and bge_reset().


To generate a diff of this commit:
cvs rdiff -u -r1.247 -r1.248 src/sys/dev/pci/if_bge.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/if_bge.c
diff -u src/sys/dev/pci/if_bge.c:1.247 src/sys/dev/pci/if_bge.c:1.248
--- src/sys/dev/pci/if_bge.c:1.247	Fri May 24 02:35:28 2013
+++ src/sys/dev/pci/if_bge.c	Fri May 24 11:47:47 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_bge.c,v 1.247 2013/05/24 02:35:28 msaitoh Exp $	*/
+/*	$NetBSD: if_bge.c,v 1.248 2013/05/24 11:47:47 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.247 2013/05/24 02:35:28 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.248 2013/05/24 11:47:47 msaitoh Exp $");
 
 #include 
 #include 
@@ -3584,7 +3584,7 @@ bge_attach(device_t parent, device_t sel
 
 	sc->bge_asf_mode = 0;
 	/* No ASF if APE present. */
-	if (0 && (sc->bge_flags & BGE_APE) == 0) {
+	if ((sc->bge_flags & BGE_APE) == 0) {
 		if (bge_allow_asf && (bge_readmem_ind(sc, BGE_SRAM_DATA_SIG) ==
 			BGE_SRAM_DATA_SIG_MAGIC)) {
 			if (bge_readmem_ind(sc, BGE_SRAM_DATA_CFG) &
@@ -3597,11 +3597,19 @@ bge_attach(device_t parent, device_t sel
 		}
 	}
 
-	/* 5718 reset step 5, 57XX step 5b-5d */
-	/* Set swap options before using bge_readmem_ind() */
-	pci_conf_write(sc->sc_pc, sc->sc_pcitag, BGE_PCI_MISC_CTL,
-	BGE_PCIMISCCTL_INDIRECT_ACCESS | BGE_PCIMISCCTL_MASK_PCI_INTR |
-	BGE_HIF_SWAP_OPTIONS | BGE_PCIMISCCTL_PCISTATE_RW);
+	/*
+	 * Reset NVRAM before bge_reset(). It's required to acquire NVRAM
+	 * lock in bge_reset().
+	 */
+	CSR_WRITE_4(sc, BGE_EE_ADDR,
+	BGE_EEADDR_RESET | BGE_EEHALFCLK(BGE_HALFCLK_384SCL));
+	delay(1000);
+	BGE_SETBIT(sc, BGE_MISC_LOCAL_CTL, BGE_MLC_AUTO_EEPROM);
+
+	bge_stop_fw(sc);
+	bge_sig_pre_reset(sc, BGE_RESET_START);
+	if (bge_reset(sc))
+		aprint_error_dev(sc->bge_dev, "chip reset failed\n");
 
 	/*
 	 * Read the hardware config word in the first 32k of NIC internal
@@ -3609,7 +3617,7 @@ bge_attach(device_t parent, device_t sel
 	 * Note: on some BCM5700 cards, this value appears to be unset.
 	 */
 	hwcfg = hwcfg2 = hwcfg3 = hwcfg4 = 0;
-	if (0 && bge_readmem_ind(sc, BGE_SRAM_DATA_SIG) ==
+	if (bge_readmem_ind(sc, BGE_SRAM_DATA_SIG) ==
 	BGE_SRAM_DATA_SIG_MAGIC) {
 		uint32_t tmp;
 
@@ -3630,20 +3638,6 @@ bge_attach(device_t parent, device_t sel
 	aprint_normal_dev(sc->bge_dev, "HW config %08x, %08x, %08x, %08x\n",
 	hwcfg, hwcfg2, hwcfg3, hwcfg4);
 
-	/*
-	 * Reset NVRAM before bge_reset(). It's required to acquire NVRAM
-	 * lock in bge_reset().
-	 */
-	CSR_WRITE_4(sc, BGE_EE_ADDR,
-	BGE_EEADDR_RESET | BGE_EEHALFCLK(BGE_HALFCLK_384SCL));
-	delay(1000);
-	BGE_SETBIT(sc, BGE_MISC_LOCAL_CTL, BGE_MLC_AUTO_EEPROM);
-
-	bge_stop_fw(sc);
-	bge_sig_pre_reset(sc, BGE_RESET_START);
-	if (bge_reset(sc))
-		aprint_error_dev(sc->bge_dev, "chip reset failed\n");
-
 	bge_sig_legacy(sc, BGE_RESET_START);
 	bge_sig_post_reset(sc, BGE_RESET_START);
 



CVS commit: src/tests/lib/libm

2013-05-24 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri May 24 11:47:13 UTC 2013

Modified Files:
src/tests/lib/libm: t_scalbn.c

Log Message:
Backout previous - real fix for vax libm upcoming.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/tests/lib/libm/t_scalbn.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libm/t_scalbn.c
diff -u src/tests/lib/libm/t_scalbn.c:1.9 src/tests/lib/libm/t_scalbn.c:1.10
--- src/tests/lib/libm/t_scalbn.c:1.9	Thu May 23 20:45:47 2013
+++ src/tests/lib/libm/t_scalbn.c	Fri May 24 11:47:13 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: t_scalbn.c,v 1.9 2013/05/23 20:45:47 christos Exp $ */
+/* $NetBSD: t_scalbn.c,v 1.10 2013/05/24 11:47:13 martin Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include 
-__RCSID("$NetBSD: t_scalbn.c,v 1.9 2013/05/23 20:45:47 christos Exp $");
+__RCSID("$NetBSD: t_scalbn.c,v 1.10 2013/05/24 11:47:13 martin Exp $");
 
 #include 
 #include 
@@ -75,7 +75,6 @@ ATF_TC_HEAD(scalbn_val, tc)
 
 ATF_TC_BODY(scalbn_val, tc)
 {
-#ifndef __vax__
 	const struct testcase *tests = test_vals;
 	const size_t tcnt = __arraycount(test_vals);
 	size_t i;
@@ -90,7 +89,6 @@ ATF_TC_BODY(scalbn_val, tc)
 		"test %zu: return value %g instead of %g (difference %g)",
 		i, rv, tests[i].result, tests[i].result-rv);
 	}
-#endif
 }
 
 ATF_TC(scalbn_nan);



CVS commit: src/share/man/man9

2013-05-24 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri May 24 10:01:15 UTC 2013

Modified Files:
src/share/man/man9: ts2timo.9

Log Message:
Fix xrefs.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man9/ts2timo.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/ts2timo.9
diff -u src/share/man/man9/ts2timo.9:1.1 src/share/man/man9/ts2timo.9:1.2
--- src/share/man/man9/ts2timo.9:1.1	Wed May 22 16:01:44 2013
+++ src/share/man/man9/ts2timo.9	Fri May 24 10:01:15 2013
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ts2timo.9,v 1.1 2013/05/22 16:01:44 christos Exp $
+.\"	$NetBSD: ts2timo.9,v 1.2 2013/05/24 10:01:15 wiz Exp $
 .\"
 .\" Copyright (c) 2013 Christos Zoulas
 .\" All rights reserved.
@@ -77,8 +77,8 @@ field in the computed interval is out of
 argument is invalid.
 .El
 .Sh SEE ALSO
-.Xr clock_gettime 3 ,
-.Xr clock_nanosleep 3
+.Xr clock_gettime 2 ,
+.Xr clock_nanosleep 2
 .Sh HISTORY
 The
 .Nm



CVS commit: src/lib/libc/gen

2013-05-24 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri May 24 09:35:11 UTC 2013

Modified Files:
src/lib/libc/gen: realpath.3

Log Message:
More markup. Merge two error entries for the same error.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/libc/gen/realpath.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/gen/realpath.3
diff -u src/lib/libc/gen/realpath.3:1.17 src/lib/libc/gen/realpath.3:1.18
--- src/lib/libc/gen/realpath.3:1.17	Fri May 24 03:20:18 2013
+++ src/lib/libc/gen/realpath.3	Fri May 24 09:35:11 2013
@@ -1,4 +1,4 @@
-.\"	$NetBSD: realpath.3,v 1.17 2013/05/24 03:20:18 enami Exp $
+.\"	$NetBSD: realpath.3,v 1.18 2013/05/24 09:35:11 wiz Exp $
 .\"
 .\" Copyright (c) 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -118,13 +118,14 @@ argument is
 Too many symbolic links were encountered in translating the
 .Fa pathname .
 .It Bq Er ENAMETOOLONG
-The resulting absolute pathname exceeds MAXPATHLEN characters.
+The resulting absolute pathname exceeds
+.Dv MAXPATHLEN
+characters.
 .It Bq Er ENOENT
 The value of the
 .Fa pathname
-argument is an empty string.
-.It Bq Er ENOENT
-A symbolic link to an empty string is encountered.
+argument is an empty string;
+or a symbolic link to an empty string is encountered.
 .It Bq Er ENOTDIR
 A component of the path prefix is not a directory.
 .El



CVS commit: othersrc/external/bsd/bikeshed/dist/design

2013-05-24 Thread Thomas Klausner
Module Name:othersrc
Committed By:   wiz
Date:   Fri May 24 08:25:12 UTC 2013

Modified Files:
othersrc/external/bsd/bikeshed/dist/design: requirements.txt

Log Message:
typo.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
othersrc/external/bsd/bikeshed/dist/design/requirements.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: othersrc/external/bsd/bikeshed/dist/design/requirements.txt
diff -u othersrc/external/bsd/bikeshed/dist/design/requirements.txt:1.1 othersrc/external/bsd/bikeshed/dist/design/requirements.txt:1.2
--- othersrc/external/bsd/bikeshed/dist/design/requirements.txt:1.1	Fri May 24 00:41:31 2013
+++ othersrc/external/bsd/bikeshed/dist/design/requirements.txt	Fri May 24 08:25:11 2013
@@ -44,7 +44,7 @@ even many recent systems have felt the n
 protocols and network-level constructs.
 
 Easier collaboration with non-committers is an often-requested
-feature and a de facto property of distributed version contorl.
+feature and a de facto property of distributed version control.
 
 Unanswered questions:
 



CVS commit: othersrc/external/bsd/bikeshed/dist/doc

2013-05-24 Thread Thomas Klausner
Module Name:othersrc
Committed By:   wiz
Date:   Fri May 24 08:15:36 UTC 2013

Modified Files:
othersrc/external/bsd/bikeshed/dist/doc: bs.1

Log Message:
Slight improvements. No colour change (yet!).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 othersrc/external/bsd/bikeshed/dist/doc/bs.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: othersrc/external/bsd/bikeshed/dist/doc/bs.1
diff -u othersrc/external/bsd/bikeshed/dist/doc/bs.1:1.1 othersrc/external/bsd/bikeshed/dist/doc/bs.1:1.2
--- othersrc/external/bsd/bikeshed/dist/doc/bs.1:1.1	Fri May 24 00:40:25 2013
+++ othersrc/external/bsd/bikeshed/dist/doc/bs.1	Fri May 24 08:15:36 2013
@@ -1,3 +1,4 @@
+.\" $NetBSD: bs.1,v 1.2 2013/05/24 08:15:36 wiz Exp $
 .\"
 .\" Copyright (c) 2013 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -34,10 +35,10 @@
 .Nd full-tree version control system
 .Sh SYNOPSIS
 .Nm bs
-.Op Fl C Ar dir
 .Op Fl hqvy
-command
-.Op Ar args...
+.Op Fl C Ar dir
+.Cm command
+.Op Ar args ...
 .Sh DESCRIPTION
 This page is a placeholder.
 .Sh SEE ALSO