CVS commit: src/sys/dev/ic

2019-04-09 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Tue Apr  9 07:23:41 UTC 2019

Modified Files:
src/sys/dev/ic: gem.c

Log Message:
 Fix a bug that media setting for fiber didn't work correctly. Not tested.
The BUGS section in gem(4) manpage says:

 > BUGS
(snip)
 >  On the SX fibre variants of the hardware, the link will stay down if
 >  there is a duplex mismatch.  Also, packet transmission may fail when in
 >  half-duplex mode.

Is the bug related to this fix?


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/dev/ic/gem.c

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



CVS commit: src/sys/arch/arm/samsung

2019-04-09 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Apr  9 07:37:16 UTC 2019

Modified Files:
src/sys/arch/arm/samsung: exynos_platform.c

Log Message:
EXYNOS5422_DISABLE_CA7_CLUSTER isn't required anymore


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/arm/samsung/exynos_platform.c

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



CVS commit: src/sbin/fdisk

2019-04-09 Thread Tobias Nygren
Module Name:src
Committed By:   tnn
Date:   Tue Apr  9 09:03:41 UTC 2019

Modified Files:
src/sbin/fdisk: fdisk.8

Log Message:
mention that -B is used to set the timeout for mbr_bootsel


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sbin/fdisk/fdisk.8

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



CVS commit: src/sys/dev/mii

2019-04-09 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Tue Apr  9 11:28:45 UTC 2019

Modified Files:
src/sys/dev/mii: mii.c mii_physubr.c miivar.h

Log Message:
- Use uint16_t more for MII registers.
- Whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/dev/mii/mii.c
cvs rdiff -u -r1.86 -r1.87 src/sys/dev/mii/mii_physubr.c
cvs rdiff -u -r1.66 -r1.67 src/sys/dev/mii/miivar.h

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



CVS commit: src/sys/dev/ic

2019-04-09 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Tue Apr  9 13:25:07 UTC 2019

Modified Files:
src/sys/dev/ic: i82596.c

Log Message:
 KNF. No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/ic/i82596.c

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



CVS commit: src/share/man/man9

2019-04-09 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Apr  9 13:53:52 UTC 2019

Modified Files:
src/share/man/man9: sched_4bsd.9 sched_m2.9

Log Message:
Add instructions on how to determine the scheduler in use.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/share/man/man9/sched_4bsd.9
cvs rdiff -u -r1.3 -r1.4 src/share/man/man9/sched_m2.9

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



CVS commit: xsrc/external/mit/MesaLib/dist/src

2019-04-09 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Apr  9 14:14:59 UTC 2019

Modified Files:
xsrc/external/mit/MesaLib/dist/src/glx: glxclient.h glxcurrent.c
xsrc/external/mit/MesaLib/dist/src/mapi: entry_x86-64_tls.h
entry_x86_tls.h u_current.c u_current.h

Log Message:
Add workaround for non-zero initialized initial-exec TLS variables.
NetBSD doesn't support these with dlopen.

Ref:
https://bugs.freedesktop.org/show_bug.cgi?id=35268
https://mail-index.netbsd.org/pkgsrc-users/2015/09/11/msg022180.html
http://gnats.netbsd.org/50277

Fixes dlopen of libGL reported by prlw1 on current users.
>From tnn, via pkgsrc/graphics/MesaLib*.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 \
xsrc/external/mit/MesaLib/dist/src/glx/glxclient.h \
xsrc/external/mit/MesaLib/dist/src/glx/glxcurrent.c
cvs rdiff -u -r1.3 -r1.4 \
xsrc/external/mit/MesaLib/dist/src/mapi/entry_x86-64_tls.h
cvs rdiff -u -r1.4 -r1.5 \
xsrc/external/mit/MesaLib/dist/src/mapi/entry_x86_tls.h
cvs rdiff -u -r1.1.1.2 -r1.2 \
xsrc/external/mit/MesaLib/dist/src/mapi/u_current.c \
xsrc/external/mit/MesaLib/dist/src/mapi/u_current.h

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



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

2019-04-09 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Apr  9 14:31:07 UTC 2019

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

Log Message:
Expand all @@ things in pkgconfig file.
claim TLS.
pick up the list of private libs from pkgsrc mesalib
GL_LIB got renamed to GL_PKGCONF_LIB.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/external/mit/xorg/lib/libGL/Makefile

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



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

2019-04-09 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Apr  9 14:47:15 UTC 2019

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

Log Message:
Need pthread for all the mtx_lock.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/external/mit/xorg/lib/dri/Makefile

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



CVS commit: src/external/bsd/jemalloc/include/jemalloc/internal

2019-04-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Apr  9 17:00:38 UTC 2019

