CVS commit: src/sys/dev/usb

2016-05-22 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun May 22 07:52:09 UTC 2016

Modified Files:
src/sys/dev/usb: ohcivar.h

Log Message:
Add a comment and reformat some others


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/dev/usb/ohcivar.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/usb

2016-05-22 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun May 22 08:02:23 UTC 2016

Modified Files:
src/sys/dev/usb: ohcivar.h

Log Message:
More comments


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/dev/usb/ohcivar.h

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



CVS commit: src/sys/uvm

2016-05-22 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun May 22 09:10:37 UTC 2016

Modified Files:
src/sys/uvm: uvm_glue.c

Log Message:
Revert my previous change. I missed an entry on NXR.


To generate a diff of this commit:
cvs rdiff -u -r1.162 -r1.163 src/sys/uvm/uvm_glue.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/amd64/amd64

2016-05-22 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun May 22 10:11:55 UTC 2016

Modified Files:
src/sys/arch/amd64/amd64: locore.S

Log Message:
Save L4's physical address earlier. Also, PDE_SIZE has nothing to do
here, we are just zeroing out the upper 32bits of the 64bit pointer.


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/amd64/amd64/locore.S

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/dev/ic

2016-05-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun May 22 10:24:50 UTC 2016

Modified Files:
src/sys/dev/ic [netbsd-7]: gem.c

Log Message:
Pull up following revision(s) (requested by jdc in ticket #1170):
sys/dev/ic/gem.c: revision 1.105
PR kern/46083
Track the start of each packet, so that we set the "Start of Frame" bit in
all the relevant transmit descriptors when enqueing multiple packets.
Patch from Valery Ushakov, slightly modified by me to handle debug output.
Tested on macppc/6.x and sparc64/7.99.x.


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.102.2.1 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: [netbsd-7-0] src/sys/dev/ic

2016-05-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun May 22 10:25:52 UTC 2016

Modified Files:
src/sys/dev/ic [netbsd-7-0]: gem.c

Log Message:
Pull up following revision(s) (requested by jdc in ticket #1170):
sys/dev/ic/gem.c: revision 1.105
PR kern/46083
Track the start of each packet, so that we set the "Start of Frame" bit in
all the relevant transmit descriptors when enqueing multiple packets.
Patch from Valery Ushakov, slightly modified by me to handle debug output.
Tested on macppc/6.x and sparc64/7.99.x.


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.102.6.1 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: [netbsd-7-0] src/doc

2016-05-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun May 22 10:26:41 UTC 2016

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

Log Message:
Ticket #1170


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.56 -r1.1.2.57 src/doc/CHANGES-7.0.1

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/modules/lua

2016-05-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun May 22 10:28:49 UTC 2016

Modified Files:
src/sys/modules/lua [netbsd-7]: lua.c

Log Message:
Pull up following revision(s) (requested by salazar in ticket #1171):
sys/modules/lua/lua.c: revision 1.17
fix double require bug


To generate a diff of this commit:
cvs rdiff -u -r1.13.2.2 -r1.13.2.3 src/sys/modules/lua/lua.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-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun May 22 10:29:51 UTC 2016

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

Log Message:
Tickets #1170 and #1171


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.91 -r1.1.2.92 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: [netbsd-7-0] src

2016-05-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 22 10:48:37 UTC 2016

Modified Files:
src/distrib/notes/common [netbsd-7-0]: main
src/doc [netbsd-7-0]: CHANGES-7.0.1 LAST_MINUTE README.files
src/gnu/usr.bin/groff/tmac [netbsd-7-0]: mdoc.local
src/sys/sys [netbsd-7-0]: param.h

Log Message:
Welcome to 7.0.1!


To generate a diff of this commit:
cvs rdiff -u -r1.510.4.7 -r1.510.4.7.2.1 src/distrib/notes/common/main
cvs rdiff -u -r1.1.2.57 -r1.1.2.58 src/doc/CHANGES-7.0.1
cvs rdiff -u -r1.2.52.1 -r1.2.52.1.2.1 src/doc/LAST_MINUTE
cvs rdiff -u -r1.5.12.2 -r1.5.12.2.2.1 src/doc/README.files
cvs rdiff -u -r1.75.4.1.2.1 -r1.75.4.1.2.2 \
src/gnu/usr.bin/groff/tmac/mdoc.local
cvs rdiff -u -r1.459.2.6.2.1 -r1.459.2.6.2.2 src/sys/sys/param.h

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



CVS commit: [netbsd-7-0] src

2016-05-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 22 11:14:49 UTC 2016

Modified Files:
src/gnu/usr.bin/groff/tmac [netbsd-7-0]: mdoc.local
src/sys/sys [netbsd-7-0]: param.h
Added Files:
src/doc [netbsd-7-0]: CHANGES-7.0.2

Log Message:
7.0.1_PATCH


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/doc/CHANGES-7.0.2
cvs rdiff -u -r1.75.4.1.2.2 -r1.75.4.1.2.3 \
src/gnu/usr.bin/groff/tmac/mdoc.local
cvs rdiff -u -r1.459.2.6.2.2 -r1.459.2.6.2.3 src/sys/sys/param.h

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



CVS commit: src/sys

2016-05-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May 22 14:26:10 UTC 2016

Modified Files:
src/sys/kern: exec_elf.c exec_subr.c init_main.c kern_exec.c kern_pax.c
src/sys/sys: pax.h
src/sys/uvm: uvm_mmap.c

Log Message:
reduce #ifdef mess caused by PaX


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/sys/kern/exec_elf.c
cvs rdiff -u -r1.75 -r1.76 src/sys/kern/exec_subr.c
cvs rdiff -u -r1.479 -r1.480 src/sys/kern/init_main.c
cvs rdiff -u -r1.429 -r1.430 src/sys/kern/kern_exec.c
cvs rdiff -u -r1.48 -r1.49 src/sys/kern/kern_pax.c
cvs rdiff -u -r1.20 -r1.21 src/sys/sys/pax.h
cvs rdiff -u -r1.156 -r1.157 src/sys/uvm/uvm_mmap.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/makemandb

2016-05-22 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sun May 22 19:26:04 UTC 2016

Modified Files:
src/usr.sbin/makemandb: apropos.1 apropos.c whatis.1 whatis.c

Log Message:
Add options to whatis and apropos to accept custom man.conf.

makemandb(8), man(1) already use -C as an option to take man.conf path,
so use the same option for whatis(1) and apropos(1) for consitency.
apropos was using -C/-c to disable/enable context of the search
matches, change that to -M/-m respectively.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/makemandb/apropos.1
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/makemandb/apropos.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/makemandb/whatis.1
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/makemandb/whatis.c

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



CVS commit: src/libexec/ld.elf_so

2016-05-22 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sun May 22 19:28:39 UTC 2016

Modified Files:
src/libexec/ld.elf_so: headers.c

Log Message:
obj->phdr must be the absolute address, not the virtual offset from the
main binary. Historically, this has been the same. For PIE though,
relocbase can be pretty much anywhere. Fixes PR toolchain/51159.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/libexec/ld.elf_so/headers.c

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



CVS commit: src/lib/libedit

2016-05-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May 22 19:44:26 UTC 2016

Modified Files:
src/lib/libedit: chared.c chared.h common.c el.c read.c read.h

Log Message:
Stop the read module from poking the el_chared.c_macro data structure
currently belonging to the chared module.  The read module does so
from three of its functions, while no other module uses the macro
data, not even the chared module itself.  That's quite logical
because macros are a feature of input handling, all of which is
done by the read module, and none by the chared module.  So move
the data into the read modules's own opaque data structure, struct
el_read_t.

That simplifies internal interfaces in several respects: The
semi-public chared.h has one fewer struct, one fewer #define, and
one fewer member in struct el_chared_t; all three move to one single
C file, read.c, and are now module-local.  And the internal interface
function ch_reset() needs one fewer argument, making the code of many
functions in various modules more readable.

The price is one additional internal interface function, read_end(),
10 lines long including comments, called publicly from exactly one
place: el_end() in el.c.  That's hardly an increase in complexity
since most other modules already have their *_end() function, read.c
was the odd one out not having one.

>From Ingo Schwarze


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/lib/libedit/chared.c
cvs rdiff -u -r1.29 -r1.30 src/lib/libedit/chared.h
cvs rdiff -u -r1.46 -r1.47 src/lib/libedit/common.c
cvs rdiff -u -r1.91 -r1.92 src/lib/libedit/el.c
cvs rdiff -u -r1.96 -r1.97 src/lib/libedit/read.c
cvs rdiff -u -r1.11 -r1.12 src/lib/libedit/read.h

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



CVS commit: src/sys/netinet

2016-05-22 Thread Robert Swindells
Module Name:src
Committed By:   rjs
Date:   Sun May 22 22:18:41 UTC 2016

Modified Files:
src/sys/netinet: sctp_pcb.c

Log Message:
Remove rtcache reference to route before freeing the containing struct.


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

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



CVS commit: src/sys/netinet

2016-05-22 Thread Robert Swindells
Module Name:src
Committed By:   rjs
Date:   Sun May 22 23:04:27 UTC 2016

Modified Files:
src/sys/netinet: sctputil.c sctputil.h

Log Message:
Use const for arguments to sctp_is_same_scope().


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/netinet/sctputil.c
cvs rdiff -u -r1.1 -r1.2 src/sys/netinet/sctputil.h

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



CVS commit: src/lib/libedit

2016-05-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May 22 23:54:20 UTC 2016

Modified Files:
src/lib/libedit: editline.3 editrc.5

Log Message:
documentation improvements (Ingo Schwarze)


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/lib/libedit/editline.3
cvs rdiff -u -r1.31 -r1.32 src/lib/libedit/editrc.5

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/dev

2016-05-22 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Mon May 23 01:45:41 UTC 2016

Modified Files:
src/sys/arch/macppc/dev: ofb.c

Log Message:
remove unused variables.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/macppc/dev/ofb.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-22 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Mon May 23 03:30:40 UTC 2016

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

Log Message:
GENERIC kernel (disabled NET_MPSAFE kernel) also needs txq_lock to avoid race
between tx processing and tx interrupt handler.


To generate a diff of this commit:
cvs rdiff -u -r1.407 -r1.408 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-22 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Mon May 23 04:07:30 UTC 2016

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

Log Message:
fix: ethernet controllers which use wiseman_txdesc_t (earlier than 82575) hang
possibly.


To generate a diff of this commit:
cvs rdiff -u -r1.408 -r1.409 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.