CVS commit: src/sbin/atactl

2016-05-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue May 10 08:08:59 UTC 2016

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

Log Message:
update the micron smart codes for 247/248 to match data i found in
micron's "TN-FD-33: M510DC SSD SMART Implementation Introduction"
document.

these two values can be used to calculate the write amplication
factor:

   WAF = ( A247 + A248 ) / A247


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sbin/atactl/atactl.c

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



CVS commit: [netbsd-7] src/lib/libc/stdlib

2016-05-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue May 10 09:10:11 UTC 2016

Modified Files:
src/lib/libc/stdlib [netbsd-7]: jemalloc.c

Log Message:
Fix merge botch for #1161


To generate a diff of this commit:
cvs rdiff -u -r1.34.2.2 -r1.34.2.3 src/lib/libc/stdlib/jemalloc.c

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



CVS commit: src/lib/csu/common

2016-05-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue May 10 10:23:09 UTC 2016

Modified Files:
src/lib/csu/common: Makefile.inc

Log Message:
We need the -O1 hack (for gcc 5.3) for crtbegin.c as well.
Works around PR toolchain/51121.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/lib/csu/common/Makefile.inc

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



CVS commit: src/sys/dev/usb

2016-05-10 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue May 10 10:40:33 UTC 2016

Modified Files:
src/sys/dev/usb: ucom.c

Log Message:
Fixup ucom_cleanup to not forget our pipe handles.

Simplify ucomreadcb by dealing with the USBD_CANCELLED separately and
not taking sc_lock.  We can't hold sc_lock while aborting now.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/sys/dev/usb/ucom.c

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



CVS commit: src/sys/dev/usb

2016-05-10 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue May 10 15:14:03 UTC 2016

Modified Files:
src/sys/dev/usb: ohci.c uhci.c xhci.c

Log Message:
sprinkle _KERNEL_OPT


To generate a diff of this commit:
cvs rdiff -u -r1.262 -r1.263 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.272 -r1.273 src/sys/dev/usb/uhci.c
cvs rdiff -u -r1.45 -r1.46 src/sys/dev/usb/xhci.c

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



CVS commit: src/bin/sh

2016-05-10 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Tue May 10 15:14:30 UTC 2016

Modified Files:
src/bin/sh: eval.c

Log Message:
PR bin/48875 - minor correction (well, not so minor) - commands in loops
must be assumed to have something following, even if the loop itself doesn't,
so redirected fd's around func calls need to be saved.   Should fix etcupdate


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/bin/sh/eval.c

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



CVS commit: src/sys/fs/udf

2016-05-10 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue May 10 15:23:39 UTC 2016

Modified Files:
src/sys/fs/udf: udf.h udf_subr.c

Log Message:
Rework VAT searching on recordable media. It is now a lot more resilliant to
errors and it allows for VAT searching on crashed writeouts.

While here, make sure the node pointer is always initialised in
udf_get_node().


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/fs/udf/udf.h
cvs rdiff -u -r1.136 -r1.137 src/sys/fs/udf/udf_subr.c

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



CVS commit: [netbsd-7] src/sys/fs/tmpfs

2016-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue May 10 19:04:15 UTC 2016

Modified Files:
src/sys/fs/tmpfs [netbsd-7]: tmpfs_vnops.c

