svn commit: r349055 - head/sys/net

2019-06-15 Thread Marius Strobl
Author: marius Date: Sat Jun 15 11:07:41 2019 New Revision: 349055 URL: https://svnweb.freebsd.org/changeset/base/349055 Log: - Replace unused and only ever written to members of public iflib(9) structs with placeholders (in the latter case, IFLIB_MAX_TX_BYTES etc. are also only ever

svn commit: r349056 - head/share/man/man4

2019-06-15 Thread Mateusz Piotrowski
Author: 0mp (ports committer) Date: Sat Jun 15 12:09:22 2019 New Revision: 349056 URL: https://svnweb.freebsd.org/changeset/base/349056 Log: netmap.4: Fix a typo as FreeBSD Linux is not a thing Approved by: src (emaste) Event:Berlin Devsummit 2019 Modified:

svn commit: r349048 - head/sbin/fsck_msdosfs

2019-06-15 Thread Xin LI
Author: delphij Date: Sat Jun 15 07:23:06 2019 New Revision: 349048 URL: https://svnweb.freebsd.org/changeset/base/349048 Log: In ask(): override default option if any of alwaysyes/alwaysno/rdonly is set. MFC after:2 weeks Modified: head/sbin/fsck_msdosfs/main.c Modified:

svn commit: r349049 - head/usr.bin/vtfontcvt

2019-06-15 Thread Ed Maste
Author: emaste Date: Sat Jun 15 09:15:58 2019 New Revision: 349049 URL: https://svnweb.freebsd.org/changeset/base/349049 Log: vtfontcvt: add comments in add_glyph During review for PR 205707. Event:Berlin Devsummit 2019 Modified: head/usr.bin/vtfontcvt/vtfontcvt.c

svn commit: r349054 - head/tools/build

2019-06-15 Thread Marius Strobl
Author: marius Date: Sat Jun 15 09:45:00 2019 New Revision: 349054 URL: https://svnweb.freebsd.org/changeset/base/349054 Log: Add required for libnv to SYSINCS, too, apparently missed in r336335. Modified: head/tools/build/Makefile Modified: head/tools/build/Makefile

Re: svn commit: r349055 - head/sys/net