Modified Files:
src/external/bsd/jemalloc/include/jemalloc/internal:
jemalloc_internal_defs.h

Log Message:
Use MIN_PAGE_SHIFT if PAGE_SHIFT is not available instead of MAX_PAGE_SHIFT.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h

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



CVS commit: src/usr.sbin/altq/altqstat

2019-04-09 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Apr  9 18:21:15 UTC 2019

Modified Files:
src/usr.sbin/altq/altqstat: altqstat.1

Log Message:
New sentence, new line


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/altq/altqstat/altqstat.1

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



CVS commit: src/usr.sbin/altq/altqd

2019-04-09 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Apr  9 18:22:33 UTC 2019

Modified Files:
src/usr.sbin/altq/altqd: altq.conf.5

Log Message:
Drop Pp before Bl


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/altq/altqd/altq.conf.5

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



CVS commit: src/usr.bin/make

2019-04-09 Thread Simon J. Gerraty
Module Name:src
Committed By:   sjg
Date:   Tue Apr  9 18:28:10 UTC 2019

Modified Files:
src/usr.bin/make: parse.c

Log Message:
ParseDoDependency: free paths rather than assert

PR: 52737
Reviewed by: christos


To generate a diff of this commit:
cvs rdiff -u -r1.231 -r1.232 src/usr.bin/make/parse.c

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



CVS commit: src/usr.sbin/altq/altqd

2019-04-09 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Apr  9 19:10:21 UTC 2019

Modified Files:
src/usr.sbin/altq/altqd: altq.conf.5

Log Message:
bump date


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/altq/altqd/altq.conf.5

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



CVS commit: src/sys

2019-04-09 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Apr  9 22:05:27 UTC 2019

Modified Files:
src/sys/conf: files param.c
src/sys/kern: sysv_ipc.c

Log Message:
defparam all of the config variables associated with SYSV IPC stuff.
The variables were removed from sys/conf/param.c and moved into the
SYSV IPC code, but config options were never propagated via any opt_*
file.

This should fix an issue reported on netbsd-users list from Dima Veselov.

Note that this does not address other parameters included in that report,
including CHILD_MAX and NOFILE; this commit only affects items related to
the SYSV IPC code.  Also note that this does not affect non-built-in
sysv_ipc modules, for which you need to update the Makefile to use any
non-standard config values - just like any other non-built-in modules
which have config params.

XXX Pull-up to -8 and -8-0

XXX Note that there are a couple of panic() calls in msginit() which
XXX really should be changed to simple printf() and then result in
XXX msginit failure.  Unfortunately msginit() currently doesn't return
XXX a value so we cannot indicate failure to the caller.  I will fix
XXX this is a future commit.


To generate a diff of this commit:
cvs rdiff -u -r1.1232 -r1.1233 src/sys/conf/files
cvs rdiff -u -r1.67 -r1.68 src/sys/conf/param.c
cvs rdiff -u -r1.37 -r1.38 src/sys/kern/sysv_ipc.c

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



CVS commit: src/sys/arch/macppc/conf

2019-04-09 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Apr  9 22:38:25 UTC 2019

Modified Files:
src/sys/arch/macppc/conf: GENERIC

Log Message:
Add a commented out entry for CARP


To generate a diff of this commit:
cvs rdiff -u -r1.351 -r1.352 src/sys/arch/macppc/conf/GENERIC

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



CVS commit: src/share/man/man4

2019-04-09 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Apr 10 00:18:39 UTC 2019

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

Log Message:
typo, you don't need to specify a prefix & mask


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/carp.4

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



CVS commit: src

2019-04-09 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Apr 10 00:32:15 UTC 2019

Modified Files:
src/distrib/sets/lists/etc: mi
src/etc/defaults: Makefile
src/etc/rc.d: Makefile

Log Message:
Include npf_boot rc.d scripts which loads an interim config early in boot.
By default /etc/default/npf.boot.conf which can be overriden by 
/etc/npf.boot.conf.


To generate a diff of this commit:
cvs rdiff -u -r1.254 -r1.255 src/distrib/sets/lists/etc/mi
cvs rdiff -u -r1.6 -r1.7 src/etc/defaults/Makefile
cvs rdiff -u -r1.99 -r1.100 src/etc/rc.d/Makefile

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



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

2019-04-09 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Apr 10 00:35:25 UTC 2019

Modified Files:
src/distrib/sets/lists/etc: mi

Log Message:
typo, pasto


To generate a diff of this commit:
cvs rdiff -u -r1.255 -r1.256 src/distrib/sets/lists/etc/mi

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



CVS commit: src/sys/arch/macppc/conf