Log Message:
Pull up following revision(s) (requested by joerg in ticket #1163):
sys/fs/tmpfs/tmpfs_vnops.c: revision 1.125
do not access uninitialized variables in KASSERTs - fixes build


To generate a diff of this commit:
cvs rdiff -u -r1.120.2.2 -r1.120.2.3 src/sys/fs/tmpfs/tmpfs_vnops.c

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



CVS commit: [netbsd-7] src/doc

2016-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue May 10 19:04:37 UTC 2016

Modified Files:
src/doc [netbsd-7]: CHANGES-7.1

Log Message:
amend 1163


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.84 -r1.1.2.85 src/doc/CHANGES-7.1

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



CVS commit: src/sys/arch/sparc64

2016-05-10 Thread Palle Lyckegaard
Module Name:src
Committed By:   palle
Date:   Tue May 10 19:24:00 UTC 2016

Modified Files:
src/sys/arch/sparc64/dev: fhc.c psycho.c pyro.c sbus.c schizo.c vpci.c
src/sys/arch/sparc64/include: cpu.h
src/sys/arch/sparc64/sparc64: genassym.cf intr.c locore.s

Log Message:
sun4v: make device interrupts work. Introduce a new intrhand_alloc() function 
for allocation of interrupt handlers and adapt to this. Parts from OpenBSD. ok 
martin@


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sparc64/dev/fhc.c
cvs rdiff -u -r1.123 -r1.124 src/sys/arch/sparc64/dev/psycho.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/sparc64/dev/pyro.c
cvs rdiff -u -r1.93 -r1.94 src/sys/arch/sparc64/dev/sbus.c
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/sparc64/dev/schizo.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/sparc64/dev/vpci.c
cvs rdiff -u -r1.118 -r1.119 src/sys/arch/sparc64/include/cpu.h
cvs rdiff -u -r1.76 -r1.77 src/sys/arch/sparc64/sparc64/genassym.cf
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/sparc64/sparc64/intr.c
cvs rdiff -u -r1.390 -r1.391 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.



CVS commit: src/doc

2016-05-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue May 10 19:32:47 UTC 2016

Modified Files:
src/doc: HACKS

Log Message:
move the ufs_lookup hack to the global section and update it to current
reality.  add a section for the crt hacks.


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

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



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

2016-05-10 Thread Palle Lyckegaard
Module Name:src
Committed By:   palle
Date:   Tue May 10 19:35:08 UTC 2016

Modified Files:
src/sys/arch/sparc64/doc: TODO

Log Message:
Update TODO: sun4v interrupts works (mostly) + note issue with mpt(4) on sun4v 
systems


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/sparc64/doc/TODO

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



CVS commit: src/sys/rump/dev/lib/libpci

2016-05-10 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue May 10 19:38:29 UTC 2016

Modified Files:
src/sys/rump/dev/lib/libpci: Makefile

Log Message:
Avoid '.' in variable names which are expected to be passed to
this Makefile via the env.

That character is strictly speaking not allowed by POSIX in an exported
variable name, and at least dash >= 0.58 refuses to export such variables.

Furthermore, since the individual CFLAGS/CPPFLAGS/etc. variables
are not comprehensive enough for all cases (e.g. HURD), just
support the .includable version from now on, i.e.
RUMPCOMP_MAKEFILEINC_rumpdev_pci.

curious failure mode debugged by Martin Lucina


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/rump/dev/lib/libpci/Makefile

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

2016-05-10 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue May 10 21:13:48 UTC 2016

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

Log Message:
More debug


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/dev/ic/sl811hs.c

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

2016-05-10 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue May 10 21:15:54 UTC 2016

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

Log Message:
Remove comment about splusb and replace with KASSERT(mutex_owned())


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/dev/ic/sl811hs.c

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



CVS commit: [netbsd-6] src/sys/dev/usb

2016-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue May 10 23:10:59 UTC 2016

Modified Files:
src/sys/dev/usb [netbsd-6]: uslsa.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1381):
sys/dev/usb/uslsa.c: revision 1.19
Improve support for the CP2104. This particular device has a higher maximum
baud rate and thus the SLSA_R_SET_BAUDDIV sets the wrong rate.
Changed to code to use the SLSA_R_SET_BAUDRATE command and providing a
fallback for the old SLSA_R_SET_BAUDDIV command if the device doesn't
recognize the command. Unknown yet if the CP2101 has this command or not.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.18.2.1 src/sys/dev/usb/uslsa.c

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



CVS commit: [netbsd-6-1] src/sys/miscfs/specfs

2016-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue May 10 23:14:45 UTC 2016

Modified Files:
src/sys/miscfs/specfs [netbsd-6-1]: spec_vnops.c

Log Message:
Pull up following revision(s) (requested by hannken in ticket #1376):
sys/miscfs/specfs/spec_vnops.c: revisions 1.161, 1.162 via patch
Whhen spec_strategy() extracts v_rdev take care to avoid a
race with spec_revoke.
Fixes PR kern/50467 Panic from disconnecting phone while reading its contents
--
Avoid a race with spec_revoke for the assertion too.
Final fix for PR kern/50467 Panic from disconnecting phone while reading
its contents


To generate a diff of this commit:
cvs rdiff -u -r1.134.8.1 -r1.134.8.1.6.1 src/sys/miscfs/specfs/spec_vnops.c

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



CVS commit: [netbsd-6] src/sys/miscfs/specfs

2016-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue May 10 23:14:32 UTC 2016

Modified Files:
src/sys/miscfs/specfs [netbsd-6]: spec_vnops.c

Log Message:
Pull up following revision(s) (requested by hannken in ticket #1376):
sys/miscfs/specfs/spec_vnops.c: revisions 1.161, 1.162 via patch
Whhen spec_strategy() extracts v_rdev take care to avoid a
race with spec_revoke.
Fixes PR kern/50467 Panic from disconnecting phone while reading its contents
--
Avoid a race with spec_revoke for the assertion too.
Final fix for PR kern/50467 Panic from disconnecting phone while reading
its contents


To generate a diff of this commit:
cvs rdiff -u -r1.134.8.1 -r1.134.8.2 src/sys/miscfs/specfs/spec_vnops.c

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



CVS commit: [netbsd-6-0] src/sys/miscfs/specfs

2016-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue May 10 23:15:05 UTC 2016

Modified Files:
src/sys/miscfs/specfs [netbsd-6-0]: spec_vnops.c

Log Message:
Pull up following revision(s) (requested by hannken in ticket #1376):
sys/miscfs/specfs/spec_vnops.c: revisions 1.161, 1.162 via patch
Whhen spec_strategy() extracts v_rdev take care to avoid a
race with spec_revoke.
Fixes PR kern/50467 Panic from disconnecting phone while reading its contents
--
Avoid a race with spec_revoke for the assertion too.
Final fix for PR kern/50467 Panic from disconnecting phone while reading
its contents


To generate a diff of this commit:
cvs rdiff -u -r1.134.8.1 -r1.134.8.1.4.1 src/sys/miscfs/specfs/spec_vnops.c

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



CVS commit: [netbsd-6] src/doc

2016-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue May 10 23:17:59 UTC 2016

Modified Files:
src/doc [netbsd-6]: CHANGES-6.2

Log Message:
1376, 1381


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.248 -r1.1.2.249 src/doc/CHANGES-6.2

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



CVS commit: [netbsd-6-1] src/doc

2016-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue May 10 23:18:37 UTC 2016

Modified Files:
src/doc [netbsd-6-1]: CHANGES-6.1.6

Log Message:
1376


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.64 -r1.1.2.65 src/doc/CHANGES-6.1.6

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



CVS commit: [netbsd-6-0] src/doc

2016-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue May 10 23:18:17 UTC 2016

Modified Files:
src/doc [netbsd-6-0]: CHANGES-6.0.7

Log Message:
1376


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.66 -r1.1.2.67 src/doc/CHANGES-6.0.7

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

2016-05-10 Thread Simon J. Gerraty
Module Name:src
Committed By:   sjg
Date:   Tue May 10 23:45:45 UTC 2016

Modified Files:
src/usr.bin/make: make.1 meta.c

Log Message:
Allow for ignoring paths that match a set of patterns.
This can be expensive, so use with caution.


To generate a diff of this commit:
cvs rdiff -u -r1.256 -r1.257 src/usr.bin/make/make.1
cvs rdiff -u -r1.55 -r1.56 src/usr.bin/make/meta.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/i386/conf

2016-05-10 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed May 11 02:09:10 UTC 2016

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Enable nouveau in i386/ALL.  Omit incorrect option NV_DEBUG.

NV_DEBUG does not appear except as a macro function in nouveau, which
is broken by defining it on the command line.

>From coypu.


To generate a diff of this commit:
cvs rdiff -u -r1.397 -r1.398 src/sys/arch/i386/conf/ALL

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



CVS commit: src/sys/kern

2016-05-10 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed May 11 02:18:27 UTC 2016

Modified Files:
src/sys/kern: kern_exec.c

Log Message:
Fix builds of ALL kernels that define DEBUG_EXEC


To generate a diff of this commit:
cvs rdiff -u -r1.428 -r1.429 src/sys/kern/kern_exec.c

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



CVS commit: src/sys/dev/pci

2016-05-10 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed May 11 02:23:50 UTC 2016

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

Log Message:
Do I219 TX DMA workaround only when TDLEN(0) != 0


To generate a diff of this commit:
cvs rdiff -u -r1.394 -r1.395 src/sys/dev/pci/if_wm.c

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



CVS commit: src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine

2016-05-10 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed May 11 02:28:34 UTC 2016

Modified Files:
src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device:
nouveau_engine_device_base.c
src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo:
nouveau_engine_fifo_base.c

Log Message:
Use bus_space_subregion to get fifo channels out of mmio registers.

Evidently it is not enough to just map them separately.  Ran out of
time to investigate why, last time I poked at this and confirmed this
change works.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \

src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/nouveau_engine_device_base.c
cvs rdiff -u -r1.4 -r1.5 \

src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nouveau_engine_fifo_base.c

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



CVS commit: src/sys/lib/libkern

2016-05-10 Thread Tyler R. Retzlaff
Module Name:src
Committed By:   rtr
Date:   Wed May 11 03:17:22 UTC 2016

Modified Files:
src/sys/lib/libkern: libkern.h

Log Message:
provide const versions of container_of macros.

discussed with riastradh@ by email


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/sys/lib/libkern/libkern.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/pci

2016-05-10 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Wed May 11 03:46:06 UTC 2016

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

Log Message:
Interrupt handlers read wm_rxqueue or wm_txqueue, so they must be freed after
disestablishing interrupt handlers.


To generate a diff of this commit:
cvs rdiff -u -r1.395 -r1.396 src/sys/dev/pci/if_wm.c

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



CVS commit: src/sys/dev/pci

2016-05-10 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed May 11 04:37:09 UTC 2016

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

Log Message:
Fix compile error on some archs (e.g. i386).


To generate a diff of this commit:
cvs rdiff -u -r1.396 -r1.397 src/sys/dev/pci/if_wm.c

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



CVS commit: src/sys/dev/pci

2016-05-10 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed May 11 05:12:57 UTC 2016

Modified Files:
src/sys/dev/pci: pci_subr.c pcireg.h

Log Message:
Add Precision Time Management (PTM) ECN.


To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 src/sys/dev/pci/pci_subr.c
cvs rdiff -u -r1.112 -r1.113 src/sys/dev/pci/pcireg.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

2016-05-10 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed May 11 06:07:52 UTC 2016

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

Log Message:
fix build


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/dev/ic/sl811hs.c

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



CVS commit: src/sys/dev/usb

2016-05-10 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed May 11 06:38:04 UTC 2016

Modified Files:
src/sys/dev/usb: uplcom.c

Log Message:
Pullin opt_usb for UPLCOM_DEBUG


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/dev/usb/uplcom.c

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



CVS commit: src/sys/conf

2016-05-10 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed May 11 06:42:06 UTC 2016

Modified Files:
src/sys/conf: majors

Log Message:
Update with info about tty/storage reservations


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/conf/majors

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