CVS commit: src/sys/dev/pci

2017-01-30 Thread Pierre Pronchery
Module Name:src
Committed By:   khorben
Date:   Tue Jan 31 00:58:15 UTC 2017

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

Log Message:
Always allow hdaudio(4) to suspend

Sometimes hdaudio(4) can fail to attach, but the device remains in the
tree. Even though the PMF registration is performed, it is explicitly
de-registered in the code path for errors - therefore preventing suspending
later. This patch makes sure PMF registration is performed accordingly upon
errors as well.

No objection on tech-kern@.

Tested on a Lenovo ThinkPad T440s (amd64).

XXX pull-up to netbsd-7


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/hdaudio_pci.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

2017-01-30 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Tue Jan 31 03:06:06 UTC 2017

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

Log Message:
remove obsolete comment. wm(4) vlan have already tested on I354.


To generate a diff of this commit:
cvs rdiff -u -r1.471 -r1.472 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/share/misc

2017-01-30 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jan 31 03:44:14 UTC 2017

Modified Files:
src/share/misc: acronyms

Log Message:
NB: nota bene


To generate a diff of this commit:
cvs rdiff -u -r1.251 -r1.252 src/share/misc/acronyms

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

2017-01-30 Thread Simon J. Gerraty
Module Name:src
Committed By:   sjg
Date:   Tue Jan 31 06:54:24 UTC 2017

Modified Files:
src/usr.bin/make: dir.c main.c

Log Message:
Partially initialize Dir before MainParseArgs can be called.

The rest can be done once curdir is finalized.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/usr.bin/make/dir.c
cvs rdiff -u -r1.254 -r1.255 src/usr.bin/make/main.c

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

2017-01-30 Thread Simon J. Gerraty
Module Name:src
Committed By:   sjg
Date:   Tue Jan 31 07:00:59 UTC 2017

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

Log Message:
Use VAR_INTERNAL when calling ApplyModifiers for VAR_{CMD,GLOBAL} only.


To generate a diff of this commit:
cvs rdiff -u -r1.210 -r1.211 src/usr.bin/make/var.c

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



CVS commit: [nick-nhusb] src/sys/dev/usb

2017-01-30 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Jan 31 07:25:34 UTC 2017

Modified Files:
src/sys/dev/usb [nick-nhusb]: ohci.c

Log Message:
Sync with HEAD


To generate a diff of this commit:
cvs rdiff -u -r1.254.2.84 -r1.254.2.85 src/sys/dev/usb/ohci.c

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



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

2017-01-30 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Jan 31 07:26:39 UTC 2017

Modified Files:
src/sys/dev/usb [netbsd-7-nhusb]: ohci.c

Log Message:
Sync with HEAD


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

2017-01-30 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Jan 31 07:34:02 UTC 2017

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

Log Message:
Improve the usb_syncmem calls in ohci_reset_std_chain.

Might help kern/51928: Errors reading a USB pen drive on macppc 7.99.59


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

2017-01-30 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Mon Jan 30 09:33:38 UTC 2017

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

Log Message:
fix endianness of "rsshash"(currently, used for debug message only) and tabify.


To generate a diff of this commit:
cvs rdiff -u -r1.470 -r1.471 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/external/bsd/libpcap/include

2017-01-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jan 30 13:15:16 UTC 2017

Modified Files:
src/external/bsd/libpcap/include: config.h

Log Message:
we have a cloning bpf, the config test is broken


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/libpcap/include/config.h

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



CVS commit: src/external/bsd/tcpdump/dist

2017-01-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jan 30 13:15:43 UTC 2017

Modified Files:
src/external/bsd/tcpdump/dist: tcpdump.c

Log Message:
protect variable with the macro that uses it.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/bsd/tcpdump/dist/tcpdump.c

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



CVS commit: src/external/bsd/tcpdump/include

2017-01-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jan 30 13:27:26 UTC 2017

Modified Files:
src/external/bsd/tcpdump/include: config.h

Log Message:
broken test.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/bsd/tcpdump/include/config.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/bta2dpd

2017-01-30 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Mon Jan 30 14:55:17 UTC 2017

Modified Files:
src/usr.sbin/bta2dpd/cosdata-gen: cosdata.c
src/usr.sbin/bta2dpd/sbc_crc-gen: sbc_crc.c

Log Message:
Improve portability baseline of bta2dpd's cosdata-gen and sbc_crc-gen hostprogs.

XXX why are these being generated at build time?


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/bta2dpd/cosdata-gen/cosdata.c
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/bta2dpd/sbc_crc-gen/sbc_crc.c

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



CVS commit: src/lib/libcurses

2017-01-30 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Mon Jan 30 14:55:58 UTC 2017

Modified Files:
src/lib/libcurses: curses.c curses_private.h get_wch.c getch.c
ins_wch.c ins_wstr.c setterm.c

Log Message:
If either set_escdelay(3) or set_tabsize(3) are called, set _reentrant
to ensure we use the saved value for the sceen.

This effectively makes ESCDELAY and TABSIZE read-only when either
of these functions are called.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/lib/libcurses/curses.c
cvs rdiff -u -r1.60 -r1.61 src/lib/libcurses/curses_private.h
cvs rdiff -u -r1.12 -r1.13 src/lib/libcurses/get_wch.c
cvs rdiff -u -r1.62 -r1.63 src/lib/libcurses/getch.c
cvs rdiff -u -r1.9 -r1.10 src/lib/libcurses/ins_wch.c \
src/lib/libcurses/ins_wstr.c
cvs rdiff -u -r1.61 -r1.62 src/lib/libcurses/setterm.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/bta2dpd/sbc_crc-gen