2019-06-15 Thread Andrew Gallatin
On 2019-06-15 07:07, Marius Strobl wrote: Author: marius Date: Sat Jun 15 11:07:41 2019 New Revision: 349055 Log: - Replace unused and only ever written to members of public iflib(9) structs with placeholders (in the latter case, IFLIB_MAX_TX_BYTES etc. are also only ever used

Re: svn commit: r349055 - head/sys/net

2019-06-15 Thread Marius Strobl
On Sat, Jun 15, 2019 at 09:08:05AM -0400, Andrew Gallatin wrote: > On 2019-06-15 07:07, Marius Strobl wrote: > > Author: marius > > Date: Sat Jun 15 11:07:41 2019 > > New Revision: 349055 > > > Log: > >- Replace unused and only ever written to members of public iflib(9) > > structs with

svn commit: r349057 - head/sys/conf

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 16:16:29 2019 New Revision: 349057 URL: https://svnweb.freebsd.org/changeset/base/349057 Log: Allow pwm(9) components to be selected individually, while 'device pwm' still includes it all. Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r349065 - head/share/mk

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:24 2019 New Revision: 349065 URL: https://svnweb.freebsd.org/changeset/base/349065 Log: Add various CFLAGS/LDADD overrides for the output target file. Sponsored by: DellEMC Modified: head/share/mk/bsd.README head/share/mk/bsd.sys.mk Modified:

svn commit: r349069 - head/gnu/lib/csu

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:39 2019 New Revision: 349069 URL: https://svnweb.freebsd.org/changeset/base/349069 Log: csu: Add proper .depend tracking for each object. This doesn't appear to have ever worked. After a .depend is generated there will be duplicate .c dependencies

svn commit: r349068 - head/share/mk

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:35 2019 New Revision: 349068 URL: https://svnweb.freebsd.org/changeset/base/349068 Log: Allow DEPENDOBJS/DEPENDSRCS to work with only OBJS set and no SRCS. Default to tracking .depend.* for OBJS rather than SRCS. This helps cover some special

svn commit: r349080 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 20:53:26 2019 New Revision: 349080 URL: https://svnweb.freebsd.org/changeset/base/349080 Log: Make pwmbus driver and devclass vars static; they're not mentioned in any header file, so they can't be used outside this file anyway. Modified:

svn commit: r349081 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 20:54:33 2019 New Revision: 349081 URL: https://svnweb.freebsd.org/changeset/base/349081 Log: Unwrap prototype lines so that return type and function name are on the same line. No functional changes. Modified: head/sys/dev/pwm/pwmbus.h Modified:

svn commit: r349060 - head/sys/arm/allwinner

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 16:59:03 2019 New Revision: 349060 URL: https://svnweb.freebsd.org/changeset/base/349060 Log: Handle failure to enable the clock or obtain its frequency. Modified: head/sys/arm/allwinner/aw_pwm.c Modified: head/sys/arm/allwinner/aw_pwm.c

Re: svn commit: r349069 - head/gnu/lib/csu

2019-06-15 Thread Bryan Drewery
On 6/15/2019 10:08 AM, Bryan Drewery wrote: > Author: bdrewery > Date: Sat Jun 15 17:08:39 2019 > New Revision: 349069 > URL: https://svnweb.freebsd.org/changeset/base/349069 > > Log: > csu: Add proper .depend tracking for each object. > > This doesn't appear to have ever worked. After a

svn commit: r349070 - head/sys/arm64/arm64

2019-06-15 Thread Alan Cox
Author: alc Date: Sat Jun 15 17:26:42 2019 New Revision: 349070 URL: https://svnweb.freebsd.org/changeset/base/349070 Log: Previously, when pmap_remove_pages() destroyed a dirty superpage mapping, it only called vm_page_dirty() on the first of the superpage's constituent 4KB pages. This

svn commit: r349076 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 20:17:00 2019 New Revision: 349076 URL: https://svnweb.freebsd.org/changeset/base/349076 Log: Use device_delete_children() instead of a locally-rolled copy of it that leaks the device-list memory. Modified: head/sys/dev/pwm/pwmbus.c Modified:

svn commit: r349064 - head/share/mk

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:21 2019 New Revision: 349064 URL: https://svnweb.freebsd.org/changeset/base/349064 Log: Avoid generating DEPENDFILES='.depend.' when there's no DEPENDOBJS. MFC after:2 weeks Sponsored by: DellEMC Modified: head/share/mk/bsd.dep.mk Modified:

svn commit: r349062 - in head: bin/csh bin/sh lib/libmagic lib/ncurses/ncurses share/syscons/scrnmaps usr.bin/awk usr.bin/vi/catalog

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:13 2019 New Revision: 349062 URL: https://svnweb.freebsd.org/changeset/base/349062 Log: Fix .depend files to work for build tools. This is somewhat of a follow-up to r335746. MFC after:2 weeks Sponsored by: DellEMC Modified:

svn commit: r349067 - in head: gnu/lib/csu gnu/lib/libgcc gnu/lib/libgcov lib/csu

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:32 2019 New Revision: 349067 URL: https://svnweb.freebsd.org/changeset/base/349067 Log: Support reading in .depend files. This is for an upcoming change that fixes .depend handling in here. It will cause some duplicate sources which need to be

svn commit: r349066 - head/share/mk

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:28 2019 New Revision: 349066 URL: https://svnweb.freebsd.org/changeset/base/349066 Log: META_MODE: Delete build targets that fail. If a meta mode change is triggered but then the build fails then the next build will not retrigger meta mode. This

svn commit: r349063 - head/share/mk

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:18 2019 New Revision: 349063 URL: https://svnweb.freebsd.org/changeset/base/349063 Log: Similar to r335710 avoid ccache when linking a .cc file directly. Sponsored by: DellEMC Modified: head/share/mk/bsd.suffixes.mk Modified:

svn commit: r349061 - head/share/mk

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:02 2019 New Revision: 349061 URL: https://svnweb.freebsd.org/changeset/base/349061 Log: Don't force OBJS_DEPEND_GUESS headers onto all objects. This is in the case of not having any .depend.foo.o yet. Don't force add *.h as a dependency for those.

Re: svn commit: r349055 - head/sys/net

2019-06-15 Thread Andrew Gallatin
On 2019-06-15 11:59, Marius Strobl wrote: On Sat, Jun 15, 2019 at 09:08:05AM -0400, Andrew Gallatin wrote: On 2019-06-15 07:07, Marius Strobl wrote: Author: marius Date: Sat Jun 15 11:07:41 2019 New Revision: 349055 Log: - Replace unused and only ever written to members of public

svn commit: r349073 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 19:43:33 2019 New Revision: 349073 URL: https://svnweb.freebsd.org/changeset/base/349073 Log: Do not include pwm.h here, it is purely a userland interface file containing ioctl defintions for the pwmc driver. It is not part of the pwmbus interface. Modified:

svn commit: r349075 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 20:13:42 2019 New Revision: 349075 URL: https://svnweb.freebsd.org/changeset/base/349075 Log: Remove pwmbus_attach_bus(), it no longer has any callers. Also remove a couple prototypes for functions that never existed (and never will). Modified:

svn commit: r349077 - head/sys/arm/ti/am335x

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 20:20:36 2019 New Revision: 349077 URL: https://svnweb.freebsd.org/changeset/base/349077 Log: Add a missing #include. I suspect this used to get included via some header pollution that was cleaned up recently, and this file got missed in the cleanup because

svn commit: r349058 - head/sys/arm/allwinner

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 16:36:29 2019 New Revision: 349058 URL: https://svnweb.freebsd.org/changeset/base/349058 Log: In detach(), check for failure of bus_generic_detach(), only release resources if they got allocated (because detach() gets called from attach() to handle various

svn commit: r349059 - head/sys/arm/allwinner

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 16:56:00 2019 New Revision: 349059 URL: https://svnweb.freebsd.org/changeset/base/349059 Log: Don't call pwmbus_attach_bus(), because it may not be present if this driver is compiled into the kernel but pwmbus will be loaded as a module when needed (and because

svn commit: r349072 - head

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 19:16:02 2019 New Revision: 349072 URL: https://svnweb.freebsd.org/changeset/base/349072 Log: Remove pcf8563reg.h, the driver it was associated with was replaced in 2017 with the nxprtc multi-chip driver. Modified: head/ObsoleteFiles.inc Modified:

svn commit: r349074 - in head: . etc/mtree include sys/dev/pwm sys/sys usr.sbin/pwm

2019-06-15 Thread Ian Lepore
:46:59 2019(r349074) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20190615: sys/pwm.h renamed to dev/pwmc.h +OLD_FILES+=usr/include/sys/pwm.h # 20190612: new clang import which bumps version from 8.0.0 to 8.0.1. OLD_FILES+=usr/lib/clang/8.0.0/include/sanitizer

svn commit: r349099 - head/share/man/man4

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sun Jun 16 05:12:17 2019 New Revision: 349099 URL: https://svnweb.freebsd.org/changeset/base/349099 Log: symlinkat(2) is not covered. Modified: head/share/man/man4/filemon.4 Modified: head/share/man/man4/filemon.4

svn commit: r349047 - head/sbin/fsck_msdosfs

2019-06-15 Thread Xin LI
Author: delphij Date: Sat Jun 15 06:51:46 2019 New Revision: 349047 URL: https://svnweb.freebsd.org/changeset/base/349047 Log: Blankspace. No actual code change. MFC after:2 weeks Modified: head/sbin/fsck_msdosfs/boot.c Modified: head/sbin/fsck_msdosfs/boot.c

svn commit: r349082 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 21:19:23 2019 New Revision: 349082 URL: https://svnweb.freebsd.org/changeset/base/349082 Log: Spell unsigned int as u_int and channel as chan; eliminates the need to wrap some long lines. Modified: head/sys/dev/pwm/pwmbus.c Modified: head/sys/dev/pwm/pwmbus.c

svn commit: r349084 - in head/sys: arm/allwinner dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 21:36:14 2019 New Revision: 349084 URL: https://svnweb.freebsd.org/changeset/base/349084 Log: Rename the channel_max method to channel_count, because that's what it's returning. (If the channel count is 2, then the max channel number is 1.) Modified:

svn commit: r349085 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 21:51:55 2019 New Revision: 349085 URL: https://svnweb.freebsd.org/changeset/base/349085 Log: Destroy the cdev on device detach. Also, make the driver and devclass static, because nothing outside this file needs them. Modified: head/sys/dev/pwm/pwmc.c

svn commit: r349097 - head/sys/arm/conf

2019-06-15 Thread Ian Lepore
Author: ian Date: Sun Jun 16 01:23:45 2019 New Revision: 349097 URL: https://svnweb.freebsd.org/changeset/base/349097 Log: Build SoC-specific modules with GENERIC for the SoCs that have them. Modified: head/sys/arm/conf/GENERIC Modified: head/sys/arm/conf/GENERIC

svn commit: r349088 - in head: sys/arm/allwinner sys/dev/pwm usr.sbin/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 23:02:09 2019 New Revision: 349088 URL: https://svnweb.freebsd.org/changeset/base/349088 Log: Make pwm channel numbers unsigned. Modified: head/sys/arm/allwinner/aw_pwm.c head/sys/dev/pwm/pwmbus.c head/sys/dev/pwm/pwmbus.h head/sys/dev/pwm/pwmbus_if.m

svn commit: r349092 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sun Jun 16 00:32:19 2019 New Revision: 349092 URL: https://svnweb.freebsd.org/changeset/base/349092 Log: Make channel number unsigned, and spell unsigned int u_int. This should have been part of r349088. Modified: head/sys/dev/pwm/pwmc.h Modified:

svn commit: r349096 - in head/sys/modules: arm_ti arm_ti/am335x_ehrpwm arm_ti/ti_i2c ti

2019-06-15 Thread Ian Lepore
Author: ian Date: Sun Jun 16 01:22:44 2019 New Revision: 349096 URL: https://svnweb.freebsd.org/changeset/base/349096 Log: Add module makefiles for Texas Instruments ARM SoCs. The natural place to look for them based on how other SoCs are organized would be sys/modules/ti, but that's

svn commit: r349083 - head/sys/arm/allwinner

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 21:31:04 2019 New Revision: 349083 URL: https://svnweb.freebsd.org/changeset/base/349083 Log: Give the aw_pwm driver a module version. Modified: head/sys/arm/allwinner/aw_pwm.c Modified: head/sys/arm/allwinner/aw_pwm.c

svn commit: r349086 - in head/sys: arm/allwinner conf dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 22:25:39 2019 New Revision: 349086 URL: https://svnweb.freebsd.org/changeset/base/349086 Log: Restructure the pwm device hirearchy and interfaces. The pwm and pwmbus interfaces were nearly identical, this merges them into a single pwmbus interface. The

svn commit: r349091 - head/sys/modules/allwinner/aw_pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sun Jun 16 00:27:11 2019 New Revision: 349091 URL: https://svnweb.freebsd.org/changeset/base/349091 Log: The pwm interface was replaced with pwmbus, include the right header file. Modified: head/sys/modules/allwinner/aw_pwm/Makefile Modified:

svn commit: r349093 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sun Jun 16 00:43:05 2019 New Revision: 349093 URL: https://svnweb.freebsd.org/changeset/base/349093 Log: This code no longer uses fdt/ofw stuff, no need to include ofw headers. Modified: head/sys/dev/pwm/pwmbus.c Modified: head/sys/dev/pwm/pwmbus.c

svn commit: r349094 - in head/sys/modules: . pwm pwm/pwmbus pwm/pwmc

2019-06-15 Thread Ian Lepore
Author: ian Date: Sun Jun 16 00:53:09 2019 New Revision: 349094 URL: https://svnweb.freebsd.org/changeset/base/349094 Log: Add module makefiles for pwm. Added: head/sys/modules/pwm/ head/sys/modules/pwm/Makefile (contents, props changed) head/sys/modules/pwm/pwmbus/

svn commit: r349095 - head/sys/arm/conf

2019-06-15 Thread Ian Lepore
Author: ian Date: Sun Jun 16 01:05:53 2019 New Revision: 349095 URL: https://svnweb.freebsd.org/changeset/base/349095 Log: Split the dtb MODULES_EXTRA line to a series of += lines, making it easier to maintain and keep in alphabetical order, and paving the way for adding some other modules

svn commit: r349098 - head/sys/dev/atkbdc

2019-06-15 Thread Philip Paeps
Author: philip Date: Sun Jun 16 03:06:05 2019 New Revision: 349098 URL: https://svnweb.freebsd.org/changeset/base/349098 Log: Add macOS-like three finger drag trackpad gesture to psm(4) Submitted by: Yan Ka Chiu MFC after:1 week Differential Revision: