svn commit: r315924 - head/sys/dev/iwm

2017-03-24 Thread Adrian Chadd
Author: adrian Date: Sat Mar 25 02:44:25 2017 New Revision: 315924 URL: https://svnweb.freebsd.org/changeset/base/315924 Log: [iwm] GC unused code from if_iwm_scan.c, copyied from iwn or iwlwifi/dvm. Obtained from:dragonflybsd.git 10881df269b93c26e5ee6af629c36db5672e6e52

svn commit: r315926 - head/sys/dev/iwm

2017-03-24 Thread Adrian Chadd
Author: adrian Date: Sat Mar 25 02:55:13 2017 New Revision: 315926 URL: https://svnweb.freebsd.org/changeset/base/315926 Log: [iwm] Add the BSS's basic rates to iwm's LQ command, not all the rates. Makes the firmware use appropriate Tx rates for ACKs. Obtained from: dragonflybsd.git

svn commit: r315925 - head/sys/dev/iwm

2017-03-24 Thread Adrian Chadd
Author: adrian Date: Sat Mar 25 02:49:20 2017 New Revision: 315925 URL: https://svnweb.freebsd.org/changeset/base/315925 Log: [iwm] Enable Energy Based Scan (EBS). This can significantly reduce scan duration thus saving time and power. EBS failure reported by FW disables EBS for current

svn commit: r315923 - head/sys/dev/iwm

2017-03-24 Thread Adrian Chadd
Author: adrian Date: Sat Mar 25 02:42:52 2017 New Revision: 315923 URL: https://svnweb.freebsd.org/changeset/base/315923 Log: [iwm] Tiny cleanup in iwm_rx_addbuf(). Obtained from:dragonflybsd.git 3370bc5504ebb3c1b9bb960a185cd0c8052a2845 Modified: head/sys/dev/iwm/if_iwm.c

svn commit: r315922 - head/sys/dev/cxgbe/iw_cxgbe

2017-03-24 Thread Navdeep Parhar
Author: np Date: Sat Mar 25 02:28:21 2017 New Revision: 315922 URL: https://svnweb.freebsd.org/changeset/base/315922 Log: cxgbe/iw_cxgbe: allocations that use GFP_KERNEL (which is M_WAITOK on FreeBSD) cannot fail. MFC after:3 days Modified: head/sys/dev/cxgbe/iw_cxgbe/cm.c

svn commit: r315921 - head/sys/dev/cxgbe/iw_cxgbe

2017-03-24 Thread Navdeep Parhar
Author: np Date: Sat Mar 25 01:45:04 2017 New Revision: 315921 URL: https://svnweb.freebsd.org/changeset/base/315921 Log: cxgbe/iw_cxgbe: alloc_ep expects a gfp_t, and it's always ok to sleep during alloc_ep. Modified: head/sys/dev/cxgbe/iw_cxgbe/cm.c Modified:

svn commit: r315920 - head/sys/dev/cxgbe/iw_cxgbe

2017-03-24 Thread Navdeep Parhar
Author: np Date: Sat Mar 25 01:38:17 2017 New Revision: 315920 URL: https://svnweb.freebsd.org/changeset/base/315920 Log: cxgbe/iw_cxgbe: c4iw_connect should always returns a -ve errno on failure. MFC after:3 days Modified: head/sys/dev/cxgbe/iw_cxgbe/cm.c Modified:

svn commit: r315918 - head/sys/arm64/conf

2017-03-24 Thread Warner Losh
Author: imp Date: Fri Mar 24 22:33:03 2017 New Revision: 315918 URL: https://svnweb.freebsd.org/changeset/base/315918 Log: Add 'device iic' to bring in userland I2C driver. Submitted by: karl@ Modified: head/sys/arm64/conf/GENERIC Modified: head/sys/arm64/conf/GENERIC

svn commit: r315917 - head/sys/net80211

2017-03-24 Thread Andriy Voskoboinyk
Author: avos Date: Fri Mar 24 22:29:51 2017 New Revision: 315917 URL: https://svnweb.freebsd.org/changeset/base/315917 Log: net80211: fix possible panic when wlan(4) interface is destroyed. If this is the last running vap wait until device will be powered off (fixes panic when 'ifconfig

Re: svn commit: r315901 - head/sbin/devd

2017-03-24 Thread Cy Schubert
In message <201703241346.v2odkqtj019...@repo.freebsd.org>, Warner Losh writes: > Author: imp > Date: Fri Mar 24 13:46:26 2017 > New Revision: 315901 > URL: https://svnweb.freebsd.org/changeset/base/315901 > > Log: > Use a more stream-lined version of fix_value. > > Submitted by: ian@ > >

Re: svn commit: r315662 - in head: contrib/bsnmp/snmp_mibII contrib/ipfilter/ipsend lib/libprocstat sys/netinet sys/sys usr.bin/netstat usr.bin/sockstat usr.bin/systat usr.sbin/tcpdrop usr.sbin/trpt

2017-03-24 Thread John Baldwin
On Friday, March 24, 2017 10:45:09 AM Gleb Smirnoff wrote: > John, > > On Tue, Mar 21, 2017 at 02:24:30PM -0700, John Baldwin wrote: > J> > I have very much anticipated this comment from you, John. > J> > > J> > I would like to remind you, that we have had this very exact conversation > J> >

Re: svn commit: r315662 - in head: contrib/bsnmp/snmp_mibII contrib/ipfilter/ipsend lib/libprocstat sys/netinet sys/sys usr.bin/netstat usr.bin/sockstat usr.bin/systat usr.sbin/tcpdrop usr.sbin/trpt

2017-03-24 Thread Gleb Smirnoff
John, On Tue, Mar 21, 2017 at 02:24:30PM -0700, John Baldwin wrote: J> > I have very much anticipated this comment from you, John. J> > J> > I would like to remind you, that we have had this very exact conversation J> > back when I removed kvm support from netstat/route.c. Let me search the J>

svn commit: r315914 - in head/sys: amd64/amd64 i386/i386

2017-03-24 Thread Bruce Evans
Author: bde Date: Fri Mar 24 17:34:55 2017 New Revision: 315914 URL: https://svnweb.freebsd.org/changeset/base/315914 Log: Remove buggy adjustment of page tables in db_write_bytes(). Long ago, perhaps only on i386, kernel text was mapped read-only and it was necessary to change the

svn commit: r315913 - head/sys/dev/isp

2017-03-24 Thread Alexander Motin
Author: mav Date: Fri Mar 24 16:26:11 2017 New Revision: 315913 URL: https://svnweb.freebsd.org/changeset/base/315913 Log: Add brackets to fix incorrect macro expansion. Reported by: Andreas Hollmann / PVS-Studio MFC after:2 weeks Modified: head/sys/dev/isp/ispmbox.h Modified:

svn commit: r315912 - head/usr.sbin/pw

2017-03-24 Thread Eugene Grosbein
Author: eugen (ports committer) Date: Fri Mar 24 16:18:57 2017 New Revision: 315912 URL: https://svnweb.freebsd.org/changeset/base/315912 Log: Properly initialise with content of pw.conf(5) that was mistakenly ignored. Also, respect "defaultgroup" if specified there. PR: 217934

svn commit: r315911 - head/sys/x86/x86

2017-03-24 Thread Gavin Atkinson
Author: gavin Date: Fri Mar 24 16:18:20 2017 New Revision: 315911 URL: https://svnweb.freebsd.org/changeset/base/315911 Log: Improve grammar on a warning, and only use one line rather than two when printing it. Modified: head/sys/x86/x86/mp_x86.c Modified: head/sys/x86/x86/mp_x86.c

svn commit: r315910 - head/sys/kern

2017-03-24 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 24 16:01:19 2017 New Revision: 315910 URL: https://svnweb.freebsd.org/changeset/base/315910 Log: Make sendfile(2) more robust against file change. This fixes a possible crash when the file shrinks. This also fixes sendfile(2) not sending more data in a case

svn commit: r315909 - in head/contrib/openpam: include/security lib/libpam

