CVS commit: src/share/mk
Module Name:src Committed By: tsutsui Date: Sun Sep 11 04:59:54 UTC 2016 Modified Files: src/share/mk: bsd.own.mk Log Message: Switch NetBSD/x68k to Xorg server 1.18 by default. Build confirmed by build.sh -x release. To generate a diff of this commit: cvs rdiff -u -r1.954 -r1.955 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.954 src/share/mk/bsd.own.mk:1.955 --- src/share/mk/bsd.own.mk:1.954 Mon Sep 5 05:58:29 2016 +++ src/share/mk/bsd.own.mk Sun Sep 11 04:59:54 2016 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.954 2016/09/05 05:58:29 mrg Exp $ +# $NetBSD: bsd.own.mk,v 1.955 2016/09/11 04:59:54 tsutsui Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -1391,7 +1391,8 @@ X11SRCDIR.${_proto}proto?= ${X11SRCDIRM .endfor # During transition from xorg-server 1.10 to 1.18 -.if ${MACHINE} == "shark" +.if ${MACHINE} == "shark" || \ +${MACHINE} == "x68k" HAVE_XORG_SERVER_VER?=118 .else HAVE_XORG_SERVER_VER?=110
CVS commit: src/sbin/fsck_v7fs
Module Name:src Committed By: sevan Date: Sun Sep 11 04:19:52 UTC 2016 Modified Files: src/sbin/fsck_v7fs: fsck_v7fs.8 Log Message: Document author and the version fsck_v7fs appeared. Replace contraction. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sbin/fsck_v7fs/fsck_v7fs.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/fsck_v7fs/fsck_v7fs.8 diff -u src/sbin/fsck_v7fs/fsck_v7fs.8:1.2 src/sbin/fsck_v7fs/fsck_v7fs.8:1.3 --- src/sbin/fsck_v7fs/fsck_v7fs.8:1.2 Mon Jun 27 13:50:31 2011 +++ src/sbin/fsck_v7fs/fsck_v7fs.8 Sun Sep 11 04:19:52 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: fsck_v7fs.8,v 1.2 2011/06/27 13:50:31 wiz Exp $ +.\" $NetBSD: fsck_v7fs.8,v 1.3 2016/09/11 04:19:52 sevan Exp $ .\" .\" Copyright (c) 2011 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd April 29, 2011 +.Dd September 11, 2016 .Dt FSCK_V7FS 8 .Os .Sh NAME @@ -61,7 +61,7 @@ and .It Fl F Check file system inside a regular file. .It Fl n -Don't correct file system. +Do not correct file system. .It Fl o Options are specified with a .Fl o @@ -88,6 +88,15 @@ to assume yes as the answer to all opera .Xr fsck 8 , .Xr mount_v7fs 8 , .Xr newfs_v7fs 8 +.Sh HISTORY +A +.Nm +utility appeared in +.Nx 6.0 . +.Sh AUTHORS +.Nm +was written by +.An UCHIYAMA Yasushi Aq Mt u...@netbsd.org . .Sh BUGS .Nm is still under construction.
CVS commit: src/sbin/fsck_msdos
Module Name:src Committed By: sevan Date: Sun Sep 11 04:12:08 UTC 2016 Modified Files: src/sbin/fsck_msdos: fsck_msdos.8 Log Message: Document the version fsck_msdos first appeared. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sbin/fsck_msdos/fsck_msdos.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/fsck_msdos/fsck_msdos.8 diff -u src/sbin/fsck_msdos/fsck_msdos.8:1.17 src/sbin/fsck_msdos/fsck_msdos.8:1.18 --- src/sbin/fsck_msdos/fsck_msdos.8:1.17 Sun Apr 11 21:29:37 2010 +++ src/sbin/fsck_msdos/fsck_msdos.8 Sun Sep 11 04:12:08 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: fsck_msdos.8,v 1.17 2010/04/11 21:29:37 wiz Exp $ +.\" $NetBSD: fsck_msdos.8,v 1.18 2016/09/11 04:12:08 sevan Exp $ .\" .\" Copyright (C) 1995 Wolfgang Solfrank .\" Copyright (c) 1995 Martin Husemann @@ -24,7 +24,7 @@ .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" -.Dd April 11, 2010 +.Dd September 11, 2016 .Dt FSCK_MSDOS 8 .Os .Sh NAME @@ -109,6 +109,11 @@ to assume yes as the answer to all opera .Xr fsck 8 , .Xr fsck_ffs 8 , .Xr mount_msdos 8 +.Sh HISTORY +A +.Nm +utility appeared in +.Nx 1.2 . .Sh BUGS .Nm is still under construction.
CVS commit: src/sbin/fsck_ffs
Module Name:src Committed By: sevan Date: Sun Sep 11 04:07:38 UTC 2016 Modified Files: src/sbin/fsck_ffs: fsck_ffs.8 Log Message: Document the version fsck_ffs first appeared. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sbin/fsck_ffs/fsck_ffs.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/fsck_ffs/fsck_ffs.8 diff -u src/sbin/fsck_ffs/fsck_ffs.8:1.49 src/sbin/fsck_ffs/fsck_ffs.8:1.50 --- src/sbin/fsck_ffs/fsck_ffs.8:1.49 Tue Mar 6 10:30:20 2012 +++ src/sbin/fsck_ffs/fsck_ffs.8 Sun Sep 11 04:07:38 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: fsck_ffs.8,v 1.49 2012/03/06 10:30:20 wiz Exp $ +.\" $NetBSD: fsck_ffs.8,v 1.50 2016/09/11 04:07:38 sevan Exp $ .\" .\" Copyright (c) 1980, 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)fsck.8 8.3 (Berkeley) 11/29/94 .\" -.Dd March 6, 2012 +.Dd September 11, 2016 .Dt FSCK_FFS 8 .Os .Sh NAME @@ -375,3 +375,14 @@ are fully enumerated and explained in Ap .Xr newfs 8 , .Xr reboot 8 , .Xr scan_ffs 8 +.Sh HISTORY +A +.Nm fsck +utility appeared in +.Bx 4.0 . +It was renamed to +.Nm +in +.Nx 1.3 +with the introduction of a filesystem independent wrapper as +.Nm fsck .
CVS commit: xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k
Module Name:xsrc Committed By: tsutsui Date: Sun Sep 11 03:55:57 UTC 2016 Modified Files: xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k: x68k.h x68kInit.c x68kKbd.c x68kMouse.c Log Message: Pull more changes from Xnest to adapt X68k to Xorg server 1.18. - use QueueKeyboardEvents() and QueuePointerEvents() which are provided by dix/getevents.c, instead of raw mieqEnqueue() with uninitialized local InternalEvent - remove now actually unused local InternalEvent - explicitly call mieqFini() in DDX CloseInput() Confirmed working on XM6i, and "please commit" from mrg@. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68k.h \ xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kInit.c \ xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kKbd.c \ xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kMouse.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68k.h diff -u xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68k.h:1.2 xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68k.h:1.3 --- xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68k.h:1.2 Tue Aug 30 07:50:55 2016 +++ xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68k.h Sun Sep 11 03:55:57 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: x68k.h,v 1.2 2016/08/30 07:50:55 mrg Exp $ */ +/* $NetBSD: x68k.h,v 1.3 2016/09/11 03:55:57 tsutsui Exp $ */ /*- * Copyright (c) 1996 Yasushi Yamasaki * All rights reserved. @@ -150,9 +150,6 @@ Bool x68kGraphOpen(X68kScreenRec *); Bool x68kGraphInit(ScreenPtr, int, char *[]); void x68kGraphClose(X68kScreenRec *); -/* in x68kInit.c */ -extern InternalEvent *x68kEvents; - /* in x68kIo.c */ void x68kSigIOHandler(int); Index: xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kInit.c diff -u xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kInit.c:1.2 xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kInit.c:1.3 --- xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kInit.c:1.2 Tue Aug 30 07:50:55 2016 +++ xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kInit.c Sun Sep 11 03:55:57 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: x68kInit.c,v 1.2 2016/08/30 07:50:55 mrg Exp $ */ +/* $NetBSD: x68kInit.c,v 1.3 2016/09/11 03:55:57 tsutsui Exp $ */ /*- * Copyright (c) 1996 Yasushi Yamasaki * All rights reserved. @@ -77,8 +77,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "x68k.h" #include "mi.h" -InternalEvent *x68kEvents = NULL; - static int nscreens; void @@ -146,6 +144,7 @@ InitInput(int argc, char *argv[]) void CloseInput(void) { +mieqFini(); } /*- Index: xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kKbd.c diff -u xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kKbd.c:1.2 xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kKbd.c:1.3 --- xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kKbd.c:1.2 Tue Aug 30 07:50:55 2016 +++ xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kKbd.c Sun Sep 11 03:55:57 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: x68kKbd.c,v 1.2 2016/08/30 07:50:55 mrg Exp $ */ +/* $NetBSD: x68kKbd.c,v 1.3 2016/09/11 03:55:57 tsutsui Exp $ */ /*- * Copyright (c) 1996 Yasushi Yamasaki * All rights reserved. @@ -292,13 +292,10 @@ x68kKbdEnqueueEvent(DeviceIntPtr pDev, F { BYTE keycode; int type; -int i, nevents; type = ((fe->value == VKEY_UP) ? KeyRelease : KeyPress); keycode = (fe->id & 0x7f) + MIN_KEYCODE; -nevents = GetKeyboardEvents(x68kEvents, pDev, type, keycode); -for (i = 0; i < nevents; i++) - mieqEnqueue(pDev, [i]); +QueueKeyboardEvents(pDev, type, keycode); } /*- Index: xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kMouse.c diff -u xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kMouse.c:1.2 xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kMouse.c:1.3 --- xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kMouse.c:1.2 Tue Aug 30 07:50:55 2016 +++ xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kMouse.c Sun Sep 11 03:55:57 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: x68kMouse.c,v 1.2 2016/08/30 07:50:55 mrg Exp $ */ +/* $NetBSD: x68kMouse.c,v 1.3 2016/09/11 03:55:57 tsutsui Exp $ */ /*- * Copyright (c) 1996 Yasushi Yamasaki * All rights reserved. @@ -263,7 +263,7 @@ x68kMouseEnqueueEvent(DeviceIntPtr devic X68kMousePrivPtr pPriv; /* Private data for pointer */ int bmask; /* Temporary button mask */ int type, buttons, flag; -int i, nevents,
CVS commit: src/sbin/fsck_ext2fs
Module Name:src Committed By: sevan Date: Sun Sep 11 03:56:00 UTC 2016 Modified Files: src/sbin/fsck_ext2fs: fsck_ext2fs.8 Log Message: Document the author and the version fsck_ext2fs first appeared. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sbin/fsck_ext2fs/fsck_ext2fs.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/fsck_ext2fs/fsck_ext2fs.8 diff -u src/sbin/fsck_ext2fs/fsck_ext2fs.8:1.19 src/sbin/fsck_ext2fs/fsck_ext2fs.8:1.20 --- src/sbin/fsck_ext2fs/fsck_ext2fs.8:1.19 Sun Feb 21 13:26:45 2010 +++ src/sbin/fsck_ext2fs/fsck_ext2fs.8 Sun Sep 11 03:56:00 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: fsck_ext2fs.8,v 1.19 2010/02/21 13:26:45 wiz Exp $ +.\" $NetBSD: fsck_ext2fs.8,v 1.20 2016/09/11 03:56:00 sevan Exp $ .\" .\" Copyright (c) 1980, 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -51,7 +51,7 @@ .\" .\" @(#)fsck.8 8.3 (Berkeley) 11/29/94 .\" -.Dd October 9, 2008 +.Dd September 11, 2016 .Dt FSCK_EXT2FS 8 .Os .Sh NAME @@ -251,3 +251,12 @@ are fully enumerated and explained in Ap .Xr fsdb 8 , .Xr newfs 8 , .Xr reboot 8 +.Sh HISTORY +A +.Nm +utility appeared in +.Nx 1.3 . +.Sh AUTHORS +.Nm +was written by +.An Manuel Bouyer Aq Mt bou...@netbsd.org .
CVS commit: src/sbin/fsck
Module Name:src Committed By: sevan Date: Sun Sep 11 03:48:11 UTC 2016 Modified Files: src/sbin/fsck: fsck.8 Log Message: Document the version fsck first appeared. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sbin/fsck/fsck.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/fsck/fsck.8 diff -u src/sbin/fsck/fsck.8:1.38 src/sbin/fsck/fsck.8:1.39 --- src/sbin/fsck/fsck.8:1.38 Thu Apr 28 12:16:10 2011 +++ src/sbin/fsck/fsck.8 Sun Sep 11 03:48:11 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: fsck.8,v 1.38 2011/04/28 12:16:10 wiz Exp $ +.\" $NetBSD: fsck.8,v 1.39 2016/09/11 03:48:11 sevan Exp $ .\" .\" Copyright (c) 1996 Christos Zoulas. All rights reserved. .\" @@ -22,7 +22,7 @@ .\" (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 February 17, 2010 +.Dd September 11, 2016 .Dt FSCK 8 .Os .Sh NAME @@ -174,3 +174,13 @@ from the terminal). .Xr fsck_lfs 8 , .Xr fsck_msdos 8 , .Xr mount 8 +.Sh HISTORY +A +.Nm +utility appeared in +.Bx 4.0 . +It was reimplemented as a filesystem independent wrapper in +.Nx 1.3 . +The original filesystem specific utility became +.Xr fsck_ffs 8 +at this point.
CVS commit: src/sbin/fdisk
Module Name:src Committed By: sevan Date: Sun Sep 11 03:35:08 UTC 2016 Modified Files: src/sbin/fdisk: fdisk.8 Log Message: - Document the HISTORY of fdisk based on the original post to comp.unix.bsd by Julian Elischer [1] and the Mach 2.5 Installation notes [2]. I was unable to pin point the exact version of Mach the fdisk utility appeared as I didn't find documentation older than version 2.5 & no source code or repo history. fdisk utility appears as a separate utility[3] in v2.5. Due to this, I've avoided stating the exact version fdisk first appeared in Mach. - Make correction pointed by textproc/igor - Bump date [1] https://groups.google.com/forum/#!searchin/comp.unix.bsd/14-Dec-89$20Robert$20Baron$20(rvb)$20at$20Carnegie-Mellon$20University%7Csort:relevance/comp.unix.bsd/Hhi45vAHxDg [2] ftp://ftp.mcs.vuw.ac.nz/doc/misc/mach-i386-doc/i386_install.ps [3] ftp://ftp.mcs.vuw.ac.nz/doc/misc/mach-i386-doc/i386_manpages.ps To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sbin/fdisk/fdisk.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/fdisk/fdisk.8 diff -u src/sbin/fdisk/fdisk.8:1.85 src/sbin/fdisk/fdisk.8:1.86 --- src/sbin/fdisk/fdisk.8:1.85 Fri Apr 4 13:07:30 2014 +++ src/sbin/fdisk/fdisk.8 Sun Sep 11 03:35:08 2016 @@ -1,6 +1,6 @@ -.\" $NetBSD: fdisk.8,v 1.85 2014/04/04 13:07:30 wiz Exp $ +.\" $NetBSD: fdisk.8,v 1.86 2016/09/11 03:35:08 sevan Exp $ .\" -.Dd April 3, 2014 +.Dd September 11, 2016 .Dt FDISK 8 .Os .Sh NAME @@ -157,11 +157,11 @@ is specified and is not specified, then the offset is set to the alignment. If .Fl A -isn't specified, then the alignment of the first partition is inspected. +is not specified, then the alignment of the first partition is inspected. If it ends on a 2048 sector boundary, then the alignment is set to 2048, if the start is a power of 2 less than, or equal to 2048 then the offset is set to the start sector. -If the first partition isn't defined then the alignment and offset for disks +If the first partition is not defined then the alignment and offset for disks larger than 128GB is set to 2048 (1MB). In all other cases the alignment default to a cylinder and the offset to a track (both using the BIOS geometry). @@ -217,7 +217,7 @@ machines. Specify logical partition .Ar number to be printed or updated. -If the specified logical partition doesn't exist on updating partition data +If the specified logical partition does not exist on updating partition data an additional logical partition will be created. .It Fl F Indicate that @@ -367,7 +367,7 @@ If is specified for any partition .Nm will determine whether the installed boot code supports the bootselect code, -if it doesn't you will be asked whether you want to install the required +if it does not you will be asked whether you want to install the required boot code. To remove a .Em bootmenu @@ -652,6 +652,21 @@ partition using whole disk without promp .Xr installboot 8 , .Xr mbr 8 , .Xr mbrlabel 8 +.Sh HISTORY +A version of +.Nm +first appeared in the Mach Operating System. +It was subsequently ported to +.Bx 386 . +.Sh AUTHORS +.An -nosplit +.Nm +for Mach Operating System was written by +.An Robert Baron Aq Mt r...@cs.cmu.edu . +It was ported to +.Bx 386 +by +.An Julian Elischer Aq Mt jul...@tfs.com . .Sh BUGS The word .Sq partition
CVS commit: src/sbin/drvctl
Module Name:src Committed By: sevan Date: Sun Sep 11 02:59:11 UTC 2016 Modified Files: src/sbin/drvctl: drvctl.8 Log Message: Document the version drvctl appeard. Reword bad sentence. Remove space in License. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sbin/drvctl/drvctl.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/drvctl/drvctl.8 diff -u src/sbin/drvctl/drvctl.8:1.17 src/sbin/drvctl/drvctl.8:1.18 --- src/sbin/drvctl/drvctl.8:1.17 Sat Aug 8 07:52:52 2015 +++ src/sbin/drvctl/drvctl.8 Sun Sep 11 02:59:11 2016 @@ -1,7 +1,7 @@ -.\" $NetBSD: drvctl.8,v 1.17 2015/08/08 07:52:52 mrg Exp $ +.\" $NetBSD: drvctl.8,v 1.18 2016/09/11 02:59:11 sevan Exp $ .\" .\" Copyright (c) 2004 -.\" Matthias Drochner. All rights reserved. +.\" Matthias Drochner. All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd August 8, 2015 +.Dd September 11, 2016 .Dt DRVCTL 8 .Os .Sh NAME @@ -62,7 +62,7 @@ The .Nm program works with the .Xr drvctl 4 -pseudo-driver, and allows to rescan busses and to detach +pseudo-driver to allow the rescan of busses and to detach drivers from devices. .Pp The following options are available: @@ -161,6 +161,11 @@ attribute: .Xr proplib 3 , .Xr drvctl 4 , .Xr autoconf 9 +.Sh HISTORY +A +.Nm +utility appeard in +.Nx 4.0 . .Sh BUGS Currently, there is no good way to get information about locator lengths and default values (which is present at kernel configuration
CVS commit: src/sbin/dmesg
Module Name:src Committed By: sevan Date: Sun Sep 11 02:24:01 UTC 2016 Modified Files: src/sbin/dmesg: dmesg.8 Log Message: dmesg first appeared in 3BSD http://minnie.tuhs.org/cgi-bin/utree.pl?file=3BSD/usr/src/cmd/dmesg.c Bump date. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sbin/dmesg/dmesg.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/dmesg/dmesg.8 diff -u src/sbin/dmesg/dmesg.8:1.16 src/sbin/dmesg/dmesg.8:1.17 --- src/sbin/dmesg/dmesg.8:1.16 Fri Apr 30 16:11:03 2004 +++ src/sbin/dmesg/dmesg.8 Sun Sep 11 02:24:00 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: dmesg.8,v 1.16 2004/04/30 16:11:03 wiz Exp $ +.\" $NetBSD: dmesg.8,v 1.17 2016/09/11 02:24:00 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)dmesg.8 8.1 (Berkeley) 6/5/93 .\" -.Dd April 30, 2004 +.Dd September 11, 2016 .Dt DMESG 8 .Os .Sh NAME @@ -78,4 +78,4 @@ copy of dmesg at the time of last boot. The .Nm command appeared in -.Bx 4.0 . +.Bx 3.0 .
CVS commit: src/sbin/dmctl
Module Name:src Committed By: sevan Date: Sun Sep 11 02:18:52 UTC 2016 Modified Files: src/sbin/dmctl: dmctl.8 Log Message: Mention author in AUTHORS section. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sbin/dmctl/dmctl.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/dmctl/dmctl.8 diff -u src/sbin/dmctl/dmctl.8:1.3 src/sbin/dmctl/dmctl.8:1.4 --- src/sbin/dmctl/dmctl.8:1.3 Mon Feb 21 17:05:50 2011 +++ src/sbin/dmctl/dmctl.8 Sun Sep 11 02:18:52 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: dmctl.8,v 1.3 2011/02/21 17:05:50 njoly Exp $ +.\" $NetBSD: dmctl.8,v 1.4 2016/09/11 02:18:52 sevan Exp $ .\" .\" Copyright (c) 2004,2009 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -26,7 +26,7 @@ .\" 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 January 23, 2011 +.Dd September 11, 2016 .Dt DMCTL 8 .Os .Sh NAME @@ -59,9 +59,11 @@ It can send and receive information and .Sh HISTORY The .Nm +utility appeared in +.Nx 6.0 . +.Sh AUTHORS +.Nm was written and contributed to .Nx by -.An Adam Hamsik -and first appeared in -.Nx 6.0 . +.An Adam Hamsik .
CVS commit: src/sbin/disklabel
Module Name:src Committed By: sevan Date: Sun Sep 11 02:10:31 UTC 2016 Modified Files: src/sbin/disklabel: disklabel.8 Log Message: Remove ignored Pp macro, highlighted by mandoc -Tlint. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sbin/disklabel/disklabel.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/disklabel/disklabel.8 diff -u src/sbin/disklabel/disklabel.8:1.66 src/sbin/disklabel/disklabel.8:1.67 --- src/sbin/disklabel/disklabel.8:1.66 Sun Sep 11 01:48:00 2016 +++ src/sbin/disklabel/disklabel.8 Sun Sep 11 02:10:31 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: disklabel.8,v 1.66 2016/09/11 01:48:00 sevan Exp $ +.\" $NetBSD: disklabel.8,v 1.67 2016/09/11 02:10:31 sevan Exp $ .\" .\" Copyright (c) 1987, 1988, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -324,7 +324,6 @@ The utility appeared in .Bx 4.3 Tahoe . .Sh BUGS -.Pp The .Nm structure stored on disk cannot support partitions/disks greater than 2TB.
CVS commit: src/sbin/disklabel
Module Name:src Committed By: sevan Date: Sun Sep 11 01:59:10 UTC 2016 Modified Files: src/sbin/disklabel: disklabel.5 Log Message: Grammar fix suggested by textproc/igor. Syntax fix highlighted by mandoc -Tlint. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sbin/disklabel/disklabel.5 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/disklabel/disklabel.5 diff -u src/sbin/disklabel/disklabel.5:1.27 src/sbin/disklabel/disklabel.5:1.28 --- src/sbin/disklabel/disklabel.5:1.27 Sat Feb 25 01:55:00 2006 +++ src/sbin/disklabel/disklabel.5 Sun Sep 11 01:59:10 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: disklabel.5,v 1.27 2006/02/25 01:55:00 christos Exp $ +.\" $NetBSD: disklabel.5,v 1.28 2016/09/11 01:59:10 sevan Exp $ .\" .\" Copyright (c) 1987, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)disklabel.5.5 8.1 (Berkeley) 6/5/93 .\" -.Dd February 24, 2006 +.Dd September 11, 2016 .Dt DISKLABEL 5 .Os .Sh NAME @@ -136,7 +136,7 @@ struct disklabel { u_int32_t d_magic; /* the magic number */ u_int16_t d_type; /* drive type */ u_int16_t d_subtype; /* controller/d_type specific */ - char d_typename[16]; /* type name, e.g. "eagle" */ + char d_typename[16]; /* type name, e.g "eagle" */ /* * d_packname contains the pack identifier and is returned when @@ -404,8 +404,8 @@ struct partinfo { .Pp Disk specific ioctls are defined in .Pa sys/dkio.h . -.Pp .Bd -literal +.Pp /* * Disk-specific ioctls. */
CVS commit: src/sbin/clri
Module Name:src Committed By: sevan Date: Sun Sep 11 01:31:39 UTC 2016 Modified Files: src/sbin/clri: clri.8 Log Message: Document the version clri first appeared. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sbin/clri/clri.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/clri/clri.8 diff -u src/sbin/clri/clri.8:1.7 src/sbin/clri/clri.8:1.8 --- src/sbin/clri/clri.8:1.7 Thu Aug 7 10:04:12 2003 +++ src/sbin/clri/clri.8 Sun Sep 11 01:31:39 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: clri.8,v 1.7 2003/08/07 10:04:12 agc Exp $ +.\" $NetBSD: clri.8,v 1.8 2016/09/11 01:31:39 sevan Exp $ .\" .\" Copyright (c) 1980, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)clri.8 8.2 (Berkeley) 4/19/94 .\" -.Dd April 19, 1994 +.Dd September 11, 2016 .Dt CLRI 8 .Os .Sh NAME @@ -69,6 +69,11 @@ will be able to clean up the resulting m .Sh SEE ALSO .Xr fsck 8 , .Xr fsdb 8 +.Sh HISTORY +The +.Nm +utility first appeared in +.Bx 3 . .Sh BUGS If the file is open, the work of .Nm
CVS commit: src/sbin/chown
Module Name:src Committed By: sevan Date: Sun Sep 11 01:23:26 UTC 2016 Modified Files: src/sbin/chown: chown.8 Log Message: Document the version chown first appeared. Replace contractions highlighted by textproc/igor. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sbin/chown/chown.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/chown/chown.8 diff -u src/sbin/chown/chown.8:1.9 src/sbin/chown/chown.8:1.10 --- src/sbin/chown/chown.8:1.9 Tue Jul 12 10:56:01 2016 +++ src/sbin/chown/chown.8 Sun Sep 11 01:23:26 2016 @@ -26,9 +26,9 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)chown.8 8.3 (Berkeley) 3/31/94 -.\" $NetBSD: chown.8,v 1.9 2016/07/12 10:56:01 wiz Exp $ +.\" $NetBSD: chown.8,v 1.10 2016/09/11 01:23:26 sevan Exp $ .\" -.Dd July 12, 2016 +.Dd September 11, 2016 .Dt CHOWN 8 .Os .Sh NAME @@ -85,7 +85,7 @@ option is specified, no symbolic links a Change the user ID and/or the group ID for the file hierarchies rooted in the files instead of just the files themselves. .It Fl f -Don't report any failure to change file owner or group, nor modify +Do not report any failure to change file owner or group, nor modify the exit status to reflect such failures. .It Fl h If @@ -138,7 +138,7 @@ The .Ar group may be either a group name or a numeric group ID. Since it is valid to have a user or group name that is numeric (and -doesn't have the numeric ID that matches its name) the name lookup +does not have the numeric ID that matches its name) the name lookup is always done first. Preceding an ID with a ``#'' character will force it to be taken as a number. @@ -169,6 +169,11 @@ group names may contain the dot characte .Xr lchown 2 , .Xr fts 3 , .Xr symlink 7 +.Sh HISTORY +A +.Nm +utility appeared in +.At v1 . .Sh STANDARDS The .Nm
CVS commit: src/sbin/cgdconfig
Module Name:src Committed By: sevan Date: Sun Sep 11 01:09:34 UTC 2016 Modified Files: src/sbin/cgdconfig: cgdconfig.8 Log Message: Spelling mistake. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sbin/cgdconfig/cgdconfig.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/cgdconfig/cgdconfig.8 diff -u src/sbin/cgdconfig/cgdconfig.8:1.35 src/sbin/cgdconfig/cgdconfig.8:1.36 --- src/sbin/cgdconfig/cgdconfig.8:1.35 Sun Dec 14 17:15:14 2014 +++ src/sbin/cgdconfig/cgdconfig.8 Sun Sep 11 01:09:34 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: cgdconfig.8,v 1.35 2014/12/14 17:15:14 wiz Exp $ +.\" $NetBSD: cgdconfig.8,v 1.36 2016/09/11 01:09:34 sevan Exp $ .\" .\" Copyright (c) 2002, The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd December 14, 2014 +.Dd September 11, 2016 .Dt CGDCONFIG 8 .Os .Sh NAME @@ -425,7 +425,7 @@ should be used in the disklabel for the .Sh DIAGNOSTICS .Bl -diag .It "cgdconfig: could not calibrate pkcs5_pbkdf2" -An error greater than 5% in calibration occured. +An error greater than 5% in calibration occurred. This could be the result of dynamic processor frequency scaling technology. Ensure that the processor clock frequency remains static throughout the program's execution.
CVS commit: src/sbin/bioctl
Module Name:src Committed By: sevan Date: Sun Sep 11 01:03:15 UTC 2016 Modified Files: src/sbin/bioctl: bioctl.8 Log Message: Note which version it appeared in before the rewrite. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sbin/bioctl/bioctl.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/bioctl/bioctl.8 diff -u src/sbin/bioctl/bioctl.8:1.21 src/sbin/bioctl/bioctl.8:1.22 --- src/sbin/bioctl/bioctl.8:1.21 Tue Sep 30 08:20:29 2014 +++ src/sbin/bioctl/bioctl.8 Sun Sep 11 01:03:15 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: bioctl.8,v 1.21 2014/09/30 08:20:29 wiz Exp $ +.\" $NetBSD: bioctl.8,v 1.22 2016/09/11 01:03:15 sevan Exp $ .\" $OpenBSD: bioctl.8,v 1.43 2007/03/20 06:12:11 jmc Exp $ .\" .\" Copyright (c) 2007, 2008 Juan Romero Pardines @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd March 16, 2008 +.Dd September 11, 2016 .Dt BIOCTL 8 .Os .Sh NAME @@ -154,9 +154,11 @@ To remove the volume 0 previously create .Sh HISTORY The .Nm -command first appeared in +command appeared in .Ox 3.8 , -it was rewritten for +it first appeared in +.Nx 4.0 +and was rewritten for .Nx 5.0 . .Sh AUTHORS The
CVS commit: src/sbin/amrctl
Module Name:src Committed By: sevan Date: Sun Sep 11 00:52:39 UTC 2016 Modified Files: src/sbin/amrctl: amrctl.8 Log Message: Spelling mistake. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sbin/amrctl/amrctl.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/amrctl/amrctl.8 diff -u src/sbin/amrctl/amrctl.8:1.3 src/sbin/amrctl/amrctl.8:1.4 --- src/sbin/amrctl/amrctl.8:1.3 Mon Oct 19 18:41:07 2009 +++ src/sbin/amrctl/amrctl.8 Sun Sep 11 00:52:39 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: amrctl.8,v 1.3 2009/10/19 18:41:07 bouyer Exp $ +.\" $NetBSD: amrctl.8,v 1.4 2016/09/11 00:52:39 sevan Exp $ .\" .\" Copyright (c) 2006 Manuel Bouyer. .\" @@ -22,7 +22,7 @@ .\" (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 July 22, 2006 +.Dd September 11, 2016 .Dt AMRCTL 8 .Os .Sh NAME @@ -64,7 +64,7 @@ Device to use. Default to .Pa /dev/amr0 . .It Fl g -Report global paramters for the controller. +Report global parameters for the controller. .It Fl l Ar volno Report status of a logical drive. .It Fl p Ar driveno
CVS commit: src/sys/dev/usb
Module Name:src Committed By: jakllsch Date: Sat Sep 10 15:46:36 UTC 2016 Modified Files: src/sys/dev/usb: usbdevices.config Log Message: Make usscanner(4) useful by also attaching its children. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/dev/usb/usbdevices.config 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/usb/usbdevices.config diff -u src/sys/dev/usb/usbdevices.config:1.26 src/sys/dev/usb/usbdevices.config:1.27 --- src/sys/dev/usb/usbdevices.config:1.26 Sat Sep 10 15:45:15 2016 +++ src/sys/dev/usb/usbdevices.config Sat Sep 10 15:46:36 2016 @@ -1,4 +1,4 @@ -# $NetBSD: usbdevices.config,v 1.26 2016/09/10 15:45:15 jakllsch Exp $ +# $NetBSD: usbdevices.config,v 1.27 2016/09/10 15:46:36 jakllsch Exp $ # # This file contains all USB related configuration. # It is suitable for inclusion in a kernel config(5) file. @@ -203,6 +203,8 @@ uscanner* at uhub? port ? # USB scanners that use SCSI emulation, e.g., HP5300 usscanner* at uhub? port ? +scsibus* at usscanner? +ss* at scsibus? # Topfield TF5000PVR range of DVB recorders utoppy* at uhub? port ?
CVS commit: src/sys/dev/usb
Module Name:src Committed By: jakllsch Date: Sat Sep 10 15:45:15 UTC 2016 Modified Files: src/sys/dev/usb: usbdevices.config Log Message: umass(4) can present both atapibus(4) and scsibus(4), so attach cd(4), sd(4), st(4), uk(4) at each. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/dev/usb/usbdevices.config 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/usb/usbdevices.config diff -u src/sys/dev/usb/usbdevices.config:1.25 src/sys/dev/usb/usbdevices.config:1.26 --- src/sys/dev/usb/usbdevices.config:1.25 Sat Apr 23 10:15:32 2016 +++ src/sys/dev/usb/usbdevices.config Sat Sep 10 15:45:15 2016 @@ -1,4 +1,4 @@ -# $NetBSD: usbdevices.config,v 1.25 2016/04/23 10:15:32 skrll Exp $ +# $NetBSD: usbdevices.config,v 1.26 2016/09/10 15:45:15 jakllsch Exp $ # # This file contains all USB related configuration. # It is suitable for inclusion in a kernel config(5) file. @@ -75,15 +75,17 @@ uhso* at uhub? port ? configuration ? # USB Mass Storage umass* at uhub? port ? configuration ? interface ? scsibus* at umass? -atapibus* at umass? +cd* at scsibus? target ? lun ? sd* at scsibus? target ? lun ? -wd* at umass? - +st* at scsibus? target ? lun ? +uk* at scsibus? target ? lun ? +atapibus* at umass? # flags have the same meaning as for IDE drives. cd* at atapibus? drive ? flags 0x # ATAPI CD-ROM drives sd* at atapibus? drive ? flags 0x # ATAPI disk drives st* at atapibus? drive ? flags 0x # ATAPI tape drives uk* at atapibus? drive ? flags 0x # ATAPI unknown +wd* at umass? # USB audio uaudio* at uhub? port ? configuration ?
CVS commit: src/sys/arch/mips/mips
Module Name:src Committed By: skrll Date: Sat Sep 10 13:42:11 UTC 2016 Modified Files: src/sys/arch/mips/mips: trap.c Log Message: Remove stray assignment. To generate a diff of this commit: cvs rdiff -u -r1.242 -r1.243 src/sys/arch/mips/mips/trap.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/mips/mips/trap.c diff -u src/sys/arch/mips/mips/trap.c:1.242 src/sys/arch/mips/mips/trap.c:1.243 --- src/sys/arch/mips/mips/trap.c:1.242 Sat Sep 10 13:40:14 2016 +++ src/sys/arch/mips/mips/trap.c Sat Sep 10 13:42:11 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: trap.c,v 1.242 2016/09/10 13:40:14 skrll Exp $ */ +/* $NetBSD: trap.c,v 1.243 2016/09/10 13:42:11 skrll Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -39,7 +39,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.242 2016/09/10 13:40:14 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.243 2016/09/10 13:42:11 skrll Exp $"); #include "opt_cputype.h" /* which mips CPU levels do we support? */ #include "opt_ddb.h" @@ -443,7 +443,6 @@ trap(uint32_t status, uint32_t cause, va case EACCES: ksi.ksi_signo = SIGSEGV; ksi.ksi_code = SEGV_ACCERR; - rv = EFAULT; break; case ENOMEM: ksi.ksi_signo = SIGKILL;
CVS commit: src/sys/arch/mips/mips
Module Name:src Committed By: skrll Date: Sat Sep 10 13:40:14 UTC 2016 Modified Files: src/sys/arch/mips/mips: trap.c Log Message: Fixup siginfo To generate a diff of this commit: cvs rdiff -u -r1.241 -r1.242 src/sys/arch/mips/mips/trap.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/mips/mips/trap.c diff -u src/sys/arch/mips/mips/trap.c:1.241 src/sys/arch/mips/mips/trap.c:1.242 --- src/sys/arch/mips/mips/trap.c:1.241 Mon Jul 11 18:54:32 2016 +++ src/sys/arch/mips/mips/trap.c Sat Sep 10 13:40:14 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: trap.c,v 1.241 2016/07/11 18:54:32 skrll Exp $ */ +/* $NetBSD: trap.c,v 1.242 2016/09/10 13:40:14 skrll Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -39,7 +39,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.241 2016/07/11 18:54:32 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.242 2016/09/10 13:40:14 skrll Exp $"); #include "opt_cputype.h" /* which mips CPU levels do we support? */ #include "opt_ddb.h" @@ -433,21 +433,28 @@ trap(uint32_t status, uint32_t cause, va } if ((type & T_USER) == 0) goto copyfault; - if (rv == ENOMEM) { - printf("UVM: pid %d (%s), uid %d killed: out of swap\n", - p->p_pid, p->p_comm, - l->l_cred ? - kauth_cred_geteuid(l->l_cred) : (uid_t) -1); + + KSI_INIT_TRAP(); + switch (rv) { + case EINVAL: + ksi.ksi_signo = SIGBUS; + ksi.ksi_code = BUS_ADRERR; + break; + case EACCES: + ksi.ksi_signo = SIGSEGV; + ksi.ksi_code = SEGV_ACCERR; + rv = EFAULT; + break; + case ENOMEM: ksi.ksi_signo = SIGKILL; - ksi.ksi_code = 0; - } else { - if (rv == EACCES) { -ksi.ksi_signo = SIGBUS; -ksi.ksi_code = BUS_OBJERR; - } else { -ksi.ksi_signo = SIGSEGV; -ksi.ksi_code = SEGV_MAPERR; - } + printf("UVM: pid %d.%d (%s), uid %d killed: " + "out of swap\n", p->p_pid, l->l_lid, p->p_comm, + l->l_cred ? kauth_cred_geteuid(l->l_cred) : -1); + break; + default: + ksi.ksi_signo = SIGSEGV; + ksi.ksi_code = SEGV_MAPERR; + break; } ksi.ksi_trap = type & ~T_USER; ksi.ksi_addr = (void *)vaddr;
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: jakllsch Date: Sat Sep 10 13:16:12 UTC 2016 Modified Files: src/sys/dev/i2c: at24cxx.c Log Message: Iterate over ia_ncompat array properly. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/i2c/at24cxx.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/i2c/at24cxx.c diff -u src/sys/dev/i2c/at24cxx.c:1.22 src/sys/dev/i2c/at24cxx.c:1.23 --- src/sys/dev/i2c/at24cxx.c:1.22 Sat Jul 23 18:02:10 2016 +++ src/sys/dev/i2c/at24cxx.c Sat Sep 10 13:16:12 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: at24cxx.c,v 1.22 2016/07/23 18:02:10 jakllsch Exp $ */ +/* $NetBSD: at24cxx.c,v 1.23 2016/09/10 13:16:12 jakllsch Exp $ */ /* * Copyright (c) 2003 Wasabi Systems, Inc. @@ -36,7 +36,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: at24cxx.c,v 1.22 2016/07/23 18:02:10 jakllsch Exp $"); +__KERNEL_RCSID(0, "$NetBSD: at24cxx.c,v 1.23 2016/09/10 13:16:12 jakllsch Exp $"); #include #include @@ -150,7 +150,7 @@ seeprom_attach(device_t parent, device_t { struct seeprom_softc *sc = device_private(self); struct i2c_attach_args *ia = aux; - u_int n; + u_int n, m; sc->sc_tag = ia->ia_tag; sc->sc_address = ia->ia_addr; @@ -185,9 +185,12 @@ seeprom_attach(device_t parent, device_t if (sc->sc_size <= 0 && ia->ia_ncompat > 0) { for (n = 0; n < __arraycount(seeprom_sizes); n++) { - if (!strcmp(seeprom_sizes[n].name, ia->ia_compat[n])) { -sc->sc_size = seeprom_sizes[n].size; -break; + for (m = 0; m < ia->ia_ncompat; m++) { +if (!strcmp(seeprom_sizes[n].name, +ia->ia_compat[m])) { + sc->sc_size = seeprom_sizes[n].size; + break; +} } } }
CVS commit: src/tests/rump/modautoload
Module Name:src Committed By: christos Date: Sat Sep 10 11:04:24 UTC 2016 Modified Files: src/tests/rump/modautoload: Makefile Log Message: need bsd.init.mk To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/tests/rump/modautoload/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/rump/modautoload/Makefile diff -u src/tests/rump/modautoload/Makefile:1.6 src/tests/rump/modautoload/Makefile:1.7 --- src/tests/rump/modautoload/Makefile:1.6 Sat Aug 27 10:23:54 2016 +++ src/tests/rump/modautoload/Makefile Sat Sep 10 07:04:24 2016 @@ -1,6 +1,8 @@ -# $NetBSD: Makefile,v 1.6 2016/08/27 14:23:54 christos Exp $ +# $NetBSD: Makefile,v 1.7 2016/09/10 11:04:24 christos Exp $ # +.include + TESTSDIR= ${TESTSBASE}/rump/modautoload TESTS_C= t_modautoload
CVS commit: src/external/mit/lua/dist/src
Module Name:src Committed By: mbalmer Date: Sat Sep 10 09:31:24 UTC 2016 Modified Files: src/external/mit/lua/dist/src: luaconf.h Log Message: Remove a typo, %i is not conversion specification. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/external/mit/lua/dist/src/luaconf.h 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/lua/dist/src/luaconf.h diff -u src/external/mit/lua/dist/src/luaconf.h:1.18 src/external/mit/lua/dist/src/luaconf.h:1.19 --- src/external/mit/lua/dist/src/luaconf.h:1.18 Sat Sep 10 09:29:13 2016 +++ src/external/mit/lua/dist/src/luaconf.h Sat Sep 10 09:31:24 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: luaconf.h,v 1.18 2016/09/10 09:29:13 mbalmer Exp $ */ +/* $NetBSD: luaconf.h,v 1.19 2016/09/10 09:31:24 mbalmer Exp $ */ /* ** Id: luaconf.h,v 1.255 2016/05/01 20:06:09 roberto Exp @@ -770,7 +770,7 @@ #ifdef __NetBSD__ -#define LUA_STRFTIMEOPTIONS "aAbBcCdDeFgGhHIjklmMnprRsStTuUvVwWxXyYzZi%" +#define LUA_STRFTIMEOPTIONS "aAbBcCdDeFgGhHIjklmMnprRsStTuUvVwWxXyYzZ%" /* Integer types */ #undef LUA_INTEGER
CVS commit: src/external/mit/lua/dist/src
Module Name:src Committed By: mbalmer Date: Sat Sep 10 09:29:14 UTC 2016 Modified Files: src/external/mit/lua/dist/src: luaconf.h Log Message: Define LUA_STRFTIMEOPTIONS so that the conversion specifications of the Lua os.date() function match the conversion specifications of the underlying strftime() function. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/external/mit/lua/dist/src/luaconf.h 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/lua/dist/src/luaconf.h diff -u src/external/mit/lua/dist/src/luaconf.h:1.17 src/external/mit/lua/dist/src/luaconf.h:1.18 --- src/external/mit/lua/dist/src/luaconf.h:1.17 Thu Sep 8 02:21:31 2016 +++ src/external/mit/lua/dist/src/luaconf.h Sat Sep 10 09:29:13 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: luaconf.h,v 1.17 2016/09/08 02:21:31 salazar Exp $ */ +/* $NetBSD: luaconf.h,v 1.18 2016/09/10 09:29:13 mbalmer Exp $ */ /* ** Id: luaconf.h,v 1.255 2016/05/01 20:06:09 roberto Exp @@ -770,6 +770,8 @@ #ifdef __NetBSD__ +#define LUA_STRFTIMEOPTIONS "aAbBcCdDeFgGhHIjklmMnprRsStTuUvVwWxXyYzZi%" + /* Integer types */ #undef LUA_INTEGER #undef LUA_INTEGER_FRMLEN
CVS commit: src/sys/compat/netbsd32
Module Name:src Committed By: skrll Date: Sat Sep 10 08:21:26 UTC 2016 Modified Files: src/sys/compat/netbsd32: netbsd32_netbsd.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.201 -r1.202 src/sys/compat/netbsd32/netbsd32_netbsd.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/compat/netbsd32/netbsd32_netbsd.c diff -u src/sys/compat/netbsd32/netbsd32_netbsd.c:1.201 src/sys/compat/netbsd32/netbsd32_netbsd.c:1.202 --- src/sys/compat/netbsd32/netbsd32_netbsd.c:1.201 Sat Sep 10 08:20:49 2016 +++ src/sys/compat/netbsd32/netbsd32_netbsd.c Sat Sep 10 08:21:26 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32_netbsd.c,v 1.201 2016/09/10 08:20:49 skrll Exp $ */ +/* $NetBSD: netbsd32_netbsd.c,v 1.202 2016/09/10 08:21:26 skrll Exp $ */ /* * Copyright (c) 1998, 2001, 2008 Matthew R. Green @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.201 2016/09/10 08:20:49 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.202 2016/09/10 08:21:26 skrll Exp $"); #if defined(_KERNEL_OPT) #include "opt_ddb.h" @@ -921,7 +921,7 @@ netbsd32___socket30(struct lwp *l, const NETBSD32TO64_UAP(domain); NETBSD32TO64_UAP(type); NETBSD32TO64_UAP(protocol); - return (sys___socket30(l, , retval)); + return (sys___socket30(l, , retval)); } int @@ -1457,7 +1457,7 @@ fixlimit(int which, struct rlimit *alim) alim->rlim_cur = MAXDSIZ32; if (LIMITCHECK(alim->rlim_max, MAXDSIZ32)) alim->rlim_max = MAXDSIZ32; - return; + return; case RLIMIT_STACK: if (LIMITCHECK(alim->rlim_cur, MAXSSIZ32)) alim->rlim_cur = MAXSSIZ32; @@ -1826,7 +1826,7 @@ netbsd32_swapctl(struct lwp *l, const st /* SWAP_STATS50 and SWAP_STATS13 structures need no translation */ if (SCARG(, cmd) == SWAP_STATS) return netbsd32_swapctl_stats(l, , retval); - + return (sys_swapctl(l, , retval)); }
CVS commit: src/sys/compat/netbsd32
Module Name:src Committed By: skrll Date: Sat Sep 10 08:20:49 UTC 2016 Modified Files: src/sys/compat/netbsd32: netbsd32_netbsd.c Log Message: +netbsd32__sched_protect To generate a diff of this commit: cvs rdiff -u -r1.200 -r1.201 src/sys/compat/netbsd32/netbsd32_netbsd.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/compat/netbsd32/netbsd32_netbsd.c diff -u src/sys/compat/netbsd32/netbsd32_netbsd.c:1.200 src/sys/compat/netbsd32/netbsd32_netbsd.c:1.201 --- src/sys/compat/netbsd32/netbsd32_netbsd.c:1.200 Fri May 13 16:54:36 2016 +++ src/sys/compat/netbsd32/netbsd32_netbsd.c Sat Sep 10 08:20:49 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32_netbsd.c,v 1.200 2016/05/13 16:54:36 christos Exp $ */ +/* $NetBSD: netbsd32_netbsd.c,v 1.201 2016/09/10 08:20:49 skrll Exp $ */ /* * Copyright (c) 1998, 2001, 2008 Matthew R. Green @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.200 2016/05/13 16:54:36 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.201 2016/09/10 08:20:49 skrll Exp $"); #if defined(_KERNEL_OPT) #include "opt_ddb.h" @@ -2714,6 +2714,20 @@ netbsd32__sched_getaffinity(struct lwp * } int +netbsd32__sched_protect(struct lwp *l, + const struct netbsd32__sched_protect_args *uap, + register_t *retval) +{ + /* { + syscallarg(int) priority; + } */ + struct sys__sched_protect_args ua; + + NETBSD32TO64_UAP(priority); + return sys__sched_protect(l, , retval); +} + +int netbsd32_pipe2(struct lwp *l, const struct netbsd32_pipe2_args *uap, register_t *retval) {
CVS commit: src/sys/compat/netbsd32
Module Name:src Committed By: skrll Date: Sat Sep 10 08:19:58 UTC 2016 Modified Files: src/sys/compat/netbsd32: netbsd32_syscall.h netbsd32_syscallargs.h netbsd32_syscalls.c netbsd32_syscalls_autoload.c netbsd32_sysent.c netbsd32_systrace_args.c Log Message: Regen To generate a diff of this commit: cvs rdiff -u -r1.122 -r1.123 src/sys/compat/netbsd32/netbsd32_syscall.h \ src/sys/compat/netbsd32/netbsd32_syscallargs.h cvs rdiff -u -r1.121 -r1.122 src/sys/compat/netbsd32/netbsd32_syscalls.c \ src/sys/compat/netbsd32/netbsd32_sysent.c cvs rdiff -u -r1.4 -r1.5 src/sys/compat/netbsd32/netbsd32_syscalls_autoload.c cvs rdiff -u -r1.12 -r1.13 src/sys/compat/netbsd32/netbsd32_systrace_args.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/compat/netbsd32/netbsd32_syscall.h diff -u src/sys/compat/netbsd32/netbsd32_syscall.h:1.122 src/sys/compat/netbsd32/netbsd32_syscall.h:1.123 --- src/sys/compat/netbsd32/netbsd32_syscall.h:1.122 Thu Dec 3 10:39:50 2015 +++ src/sys/compat/netbsd32/netbsd32_syscall.h Sat Sep 10 08:19:58 2016 @@ -1,10 +1,10 @@ -/* $NetBSD: netbsd32_syscall.h,v 1.122 2015/12/03 10:39:50 pgoyette Exp $ */ +/* $NetBSD: netbsd32_syscall.h,v 1.123 2016/09/10 08:19:58 skrll Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.112 2015/12/03 10:38:21 pgoyette Exp + * created from NetBSD: syscalls.master,v 1.113 2016/09/10 08:18:45 skrll Exp */ #ifndef _NETBSD32_SYS_SYSCALL_H_ @@ -913,6 +913,9 @@ /* syscall: "sched_yield" ret: "int" args: */ #define NETBSD32_SYS_sched_yield 350 +/* syscall: "netbsd32__sched_protect" ret: "int" args: "int" */ +#define NETBSD32_SYS_netbsd32__sched_protect 351 + /* syscall: "netbsd32_fsync_range" ret: "int" args: "int" "int" "netbsd32_off_t" "netbsd32_off_t" */ #define NETBSD32_SYS_netbsd32_fsync_range 354 Index: src/sys/compat/netbsd32/netbsd32_syscallargs.h diff -u src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.122 src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.123 --- src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.122 Thu Dec 3 10:39:50 2015 +++ src/sys/compat/netbsd32/netbsd32_syscallargs.h Sat Sep 10 08:19:58 2016 @@ -1,10 +1,10 @@ -/* $NetBSD: netbsd32_syscallargs.h,v 1.122 2015/12/03 10:39:50 pgoyette Exp $ */ +/* $NetBSD: netbsd32_syscallargs.h,v 1.123 2016/09/10 08:19:58 skrll Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.112 2015/12/03 10:38:21 pgoyette Exp + * created from NetBSD: syscalls.master,v 1.113 2016/09/10 08:18:45 skrll Exp */ #ifndef _NETBSD32_SYS_SYSCALLARGS_H_ @@ -1758,6 +1758,11 @@ struct netbsd32__sched_getaffinity_args }; check_syscall_args(netbsd32__sched_getaffinity) +struct netbsd32__sched_protect_args { + syscallarg(int) priority; +}; +check_syscall_args(netbsd32__sched_protect) + struct netbsd32_fsync_range_args { syscallarg(int) fd; syscallarg(int) flags; @@ -3169,6 +3174,8 @@ int netbsd32__sched_getaffinity(struct l int sys_sched_yield(struct lwp *, const void *, register_t *); +int netbsd32__sched_protect(struct lwp *, const struct netbsd32__sched_protect_args *, register_t *); + int netbsd32_fsync_range(struct lwp *, const struct netbsd32_fsync_range_args *, register_t *); int netbsd32_uuidgen(struct lwp *, const struct netbsd32_uuidgen_args *, register_t *); Index: src/sys/compat/netbsd32/netbsd32_syscalls.c diff -u src/sys/compat/netbsd32/netbsd32_syscalls.c:1.121 src/sys/compat/netbsd32/netbsd32_syscalls.c:1.122 --- src/sys/compat/netbsd32/netbsd32_syscalls.c:1.121 Thu Dec 3 10:39:50 2015 +++ src/sys/compat/netbsd32/netbsd32_syscalls.c Sat Sep 10 08:19:58 2016 @@ -1,14 +1,14 @@ -/* $NetBSD: netbsd32_syscalls.c,v 1.121 2015/12/03 10:39:50 pgoyette Exp $ */ +/* $NetBSD: netbsd32_syscalls.c,v 1.122 2016/09/10 08:19:58 skrll Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.112 2015/12/03 10:38:21 pgoyette Exp + * created from NetBSD: syscalls.master,v 1.113 2016/09/10 08:18:45 skrll Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.121 2015/12/03 10:39:50 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.122 2016/09/10 08:19:58 skrll Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) @@ -384,7 +384,7 @@ const char *const netbsd32_syscallnames[ /* 348 */ "netbsd32__sched_setaffinity", /* 349 */ "netbsd32__sched_getaffinity", /* 350 */ "sched_yield", - /* 351 */ "#351 (unimplemented)", + /* 351 */ "netbsd32__sched_protect", /* 352 */ "#352 (unimplemented)", /* 353 */ "#353 (unimplemented)", /* 354 */ "netbsd32_fsync_range", @@ -914,7 +914,7 @@ const char *const altnetbsd32_syscallnam /*
CVS commit: src/sys/compat/netbsd32
Module Name:src Committed By: skrll Date: Sat Sep 10 08:18:45 UTC 2016 Modified Files: src/sys/compat/netbsd32: syscalls.master Log Message: Add _sched_protect To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/sys/compat/netbsd32/syscalls.master Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/compat/netbsd32/syscalls.master diff -u src/sys/compat/netbsd32/syscalls.master:1.112 src/sys/compat/netbsd32/syscalls.master:1.113 --- src/sys/compat/netbsd32/syscalls.master:1.112 Thu Dec 3 10:38:21 2015 +++ src/sys/compat/netbsd32/syscalls.master Sat Sep 10 08:18:45 2016 @@ -1,4 +1,4 @@ - $NetBSD: syscalls.master,v 1.112 2015/12/03 10:38:21 pgoyette Exp $ + $NetBSD: syscalls.master,v 1.113 2016/09/10 08:18:45 skrll Exp $ ; from: NetBSD: syscalls.master,v 1.81 1998/07/05 08:49:50 jonathan Exp ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 @@ -703,7 +703,7 @@ lwpid_t lid, netbsd32_size_t size, \ netbsd32_cpusetp_t cpuset); } 350 NOARGS { int|sys||sched_yield(void); } -351 UNIMPL +351 STD { int|netbsd32||_sched_protect(int priority); } 352 UNIMPL 353 UNIMPL 354 STD { int|netbsd32||fsync_range(int fd, int flags, \
CVS commit: [netbsd-7-nhusb] src/sys/modules
Module Name:src Committed By: skrll Date: Sat Sep 10 06:46:09 UTC 2016 Modified Files: src/sys/modules/drmkms_linux [netbsd-7-nhusb]: Makefile src/sys/modules/i915drmkms [netbsd-7-nhusb]: Makefile Log Message: Sync with HEAD To generate a diff of this commit: cvs rdiff -u -r1.4.2.2 -r1.4.2.2.4.1 src/sys/modules/drmkms_linux/Makefile cvs rdiff -u -r1.4.2.1 -r1.4.2.1.4.1 src/sys/modules/i915drmkms/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/modules/drmkms_linux/Makefile diff -u src/sys/modules/drmkms_linux/Makefile:1.4.2.2 src/sys/modules/drmkms_linux/Makefile:1.4.2.2.4.1 --- src/sys/modules/drmkms_linux/Makefile:1.4.2.2 Fri Mar 6 21:39:11 2015 +++ src/sys/modules/drmkms_linux/Makefile Sat Sep 10 06:46:09 2016 @@ -1,8 +1,15 @@ -# $NetBSD: Makefile,v 1.4.2.2 2015/03/06 21:39:11 snj Exp $ +# $NetBSD: Makefile,v 1.4.2.2.4.1 2016/09/10 06:46:09 skrll Exp $ + +# +# At some point this needs to turn into linux.kmod and a proper home for it +# found. For now pickup the linux_work.c from the (increasingly poorly +# named) common area. +# .include "../Makefile.inc" .PATH: ${S}/external/bsd/drm2/linux +.PATH: ${S}/external/bsd/common/linux CPPFLAGS+= -I${S}/external/bsd/common/include CPPFLAGS+= -I${S}/external/bsd/drm2/include Index: src/sys/modules/i915drmkms/Makefile diff -u src/sys/modules/i915drmkms/Makefile:1.4.2.1 src/sys/modules/i915drmkms/Makefile:1.4.2.1.4.1 --- src/sys/modules/i915drmkms/Makefile:1.4.2.1 Sun Jan 11 05:59:18 2015 +++ src/sys/modules/i915drmkms/Makefile Sat Sep 10 06:46:09 2016 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4.2.1 2015/01/11 05:59:18 snj Exp $ +# $NetBSD: Makefile,v 1.4.2.1.4.1 2016/09/10 06:46:09 skrll Exp $ .include "../Makefile.inc" .include "../drmkms/Makefile.inc" @@ -77,7 +77,8 @@ COPTS.intel_display.c+= -Wno-shadow -Wno COPTS.intel_panel.c+= -Wno-shadow COPTS.intel_pm.c+= -Wno-shadow -CPPFLAGS+= -DCONFIG_DRM_I915_FBDEV +CPPFLAGS+= -DCONFIG_DRM_I915_FBDEV=1 +CPPFLAGS+= -DCONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT=0 CPPFLAGS+= -DNACPICA=1 CPPFLAGS+= -DNVGA=1
CVS commit: [netbsd-7] src/doc
Module Name:src Committed By: snj Date: Sat Sep 10 06:45:45 UTC 2016 Modified Files: src/doc [netbsd-7]: CHANGES-7.1 Log Message: tidy up entries for 1210, 1211 To generate a diff of this commit: cvs rdiff -u -r1.1.2.107 -r1.1.2.108 src/doc/CHANGES-7.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/CHANGES-7.1 diff -u src/doc/CHANGES-7.1:1.1.2.107 src/doc/CHANGES-7.1:1.1.2.108 --- src/doc/CHANGES-7.1:1.1.2.107 Sat Sep 10 06:39:43 2016 +++ src/doc/CHANGES-7.1 Sat Sep 10 06:45:45 2016 @@ -1,4 +1,4 @@ -# $NetBSD: CHANGES-7.1,v 1.1.2.107 2016/09/10 06:39:43 snj Exp $ +# $NetBSD: CHANGES-7.1,v 1.1.2.108 2016/09/10 06:45:45 snj Exp $ A complete list of changes from the NetBSD 7.0 release to the NetBSD 7.1 release: @@ -5212,25 +5212,23 @@ sbin/fsdb/fsdb.c1.49 sys/ufs/ffs/ffs_vfsops.c 1.340 usr.sbin/quot/quot.c1.34 -From Michael Plass: - -The superblock field that distinguishes between 4.2BSD and 4.4BSD -inodes is really only relevant on a UFS1 file system. Make sure that -it is a UFS1 fs before using fs_old_inodefmt. - -Note that the NetBSD newfs and mkfs utilities initialize fs_old_inodefmt -even for UFS2, so problems were apparent only on file systems created -by other operating systems, for example, FreeBSD. -[martin, ticket #1210] + The superblock field that distinguishes between 4.2BSD and + 4.4BSD inodes is really only relevant on a UFS1 file system. + Make sure that it is a UFS1 fs before using fs_old_inodefmt. + + Note that the NetBSD newfs and mkfs utilities initialize + fs_old_inodefmt even for UFS2, so problems were apparent only + on file systems created by other operating systems, for example, + FreeBSD. + [martin, ticket #1210] sys/arch/evbppc/conf/Makefile.ev64260.inc 1.8 sys/arch/evbppc/conf/Makefile.obs405.inc 1.13 sys/arch/evbppc/conf/Makefile.walnut.inc 1.9 -Fix typo in Makefile which resulted in kernel image not being generated - -From Rin Okuyama in PR/51369 -[maya, ticket #1211] + Fix typo in Makefile which resulted in kernel image not being + generated. PR/51369 + [maya, ticket #1211] bin/sh/parser.c 1.114 via patch
CVS commit: [netbsd-7-0] src/doc
Module Name:src Committed By: snj Date: Sat Sep 10 06:43:52 UTC 2016 Modified Files: src/doc [netbsd-7-0]: CHANGES-7.0.2 Log Message: tidy up entries for 1210, 1211 To generate a diff of this commit: cvs rdiff -u -r1.1.2.10 -r1.1.2.11 src/doc/CHANGES-7.0.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/CHANGES-7.0.2 diff -u src/doc/CHANGES-7.0.2:1.1.2.10 src/doc/CHANGES-7.0.2:1.1.2.11 --- src/doc/CHANGES-7.0.2:1.1.2.10 Sat Sep 10 06:40:51 2016 +++ src/doc/CHANGES-7.0.2 Sat Sep 10 06:43:52 2016 @@ -1,4 +1,4 @@ -# $NetBSD: CHANGES-7.0.2,v 1.1.2.10 2016/09/10 06:40:51 snj Exp $ +# $NetBSD: CHANGES-7.0.2,v 1.1.2.11 2016/09/10 06:43:52 snj Exp $ A complete list of changes from the NetBSD 7.0.1 release to the NetBSD 7.0.2 release: @@ -228,25 +228,23 @@ sbin/fsdb/fsdb.c1.49 sys/ufs/ffs/ffs_vfsops.c 1.340 usr.sbin/quot/quot.c1.34 -From Michael Plass: - -The superblock field that distinguishes between 4.2BSD and 4.4BSD -inodes is really only relevant on a UFS1 file system. Make sure that -it is a UFS1 fs before using fs_old_inodefmt. - -Note that the NetBSD newfs and mkfs utilities initialize fs_old_inodefmt -even for UFS2, so problems were apparent only on file systems created -by other operating systems, for example, FreeBSD. -[martin, ticket #1210] + The superblock field that distinguishes between 4.2BSD and + 4.4BSD inodes is really only relevant on a UFS1 file system. + Make sure that it is a UFS1 fs before using fs_old_inodefmt. + + Note that the NetBSD newfs and mkfs utilities initialize + fs_old_inodefmt even for UFS2, so problems were apparent only + on file systems created by other operating systems, for example, + FreeBSD. + [martin, ticket #1210] sys/arch/evbppc/conf/Makefile.ev64260.inc 1.8 sys/arch/evbppc/conf/Makefile.obs405.inc 1.13 sys/arch/evbppc/conf/Makefile.walnut.inc 1.9 -Fix typo in Makefile which resulted in kernel image not being generated - -From Rin Okuyama in PR/51369 -[maya, ticket #1211] + Fix typo in Makefile which resulted in kernel image not being + generated. PR/51369 + [maya, ticket #1211] sys/arch/sparc64/sparc64/kobj_machdep.c 1.6
CVS commit: [netbsd-7-0] src/sys/arch/sparc64/sparc64
Module Name:src Committed By: snj Date: Sat Sep 10 06:40:03 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64 [netbsd-7-0]: kobj_machdep.c Log Message: Pull up following revision(s) (requested by martin in ticket #1248): sys/arch/sparc64/sparc64/kobj_machdep.c: revision 1.6 The target of the OLO10 relocation is the simd13 field of the instruction, so use a 13 bit target mask. Fixes PR kern/51436 (I broke this myself in rev 1.4) To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.5.8.1 src/sys/arch/sparc64/sparc64/kobj_machdep.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/kobj_machdep.c diff -u src/sys/arch/sparc64/sparc64/kobj_machdep.c:1.5 src/sys/arch/sparc64/sparc64/kobj_machdep.c:1.5.8.1 --- src/sys/arch/sparc64/sparc64/kobj_machdep.c:1.5 Sat Feb 1 11:19:04 2014 +++ src/sys/arch/sparc64/sparc64/kobj_machdep.c Sat Sep 10 06:40:03 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: kobj_machdep.c,v 1.5 2014/02/01 11:19:04 nakayama Exp $ */ +/* $NetBSD: kobj_machdep.c,v 1.5.8.1 2016/09/10 06:40:03 snj Exp $ */ /*- * Copyright (c) 2001 Jake Burkholder. @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kobj_machdep.c,v 1.5 2014/02/01 11:19:04 nakayama Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kobj_machdep.c,v 1.5.8.1 2016/09/10 06:40:03 snj Exp $"); #define ELFSIZE ARCH_ELFSIZE @@ -164,7 +164,7 @@ static const long reloc_target_bitmask[] _BM(22), _BM(10), /* _HIPLT22, LOPLT10 */ _BM(32), _BM(22), _BM(10), /* _PCPLT32, _PCPLT22, _PCPLT10 */ _BM(10), _BM(11), -1, /* _10, _11, _64 */ - _BM(10), _BM(22), /* _OLO10, _HH22 */ + _BM(13), _BM(22), /* _OLO10, _HH22 */ _BM(10), _BM(22), /* _HM10, _LM22 */ _BM(22), _BM(10), _BM(22), /* _PC_HH22, _PC_HM10, _PC_LM22 */ _BM(16), _BM(19), /* _WDISP16, _WDISP19 */
CVS commit: [netbsd-7-0] src/doc
Module Name:src Committed By: snj Date: Sat Sep 10 06:40:51 UTC 2016 Modified Files: src/doc [netbsd-7-0]: CHANGES-7.0.2 Log Message: 1248 To generate a diff of this commit: cvs rdiff -u -r1.1.2.9 -r1.1.2.10 src/doc/CHANGES-7.0.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/CHANGES-7.0.2 diff -u src/doc/CHANGES-7.0.2:1.1.2.9 src/doc/CHANGES-7.0.2:1.1.2.10 --- src/doc/CHANGES-7.0.2:1.1.2.9 Sat Aug 27 15:21:28 2016 +++ src/doc/CHANGES-7.0.2 Sat Sep 10 06:40:51 2016 @@ -1,4 +1,4 @@ -# $NetBSD: CHANGES-7.0.2,v 1.1.2.9 2016/08/27 15:21:28 bouyer Exp $ +# $NetBSD: CHANGES-7.0.2,v 1.1.2.10 2016/09/10 06:40:51 snj Exp $ A complete list of changes from the NetBSD 7.0.1 release to the NetBSD 7.0.2 release: @@ -248,3 +248,10 @@ Fix typo in Makefile which resulted in k From Rin Okuyama in PR/51369 [maya, ticket #1211] +sys/arch/sparc64/sparc64/kobj_machdep.c 1.6 + + The target of the OLO10 relocation is the simd13 field of the + instruction, so use a 13 bit target mask. + Fixes PR kern/51436. + [martin, ticket #1248] +
CVS commit: [netbsd-7] src/doc
Module Name:src Committed By: snj Date: Sat Sep 10 06:39:43 UTC 2016 Modified Files: src/doc [netbsd-7]: CHANGES-7.1 Log Message: 1242, 1248 To generate a diff of this commit: cvs rdiff -u -r1.1.2.106 -r1.1.2.107 src/doc/CHANGES-7.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/CHANGES-7.1 diff -u src/doc/CHANGES-7.1:1.1.2.106 src/doc/CHANGES-7.1:1.1.2.107 --- src/doc/CHANGES-7.1:1.1.2.106 Sun Aug 28 04:37:17 2016 +++ src/doc/CHANGES-7.1 Sat Sep 10 06:39:43 2016 @@ -1,4 +1,4 @@ -# $NetBSD: CHANGES-7.1,v 1.1.2.106 2016/08/28 04:37:17 snj Exp $ +# $NetBSD: CHANGES-7.1,v 1.1.2.107 2016/09/10 06:39:43 snj Exp $ A complete list of changes from the NetBSD 7.0 release to the NetBSD 7.1 release: @@ -5255,3 +5255,15 @@ sys/dev/splash/splash.c1.13 Don't panic if the splash screen is bigger than the framebuffer. [khorben, ticket #1238] +sbin/resize_ffs/resize_ffs.c 1.47 + + Fix handling of ffsv2 inode initialization. PR 51116. + [dholland, ticket #1242] + +sys/arch/sparc64/sparc64/kobj_machdep.c 1.6 + + The target of the OLO10 relocation is the simd13 field of the + instruction, so use a 13 bit target mask. + Fixes PR kern/51436. + [martin, ticket #1248] +
CVS commit: [netbsd-7] src/sys/arch/sparc64/sparc64
Module Name:src Committed By: snj Date: Sat Sep 10 06:38:54 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64 [netbsd-7]: kobj_machdep.c Log Message: Pull up following revision(s) (requested by martin in ticket #1248): sys/arch/sparc64/sparc64/kobj_machdep.c: revision 1.6 The target of the OLO10 relocation is the simd13 field of the instruction, so use a 13 bit target mask. Fixes PR kern/51436 (I broke this myself in rev 1.4) To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.5.4.1 src/sys/arch/sparc64/sparc64/kobj_machdep.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/kobj_machdep.c diff -u src/sys/arch/sparc64/sparc64/kobj_machdep.c:1.5 src/sys/arch/sparc64/sparc64/kobj_machdep.c:1.5.4.1 --- src/sys/arch/sparc64/sparc64/kobj_machdep.c:1.5 Sat Feb 1 11:19:04 2014 +++ src/sys/arch/sparc64/sparc64/kobj_machdep.c Sat Sep 10 06:38:54 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: kobj_machdep.c,v 1.5 2014/02/01 11:19:04 nakayama Exp $ */ +/* $NetBSD: kobj_machdep.c,v 1.5.4.1 2016/09/10 06:38:54 snj Exp $ */ /*- * Copyright (c) 2001 Jake Burkholder. @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kobj_machdep.c,v 1.5 2014/02/01 11:19:04 nakayama Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kobj_machdep.c,v 1.5.4.1 2016/09/10 06:38:54 snj Exp $"); #define ELFSIZE ARCH_ELFSIZE @@ -164,7 +164,7 @@ static const long reloc_target_bitmask[] _BM(22), _BM(10), /* _HIPLT22, LOPLT10 */ _BM(32), _BM(22), _BM(10), /* _PCPLT32, _PCPLT22, _PCPLT10 */ _BM(10), _BM(11), -1, /* _10, _11, _64 */ - _BM(10), _BM(22), /* _OLO10, _HH22 */ + _BM(13), _BM(22), /* _OLO10, _HH22 */ _BM(10), _BM(22), /* _HM10, _LM22 */ _BM(22), _BM(10), _BM(22), /* _PC_HH22, _PC_HM10, _PC_LM22 */ _BM(16), _BM(19), /* _WDISP16, _WDISP19 */
CVS commit: [netbsd-7] src/sbin/resize_ffs
Module Name:src Committed By: snj Date: Sat Sep 10 06:36:37 UTC 2016 Modified Files: src/sbin/resize_ffs [netbsd-7]: resize_ffs.c Log Message: Pull up following revision(s) (requested by dholland in ticket #1242): sbin/resize_ffs/resize_ffs.c: revision 1.47 Fix handling of ffsv2 inode initialization. Retires PR 51116. To generate a diff of this commit: cvs rdiff -u -r1.38.6.1 -r1.38.6.2 src/sbin/resize_ffs/resize_ffs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/resize_ffs/resize_ffs.c diff -u src/sbin/resize_ffs/resize_ffs.c:1.38.6.1 src/sbin/resize_ffs/resize_ffs.c:1.38.6.2 --- src/sbin/resize_ffs/resize_ffs.c:1.38.6.1 Thu Aug 6 21:13:44 2015 +++ src/sbin/resize_ffs/resize_ffs.c Sat Sep 10 06:36:37 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: resize_ffs.c,v 1.38.6.1 2015/08/06 21:13:44 snj Exp $ */ +/* $NetBSD: resize_ffs.c,v 1.38.6.2 2016/09/10 06:36:37 snj Exp $ */ /* From sources sent on February 17, 2003 */ /*- * As its sole author, I explicitly place this code in the public @@ -36,7 +36,7 @@ */ #include -__RCSID("$NetBSD: resize_ffs.c,v 1.38.6.1 2015/08/06 21:13:44 snj Exp $"); +__RCSID("$NetBSD: resize_ffs.c,v 1.38.6.2 2016/09/10 06:36:37 snj Exp $"); #include #include @@ -105,7 +105,8 @@ union dinode { } while (0) /* a cg's worth of brand new squeaky-clean inodes */ -static struct ufs1_dinode *zinodes; +static struct ufs1_dinode *zinodes1; +static struct ufs2_dinode *zinodes2; /* pointers to the in-core cgs, read off disk and possibly modified */ static struct cg **cgs; @@ -615,10 +616,15 @@ initcg(int cgn) newsb->fs_cstotal.cs_nffree += cg->cg_cs.cs_nffree; newsb->fs_cstotal.cs_nbfree += cg->cg_cs.cs_nbfree; newsb->fs_cstotal.cs_nifree += cg->cg_cs.cs_nifree; - if (is_ufs2 == 0) + if (is_ufs2) { + /* Write out the cleared inodes. */ + writeat(FFS_FSBTODB(newsb, cgimin(newsb, cgn)), zinodes2, + cg->cg_initediblk * sizeof(*zinodes2)); + } else { /* Write out the cleared inodes. */ - writeat(FFS_FSBTODB(newsb, cgimin(newsb, cgn)), zinodes, - newsb->fs_ipg * sizeof(*zinodes)); + writeat(FFS_FSBTODB(newsb, cgimin(newsb, cgn)), zinodes1, + newsb->fs_ipg * sizeof(*zinodes1)); + } /* Dirty the cg. */ cgflags[cgn] |= CGF_DIRTY; } @@ -993,8 +999,15 @@ grow(void) /* Update the timestamp. */ newsb->fs_time = timestamp(); /* Allocate and clear the new-inode area, in case we add any cgs. */ - zinodes = alloconce(newsb->fs_ipg * sizeof(*zinodes), "zeroed inodes"); - memset(zinodes, 0, newsb->fs_ipg * sizeof(*zinodes)); + if (is_ufs2) { + zinodes2 = alloconce(newsb->fs_ipg * sizeof(*zinodes2), + "zeroed inodes"); + memset(zinodes2, 0, newsb->fs_ipg * sizeof(*zinodes2)); + } else { + zinodes1 = alloconce(newsb->fs_ipg * sizeof(*zinodes1), + "zeroed inodes"); + memset(zinodes1, 0, newsb->fs_ipg * sizeof(*zinodes1)); + } /* Check that the new last sector (frag, actually) is writable. Since * it's at least one frag larger than it used to be, we know we aren't