2019-04-09 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Apr 10 00:49:49 UTC 2019

Modified Files:
src/sys/arch/macppc/conf: GENERIC

Log Message:
Include CARP support by default


To generate a diff of this commit:
cvs rdiff -u -r1.352 -r1.353 src/sys/arch/macppc/conf/GENERIC

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



CVS commit: src/sys/arch/usermode/usermode

2019-04-09 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Apr 10 03:39:34 UTC 2019

Modified Files:
src/sys/arch/usermode/usermode: copy.c

Log Message:
 Add missing semicolon.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/usermode/usermode/copy.c

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



CVS commit: src/sys/net

2019-04-09 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Wed Apr 10 04:06:53 UTC 2019

Modified Files:
src/sys/net: rtsock_shared.c

Log Message:
Avoid a maybe-uninitialized warning by checking for an error return
that might indicate that 'len' was not initialized.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/net/rtsock_shared.c

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



CVS commit: src/sys/arch/usermode

2019-04-09 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Wed Apr 10 04:10:54 UTC 2019

Modified Files:
src/sys/arch/usermode/include: types.h
src/sys/arch/usermode/usermode: copy.c

Log Message:
Make the usermode kernel compile again.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/usermode/include/types.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/usermode/usermode/copy.c

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



CVS commit: src/sys/compat/sys

2019-04-09 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Apr 10 04:28:03 UTC 2019

Modified Files:
src/sys/compat/sys: sockio.h

Log Message:
 Fix ifdata"o2n"() macro. This is not a real bug because this macro is not used
from anywhere. Both of SIOCGIFDATA and SIOCZIFDATA use "n2o" because
ZIFDATA is almost the same as GIFDATA except zeroing after read.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/sys/sockio.h

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



CVS commit: src/sys/compat/sys

2019-04-09 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Apr 10 04:37:00 UTC 2019

Modified Files:
src/sys/compat/sys: sockio.h

Log Message:
 Whitespace change. No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/compat/sys/sockio.h

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



CVS commit: src

2019-04-09 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Wed Apr 10 06:09:39 UTC 2019

Modified Files:
src/sbin/cgdconfig: cgdconfig.c
src/tests/dev/cgd: t_cgd.sh

Log Message:
PR bin/53999 from rudolf (eq.cz)

Fix cgdconfig to report verification failures with gpt and mbr
verification methods (and not treat them as silent hard errors).
This also causes the cgd to be unconfigured when one of those
verification methods fails.

Add ATF tests to check that bad verification is reported, and
does not leave the cgd configured.

Patches from the PR applied.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sbin/cgdconfig/cgdconfig.c
cvs rdiff -u -r1.11 -r1.12 src/tests/dev/cgd/t_cgd.sh

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



CVS commit: src/sbin/cgdconfig

2019-04-09 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Wed Apr 10 06:11:37 UTC 2019

Modified Files:
src/sbin/cgdconfig: cgdconfig.c

Log Message:
KNF, 80 column police, a few other tidy ups (use if (ret == 0) rather
than if (!ret) when ret is not a boolean, and test fopen result against
NULL, for example).

NFCI.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sbin/cgdconfig/cgdconfig.c

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



CVS commit: src/tests/dev/cgd

2019-04-09 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Wed Apr 10 06:13:21 UTC 2019

Modified Files:
src/tests/dev/cgd: t_cgd.sh

Log Message:
Fix quoting (quotes really do not nest...) and remove a bunch of it
that is harmless, but also pointless (in sh, quotes do not make strings,
everything is a string, rather they hide characters which would have
some other meaning unquoted (like spaces) - quotes are not needed around
strings like "descr" so remove them...

Be more consistent with line wrap style, try to avoid wrapping in the
middle of a (sh) word where possible.   Avoid \ use when it is not needed.

Un-KNF (C style) - sh has no declarations, there is no need to leave
blank lines at the head of a function to mark the end of the declarations.

This should be a NFC - but the quoting really was broken before, just
was probably harmless breakage.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/tests/dev/cgd/t_cgd.sh

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



CVS commit: src/sys/arch/aarch64/aarch64

2019-04-09 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Wed Apr 10 06:30:05 UTC 2019

Modified Files:
src/sys/arch/aarch64/aarch64: syscall.c

Log Message:
add missing userret() at the end of md_child_return().
this change make some ATF to pass.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/aarch64/aarch64/syscall.c

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



CVS commit: src/sys/arch/aarch64/aarch64

2019-04-09 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Wed Apr 10 06:58:12 UTC 2019

Modified Files:
src/sys/arch/aarch64/aarch64: TODO

Log Message:
some items are already done. update and sync with reality.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/aarch64/aarch64/TODO

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