2017-03-24 Thread Dag-Erling Smørgrav
Author: des Date: Fri Mar 24 14:45:58 2017 New Revision: 315909 URL: https://svnweb.freebsd.org/changeset/base/315909 Log: Restore the NULL check that was removed in upstream r913. It is not unreasonable to call pam_end() with a NULL pamh in error handling code. Reported by: rwatson

svn commit: r315908 - head/sys/dev/isp

2017-03-24 Thread Alexander Motin
Author: mav Date: Fri Mar 24 14:44:03 2017 New Revision: 315908 URL: https://svnweb.freebsd.org/changeset/base/315908 Log: Unify initiator and target DMA setup and command sending. The code is so alike that it is pointless to keep it separate. MFC after:2 weeks Modified:

svn commit: r315905 - head/sys/dev/e1000

2017-03-24 Thread Sean Bruno
Author: sbruno Date: Fri Mar 24 14:27:29 2017 New Revision: 315905 URL: https://svnweb.freebsd.org/changeset/base/315905 Log: Add missing 'else' to conditional. This doesn't really affect the code flow or configuration in any way. Modified: head/sys/dev/e1000/if_em.c Modified:

svn commit: r315903 - head/sys/dev/e1000

2017-03-24 Thread Sean Bruno
Author: sbruno Date: Fri Mar 24 14:25:56 2017 New Revision: 315903 URL: https://svnweb.freebsd.org/changeset/base/315903 Log: Add missing 'else' to 3-state conditional during setup of interrupts. We don't want to overwrite the 82574 interrupt setup with a different configuration.

svn commit: r315901 - head/sbin/devd

2017-03-24 Thread Warner Losh
Author: imp Date: Fri Mar 24 13:46:26 2017 New Revision: 315901 URL: https://svnweb.freebsd.org/changeset/base/315901 Log: Use a more stream-lined version of fix_value. Submitted by: ian@ Modified: head/sbin/devd/devd.cc head/sbin/devd/devd.hh Modified: head/sbin/devd/devd.cc

svn commit: r315900 - in head: lib/libthread_db/arch/arm sys/arm/arm sys/arm/include

2017-03-24 Thread Michal Meloun
Author: mmel Date: Fri Mar 24 11:46:49 2017 New Revision: 315900 URL: https://svnweb.freebsd.org/changeset/base/315900 Log: Cleanup structures related to VFP and/or mcontext_t. - in mcontext_t, rename newer used 'union __vfp' to equaly sized 'mc_spare'. Space allocated by 'union __vfp' is

svn commit: r315896 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/lib/libzpool/common sys/cddl/compat/opensolaris/kern sys/cddl/compat/open...

2017-03-24 Thread Alexander Motin
Author: mav Date: Fri Mar 24 09:37:00 2017 New Revision: 315896 URL: https://svnweb.freebsd.org/changeset/base/315896 Log: MFV r315290, r315291: 7303 dynamic metaslab selection illumos/illumos-gate@8363e80ae72609660f6090766ca8c2c18aa53f0c

Re: svn commit: r315850 - head/sys/boot/forth

2017-03-24 Thread Dag-Erling Smørgrav
Conrad Meyer writes: > Yep. In this context an 'em' dash should be used instead of an 'en' > dash. Theoretically, there also should not be spaces around the > dashes. I'm not sure that's easy to do in manual pages, though. The Chicago Manual of Style agrees with you. The

Re: svn commit: r315773 - head/sbin/devd

2017-03-24 Thread Cy Schubert
In message <201703240340.v2o3eekh002...@slippy.cwsent.com>, Cy Schubert writes: > In message <1490297671.58015.102.ca...@freebsd.org>, Ian Lepore writes: > > On Thu, 2017-03-23 at 19:58 +0100, Roman Divacky wrote: > > > On Thu, Mar 23, 2017 at 02:36:51AM +, Warner Losh wrote: > > > > > > > >

svn commit: r315892 - head/sys/compat/cloudabi

2017-03-24 Thread Ed Schouten
Author: ed Date: Fri Mar 24 07:09:33 2017 New Revision: 315892 URL: https://svnweb.freebsd.org/changeset/base/315892 Log: Include to obtain the memcpy() prototype. I got a report of this source file not building on Raspberry Pi. It's interesting that this only fails for that target and