svn commit: r306579 - in head/sys: arm/conf arm/ti conf dev/evdev dev/usb/input modules modules/evdev modules/uinput

2016-10-01 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Oct 2 03:20:31 2016 New Revision: 306579 URL: https://svnweb.freebsd.org/changeset/base/306579 Log: Modularize evdev - Convert "options EVDEV" to "device evdev" and "device uinput", add modules for both new devices. They are isolated subsystems and do not

svn commit: r306578 - head/sys/dev/evdev

2016-10-01 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Oct 2 03:06:58 2016 New Revision: 306578 URL: https://svnweb.freebsd.org/changeset/base/306578 Log: Fix gcc compilation error input_absinfo.code is unsigned so condition is always false Modified: head/sys/dev/evdev/uinput.c Modified: head/sys/dev/evdev/uinput.c

svn commit: r306577 - head/sys/netinet

2016-10-01 Thread Eric van Gyzen
Author: vangyzen Date: Sun Oct 2 01:42:45 2016 New Revision: 306577 URL: https://svnweb.freebsd.org/changeset/base/306577 Log: Add GARP retransmit capability A single gratuitous ARP (GARP) is always transmitted when an IPv4 address is added to an interface, and that is usually

svn commit: r306571 - head/usr.sbin/rtsold

2016-10-01 Thread Mark Johnston
Author: markj Date: Sun Oct 2 00:56:21 2016 New Revision: 306571 URL: https://svnweb.freebsd.org/changeset/base/306571 Log: rtsold: Log messages about unexpected RAs at LOG_DEBUG. Because rtsold listens for RAs on a raw socket, it may receive RAs from interfaces that it does not manage.

svn commit: r306570 - in head/sys/cddl/dev/fbt: . arm powerpc x86

2016-10-01 Thread Mark Johnston
Author: markj Date: Sun Oct 2 00:35:00 2016 New Revision: 306570 URL: https://svnweb.freebsd.org/changeset/base/306570 Log: Allow tracing of functions prefixed by "__". This restriction was inherited from upstream but is not relevant on FreeBSD. Furthermore, it hindered the tracing of

svn commit: r306569 - head/include

2016-10-01 Thread Eric van Gyzen
Author: vangyzen Date: Sat Oct 1 23:08:26 2016 New Revision: 306569 URL: https://svnweb.freebsd.org/changeset/base/306569 Log: Add the __printflike attribute to the declaration of vdprintf(3) I intended to add this in r306568. MFC after:3 days Sponsored by: Dell EMC Modified:

svn commit: r306568 - head/include

2016-10-01 Thread Eric van Gyzen
Author: vangyzen Date: Sat Oct 1 22:34:38 2016 New Revision: 306568 URL: https://svnweb.freebsd.org/changeset/base/306568 Log: Add the __printflike attribute to the declaration of dprintf(3) MFC after:3 days Sponsored by: Dell EMC Modified: head/include/stdio.h Modified:

svn commit: r306567 - head/sys/dev/lmc

2016-10-01 Thread Eric van Gyzen
Author: vangyzen Date: Sat Oct 1 22:21:10 2016 New Revision: 306567 URL: https://svnweb.freebsd.org/changeset/base/306567 Log: lmc(4): fix the build without the bpf device "make buildkernel" now works with and without "device bpf". Reported by: Dave Mischler

svn commit: r306566 - head/usr.bin/kdump

2016-10-01 Thread John Baldwin
Author: jhb Date: Sat Oct 1 22:17:40 2016 New Revision: 306566 URL: https://svnweb.freebsd.org/changeset/base/306566 Log: Don't declare the 'temp' timeval as static. Modified: head/usr.bin/kdump/kdump.c Modified: head/usr.bin/kdump/kdump.c

svn commit: r306565 - head/usr.bin/kdump

2016-10-01 Thread John Baldwin
Author: jhb Date: Sat Oct 1 22:12:33 2016 New Revision: 306565 URL: https://svnweb.freebsd.org/changeset/base/306565 Log: Use timercmp() and timersub() in kdump. Previously, kdump used the kernel-only timervalsub() macro which required defining _KERNEL when including . Now, kdump uses

svn commit: r306564 - in head: sys/sys usr.bin/kdump

2016-10-01 Thread John Baldwin
Author: jhb Date: Sat Oct 1 22:08:07 2016 New Revision: 306564 URL: https://svnweb.freebsd.org/changeset/base/306564 Log: Expose kernel-only errno values if _WANT_KERNEL_ERRNO is defined. The kernel uses a few negative errno values for internal conditions such as requesting a system

svn commit: r306563 - head/usr.bin/kdump

2016-10-01 Thread John Baldwin
Author: jhb Date: Sat Oct 1 22:03:41 2016 New Revision: 306563 URL: https://svnweb.freebsd.org/changeset/base/306563 Log: Decode arguments to truncate and ftruncate. In particular, decode the off_t argument as a 64-bit argument to fix decoding for 32-bit processes. Modified:

svn commit: r306562 - head/usr.bin/kdump

2016-10-01 Thread John Baldwin
Author: jhb Date: Sat Oct 1 22:01:41 2016 New Revision: 306562 URL: https://svnweb.freebsd.org/changeset/base/306562 Log: Handle 64-bit system call arguments (off_t, id_t). In particular, 64-bit system call arguments use up two register_t arguments for 32-bit processes. They must also

svn commit: r306561 - head/usr.bin/patch

2016-10-01 Thread Pedro F. Giffuni
Author: pfg Date: Sat Oct 1 20:46:01 2016 New Revision: 306561 URL: https://svnweb.freebsd.org/changeset/base/306561 Log: patch(1): make some macros look boolean. Similar to r306560, plus remove an unused macro. Suggested by: jmallett Modified: head/usr.bin/patch/common.h

svn commit: r306560 - head/usr.bin/patch

2016-10-01 Thread Pedro F. Giffuni
Author: pfg Date: Sat Oct 1 20:31:00 2016 New Revision: 306560 URL: https://svnweb.freebsd.org/changeset/base/306560 Log: patch(1): make some macros look boolean. Minor cleanup inspired by a new patch(1) variant in schily tools. For reference: https://sourceforge.net/p/schillix-on/

svn commit: r306559 - head/sys/netinet

2016-10-01 Thread Rick Macklem
Author: rmacklem Date: Sat Oct 1 19:39:09 2016 New Revision: 306559 URL: https://svnweb.freebsd.org/changeset/base/306559 Log: r297225 broke udp_output() for the case where the "addr" argument is NULL and the function jumps to the "release:" label. For this case, the "inp" was write

svn commit: r306555 - in head/sys: dev/fb sys

2016-10-01 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Oct 1 17:43:02 2016 New Revision: 306555 URL: https://svnweb.freebsd.org/changeset/base/306555 Log: Provide way for framebuffer driver to request mmap(2) mapping type On ARM if memattr is not overriden mmap(2) maps framebuffer memory as WBWA which means part of

svn commit: r306556 - head/sys/sys

2016-10-01 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Oct 1 17:48:41 2016 New Revision: 306556 URL: https://svnweb.freebsd.org/changeset/base/306556 Log: Bump _FreeBSD_version after adding fb_memattr field to fb_info in r306555 Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r306557 - head/sys/arm/broadcom/bcm2835

2016-10-01 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Oct 1 17:57:32 2016 New Revision: 306557 URL: https://svnweb.freebsd.org/changeset/base/306557 Log: Use VM_MEMATTR_WRITE_COMBINING memattr for mmap(2) on framebuffer VM_MEMATTR_WRITE_COMBINING sets write-through cache flag for framebuffer memory that prevents

svn commit: r306554 - head/usr.sbin/bhyve

2016-10-01 Thread Baptiste Daroussin
Author: bapt Date: Sat Oct 1 11:43:37 2016 New Revision: 306554 URL: https://svnweb.freebsd.org/changeset/base/306554 Log: Use accept4 with O_NONBLOCK rather than accept + fcntl Modified: head/usr.sbin/bhyve/dbgport.c Modified: head/usr.sbin/bhyve/dbgport.c

svn commit: r306552 - head/lib/libstand

2016-10-01 Thread Toomas Soome
Author: tsoome Date: Sat Oct 1 07:46:28 2016 New Revision: 306552 URL: https://svnweb.freebsd.org/changeset/base/306552 Log: Fix remaining cstyle issues in libstand/cd9660.c Reported by: Bruce Evans Reviewed by: allanjude Approved by: allanjude (mentor)

svn commit: r306551 - head/sys/arm/nvidia/tegra124

2016-10-01 Thread Michal Meloun
Author: mmel Date: Sat Oct 1 06:50:16 2016 New Revision: 306551 URL: https://svnweb.freebsd.org/changeset/base/306551 Log: TEGRA: Fix bindings for cpufreq and coretemp drivers, it was broken in r306477. Correct a description for coretemp driver. Modified: