CVS commit: src/sys/dev/ic

2018-11-20 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Tue Nov 20 08:47:55 UTC 2018

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

Log Message:
also set WDCTL_4BIT for the softreset, seems this one is actually also
required to fully resolve the problem

PR kern/48214 PR kern/53307 PR kern/53524


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/dev/ic/ahcisata_core.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/nsd/dist

2018-11-20 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Nov 20 10:03:39 UTC 2018

Modified Files:
src/external/bsd/nsd/dist: server.c

Log Message:
Fix NSD when built with --enable-recvmmsg:

When resetting a query with query_reset(queries[i], ...) always restore the
corresponding msgs[i].msg_hdr.msg_namelen from queries[i]->addrlen.

After receiving a message set queries[i]->addrlen to the received msg_namelen.

Reported upstream, will be fixed for 4.1.26


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.2 src/external/bsd/nsd/dist/server.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

2018-11-20 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Nov 20 12:23:02 UTC 2018

Modified Files:
src/sys/dev/pci: ahcisata_pci.c files.pci

Log Message:
Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/pci/ahcisata_pci.c
cvs rdiff -u -r1.408 -r1.409 src/sys/dev/pci/files.pci

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

2018-11-20 Thread Patrick Welche
Module Name:src
Committed By:   prlw1
Date:   Tue Nov 20 15:16:43 UTC 2018

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

Log Message:
Trivial build fix


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/pci/ahcisata_pci.c

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



CVS commit: [netbsd-8] src/external/bsd/nsd/dist

2018-11-20 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Nov 20 16:02:50 UTC 2018

Modified Files:
src/external/bsd/nsd/dist [netbsd-8]: server.c

Log Message:
Pull up following revision(s) (requested by hannken in ticket #1098):

external/bsd/nsd/dist/server.c: revision 1.2

Fix NSD when built with --enable-recvmmsg:

When resetting a query with query_reset(queries[i], ...) always restore the
corresponding msgs[i].msg_hdr.msg_namelen from queries[i]->addrlen.

After receiving a message set queries[i]->addrlen to the received msg_namelen.

Reported upstream, will be fixed for 4.1.26


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.8.1 -r1.1.1.1.8.2 src/external/bsd/nsd/dist/server.c

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



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

2018-11-20 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Nov 20 16:05:38 UTC 2018

Modified Files:
src/sys/dev/usb [netbsd-8]: usb_quirks.c usb_quirks.h usbdi.c

Log Message:
Pull up following revision(s) (requested by manu in ticket #1099):

sys/dev/usb/usb_quirks.c: revision 1.90
sys/dev/usb/usbdi.c: revision 1.179
sys/dev/usb/usb_quirks.h: revision 1.29
sys/dev/usb/usbdi.c: revision 1.180

Workaround NBP PN533 USB toggle bit bugs

The PN533 is known to mishandle the USB toggle bit, causing replies to
be filtered out by the host controller. As a result, the kernel sees
a timed out operation.

Vendor errata suggests that userland applications should detect the
situation on read timeout, and write a dumy frame to resync the toggle bit.
NFC Tools's libnfc does just that, but in order to succeed, the dummy
frame write must not be reported as timed out.

We therefore introduce a new USB quirk for devices known to miss output
acks. When that occur, we pretend that the operation succeeded, leaving
userland the duty to check that everything went okay.

This workaround lets libnfc recover from interrupted communications
without the need te reboot the system.

 -

Build fix
>From David H. Gutteridge


To generate a diff of this commit:
cvs rdiff -u -r1.86.8.1 -r1.86.8.2 src/sys/dev/usb/usb_quirks.c
cvs rdiff -u -r1.27.10.1 -r1.27.10.2 src/sys/dev/usb/usb_quirks.h
cvs rdiff -u -r1.173.2.3 -r1.173.2.4 src/sys/dev/usb/usbdi.c

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



CVS commit: [netbsd-8] src/doc

2018-11-20 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Nov 20 16:06:49 UTC 2018

Modified Files:
src/doc [netbsd-8]: CHANGES-8.1

Log Message:
Ticket #1098 and #1099


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.58 -r1.1.2.59 src/doc/CHANGES-8.1

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



CVS commit: src/lib/libcurses

2018-11-20 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Nov 20 17:48:19 UTC 2018

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

Log Message:
Fix color pair handling.  color_pair argument is a pair number.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libcurses/cchar.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/sysinst

2018-11-20 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Nov 20 19:02:07 UTC 2018

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c label.c mbr.c partman.c run.c

Log Message:
Convert all static menu struct initializiations to C99 name initializer
format - prerequisite for an upcoming evil hack (tm).
No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/sysinst/bsddisklabel.c
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/label.c
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/sysinst/mbr.c
cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/sysinst/partman.c
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/run.c

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



CVS commit: src/sys/coda

2018-11-20 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Nov 20 19:05:25 UTC 2018

Modified Files:
src/sys/coda: coda_vnops.c

Log Message:
Fix locking for readdir code (Brett Lymn)


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/sys/coda/coda_vnops.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

2018-11-20 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Tue Nov 20 19:19:21 UTC 2018

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

Log Message:
s/failing/failed/ for the aprint_error()


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/dev/ic/ahcisata_core.c

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



CVS commit: src/sys/uvm

2018-11-20 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Tue Nov 20 20:07:20 UTC 2018

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

Log Message:
need to use PGO_NOBLOCKALLOC also in ubc_alloc_direct() case, same
as non-direct code - otherwise the code tries to acquire the wapbl
lock again in genfs_getpages(), and panic due to locking against itself

towards PR kern/53124


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/sys/uvm/uvm_bio.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/ia64/ia64

2018-11-20 Thread Sean Cole
Module Name:src
Committed By:   scole
Date:   Tue Nov 20 20:36:24 UTC 2018

Modified Files:
src/sys/arch/ia64/ia64: genassym.cf locore.S

Log Message:
add IA64_DCR_DEFAULT, more changes from FreeBSD


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/ia64/ia64/genassym.cf
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/ia64/ia64/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/arch/aarch64/include

2018-11-20 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Tue Nov 20 20:53:50 UTC 2018

Modified Files:
src/sys/arch/aarch64/include: pmap.h

Log Message:
Implement PMAP_DIRECT / pmap_direct_process() in support of experimental
UBC optimizations (compile-tested only for now)

PR kern/53124


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/aarch64/include/pmap.h

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



CVS commit: src/lib/libcurses

2018-11-20 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Nov 20 21:41:31 UTC 2018

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

Log Message:
Don't hide assignments inside tests.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libcurses/cchar.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

2018-11-20 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Nov 20 21:42:52 UTC 2018

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

Log Message:
Drop bogus cast.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libcurses/cchar.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

2018-11-20 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Nov 20 22:02:31 UTC 2018

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

Log Message:
Compare pointers to NULL, not to zero.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libcurses/cchar.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/x86/include

2018-11-20 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Nov 21 06:09:49 UTC 2018

Modified Files:
src/sys/arch/x86/include: specialreg.h

Log Message:
Modify comment. No functional change:
- AMD also has CPUID 0x06 and 0x0d.
- PCOMMIT was obsoleted.


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 src/sys/arch/x86/include/specialreg.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/cpuctl/arch

2018-11-20 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Nov 21 06:10:25 UTC 2018

Modified Files:
src/usr.sbin/cpuctl/arch: i386.c

Log Message:
- Use ci_feat_val[7] as CPUID 7 %edx to match x86/cpu.h
- AMD also has CPUID 6.
- Remove unused code for coretemp.
- Consistently use descs[] instead of data[].


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/usr.sbin/cpuctl/arch/i386.c

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