2017-01-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jan 30 15:56:44 UTC 2017

Modified Files:
src/usr.sbin/bta2dpd/sbc_crc-gen: sbc_crc.c

Log Message:
KNF.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/bta2dpd/sbc_crc-gen/sbc_crc.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/bta2dpd/cosdata-gen

2017-01-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jan 30 15:50:21 UTC 2017

Modified Files:
src/usr.sbin/bta2dpd/cosdata-gen: cosdata.c

Log Message:
dedup.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/bta2dpd/cosdata-gen/cosdata.c

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



CVS commit: src/lib/libcurses

2017-01-30 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Mon Jan 30 16:50:44 UTC 2017

Modified Files:
src/lib/libcurses: getch.c setterm.c

Log Message:
Check _cursesi_term is set in a few places and sprinkle some static.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/lib/libcurses/getch.c
cvs rdiff -u -r1.62 -r1.63 src/lib/libcurses/setterm.c

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



CVS commit: src/lib/libcurses

2017-01-30 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Mon Jan 30 17:15:52 UTC 2017

Modified Files:
src/lib/libcurses: slk.c

Log Message:
Just return ERR instead of asserting if someone calls the slk routines
to affect the ripped off window before the window is actually ripped off.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libcurses/slk.c

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



CVS commit: src/crypto/external/bsd/heimdal/dist/lib/krb5

2017-01-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jan 30 18:59:04 UTC 2017

Modified Files:
src/crypto/external/bsd/heimdal/dist/lib/krb5: context.c

Log Message:
fix deleted line.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
src/crypto/external/bsd/heimdal/dist/lib/krb5/context.c

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



CVS commit: src/crypto/external/bsd/heimdal/dist/lib/gssapi/netlogon

2017-01-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jan 30 20:27:58 UTC 2017

Modified Files:
src/crypto/external/bsd/heimdal/dist/lib/gssapi/netlogon:
accept_sec_context.c acquire_cred.c add_cred.c canonicalize_name.c
compare_name.c display_name.c duplicate_name.c export_name.c
init_sec_context.c inquire_cred.c inquire_cred_by_mech.c
inquire_mechs_for_name.c

Log Message:
minimize changes with branch


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \

src/crypto/external/bsd/heimdal/dist/lib/gssapi/netlogon/accept_sec_context.c \
src/crypto/external/bsd/heimdal/dist/lib/gssapi/netlogon/acquire_cred.c \
src/crypto/external/bsd/heimdal/dist/lib/gssapi/netlogon/add_cred.c \

src/crypto/external/bsd/heimdal/dist/lib/gssapi/netlogon/canonicalize_name.c \
src/crypto/external/bsd/heimdal/dist/lib/gssapi/netlogon/compare_name.c \
src/crypto/external/bsd/heimdal/dist/lib/gssapi/netlogon/display_name.c \
src/crypto/external/bsd/heimdal/dist/lib/gssapi/netlogon/duplicate_name.c \
src/crypto/external/bsd/heimdal/dist/lib/gssapi/netlogon/export_name.c \
src/crypto/external/bsd/heimdal/dist/lib/gssapi/netlogon/init_sec_context.c 
\
src/crypto/external/bsd/heimdal/dist/lib/gssapi/netlogon/inquire_cred.c \

src/crypto/external/bsd/heimdal/dist/lib/gssapi/netlogon/inquire_cred_by_mech.c 
\

src/crypto/external/bsd/heimdal/dist/lib/gssapi/netlogon/inquire_mechs_for_name.c

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



CVS commit: src/doc

2017-01-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jan 30 20:39:36 UTC 2017

Modified Files:
src/doc: 3RDPARTY

Log Message:
update openldap version


To generate a diff of this commit:
cvs rdiff -u -r1.1404 -r1.1405 src/doc/3RDPARTY

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

2017-01-30 Thread Palle Lyckegaard
Module Name:src
Committed By:   palle
Date:   Mon Jan 30 21:24:33 UTC 2017

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

Log Message:
sun4v: Hook up syscall handling to the trap table. Verified using qemu for both 
sun4u and sun4v.


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

2017-01-30 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Jan 30 21:27:19 UTC 2017

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

Log Message:
Fix the range check for a single TD maximum transfer length

kern/51528 usb_mem.c panic triggered by mounting USB pen drive


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

2017-01-30 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Jan 30 21:32:39 UTC 2017

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

Log Message:
Apply De Morgan's law to the TD maximum transfer length check logic and
wrap the long line


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

2017-01-30 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Jan 30 21:34:20 UTC 2017

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

Log Message:
Oops missed a )


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

2017-01-30 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Jan 30 21:35:59 UTC 2017

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

Log Message:
Simplify an expression using the OHCI_PAGE_OFFSET macro


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

2017-01-30 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Jan 30 21:39:08 UTC 2017

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

Log Message:
Sprinkle some const


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

2017-01-30 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Jan 30 21:42:08 UTC 2017

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

Log Message:
Update edataphys if we truncate to the maximum TD length possible


To generate a diff of this commit:
cvs rdiff -u -r1.270 -r1.271 src/sys/dev/usb/ohci.c

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