svn commit: r296861 - in head/sys: arm/arm powerpc/powerpc

2016-03-14 Thread Bjoern A. Zeeb
Author: bz Date: Mon Mar 14 14:55:15 2016 New Revision: 296861 URL: https://svnweb.freebsd.org/changeset/base/296861 Log: Only check for SYS_freebsd6_lseek if the syscall code is defined. Whether this is the right or best solution is unclear but it fixes the build for now. Modified:

svn commit: r296863 - head

2016-03-14 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Mar 14 16:27:43 2016 New Revision: 296863 URL: https://svnweb.freebsd.org/changeset/base/296863 Log: Add myself to MAINTAINERS. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/MAINTAINERS Modified: head/MAINTAINERS

Re: svn commit: r296825 - in head/sys: arm/conf arm/mv arm/mv/armada38x boot/fdt/dts/arm

2016-03-14 Thread Bjoern A. Zeeb
> On 14 Mar 2016, at 07:05 , Wojciech Macek wrote: > > Author: wma > Date: Mon Mar 14 07:05:41 2016 > New Revision: 296825 > URL: https://svnweb.freebsd.org/changeset/base/296825 > > Log: > Make MPIC compatible with ARM_INTRNG > > After ARM_INTRNG introduction, MPIC code

Re: svn commit: r296823 - in head: sbin/ifconfig sys/net80211

2016-03-14 Thread Adrian Chadd
oops! I'll fix now Thanks! -a On 14 March 2016 at 09:00, Jan Beich wrote: > Adrian Chadd writes: > >> Author: adrian >> Date: Mon Mar 14 04:39:35 2016 >> New Revision: 296823 >> URL: https://svnweb.freebsd.org/changeset/base/296823 >> >> Log: >>

svn commit: r296864 - head/sys/net80211

2016-03-14 Thread Adrian Chadd
Author: adrian Date: Mon Mar 14 16:52:05 2016 New Revision: 296864 URL: https://svnweb.freebsd.org/changeset/base/296864 Log: class -> i_class. Thanks C++. Noticed by: jbeich@ Modified: head/sys/net80211/ieee80211.h Modified: head/sys/net80211/ieee80211.h

svn commit: r296862 - head/sys/dev/drm2/i915

2016-03-14 Thread Bjoern A. Zeeb
Author: bz Date: Mon Mar 14 16:19:50 2016 New Revision: 296862 URL: https://svnweb.freebsd.org/changeset/base/296862 Log: Fix the printf for PAE kernels where it'd be long long to unbreak the build. Modified: head/sys/dev/drm2/i915/i915_gem_gtt.c Modified:

Re: svn commit: r296823 - in head: sbin/ifconfig sys/net80211

2016-03-14 Thread Jan Beich
Adrian Chadd writes: > Author: adrian > Date: Mon Mar 14 04:39:35 2016 > New Revision: 296823 > URL: https://svnweb.freebsd.org/changeset/base/296823 > > Log: > [net80211] handle unlisted information elements. > > This displays the IE names in ifconfig but it doesn't

svn commit: r296825 - in head/sys: arm/conf arm/mv arm/mv/armada38x boot/fdt/dts/arm

2016-03-14 Thread Wojciech Macek
Author: wma Date: Mon Mar 14 07:05:41 2016 New Revision: 296825 URL: https://svnweb.freebsd.org/changeset/base/296825 Log: Make MPIC compatible with ARM_INTRNG After ARM_INTRNG introduction, MPIC code needed several modifications: - IRQ resource and its handler added - several

svn commit: r296824 - head/sys/arm/arm

2016-03-14 Thread Wojciech Macek
Author: wma Date: Mon Mar 14 06:30:37 2016 New Revision: 296824 URL: https://svnweb.freebsd.org/changeset/base/296824 Log: Fix GIC interrupt decoding in INTRNG code Bug was already fixed in not-INTRNG code, it needs to be corrected here as well. Source:

svn commit: r296826 - in head/sys/arm: conf mv

2016-03-14 Thread Wojciech Macek
Author: wma Date: Mon Mar 14 07:14:34 2016 New Revision: 296826 URL: https://svnweb.freebsd.org/changeset/base/296826 Log: Add support for USB3.0 on Armada38x This commit provides attachment of xhci-platform for A38X boards, making it possible to mount FreeBSD world from USB3.0 flash.

svn commit: r296827 - head/sys/dev/usb/controller

2016-03-14 Thread Wojciech Macek
Author: wma Date: Mon Mar 14 07:24:08 2016 New Revision: 296827 URL: https://svnweb.freebsd.org/changeset/base/296827 Log: Add xhci_mv.c Add missing xhci driver for Marvell systems. Submitted by: Bartosz Szczepanek Obtained from: Semihalf

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

2016-03-14 Thread Wojciech Macek
Author: wma Date: Mon Mar 14 07:26:38 2016 New Revision: 296828 URL: https://svnweb.freebsd.org/changeset/base/296828 Log: pmap arm64: fixing pmap_invalidate_range It seems that if range within one page is given this page will not be invalidated at all. Clean it up. Submitted by:

Re: svn commit: r296829 - head/usr.sbin/bhyve

2016-03-14 Thread Slawa Olhovchenkov
On Mon, Mar 14, 2016 at 08:48:16AM +, George V. Neville-Neil wrote: > Author: gnn > Date: Mon Mar 14 08:48:16 2016 > New Revision: 296829 > URL: https://svnweb.freebsd.org/changeset/base/296829 > > Log: > Fix typo: nmd->cur_tx_ring should be used in pci_vtnet_netmap_writev() > The buffer

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

2016-03-14 Thread George V. Neville-Neil
Author: gnn Date: Mon Mar 14 08:48:16 2016 New Revision: 296829 URL: https://svnweb.freebsd.org/changeset/base/296829 Log: Fix typo: nmd->cur_tx_ring should be used in pci_vtnet_netmap_writev() The buffer length should be checked to avoid overflow, but there is no API to get the slot

svn commit: r296866 - head/etc/autofs

2016-03-14 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Mar 14 17:45:39 2016 New Revision: 296866 URL: https://svnweb.freebsd.org/changeset/base/296866 Log: Fix autofs handling of filesystem labels containing plus signs and slashes. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified:

svn commit: r296868 - head/sys/sys

2016-03-14 Thread Gleb Smirnoff
Author: glebius Date: Mon Mar 14 18:07:59 2016 New Revision: 296868 URL: https://svnweb.freebsd.org/changeset/base/296868 Log: Remove useless cast in SYSCTL_ADD_COUNTER_U64 macro. Modified: head/sys/sys/sysctl.h Modified: head/sys/sys/sysctl.h

svn commit: r296867 - head/sys/netinet

2016-03-14 Thread Gleb Smirnoff
Author: glebius Date: Mon Mar 14 18:06:59 2016 New Revision: 296867 URL: https://svnweb.freebsd.org/changeset/base/296867 Log: Comment fix: statistics are not read-only. Modified: head/sys/netinet/tcp_var.h Modified: head/sys/netinet/tcp_var.h

Re: svn commit: r296868 - head/sys/sys

2016-03-14 Thread Ryan Stone
On Mon, Mar 14, 2016 at 2:07 PM, Gleb Smirnoff wrote: > Remove useless cast in SYSCTL_ADD_COUNTER_U64 macro. > Is it useless? I believe that the point is to give a compiler error if an incompatible pointer type was passed as the ptr parameter.

svn commit: r296865 - in head: sys/dev/pci sys/sys usr.sbin/iovctl

2016-03-14 Thread Ryan Stone
Author: rstone Date: Mon Mar 14 17:41:17 2016 New Revision: 296865 URL: https://svnweb.freebsd.org/changeset/base/296865 Log: Clean up repeated "All rights reserved" Modified: head/sys/dev/pci/pci_iov.c head/sys/dev/pci/pci_iov_private.h head/sys/dev/pci/pci_iov_schema.c

Re: svn commit: r296868 - head/sys/sys

2016-03-14 Thread Gleb Smirnoff
On Mon, Mar 14, 2016 at 02:31:37PM -0400, Ryan Stone wrote: R> On Mon, Mar 14, 2016 at 2:07 PM, Gleb Smirnoff wrote: R> R> > Remove useless cast in SYSCTL_ADD_COUNTER_U64 macro. R> > R> R> Is it useless? I believe that the point is to give a compiler error if an R>

Re: svn commit: r296871 - head/sys/sys

2016-03-14 Thread Ed Maste
On 14 March 2016 at 16:34, Gleb Smirnoff wrote: > Author: glebius > Date: Mon Mar 14 20:34:30 2016 > New Revision: 296871 > URL: https://svnweb.freebsd.org/changeset/base/296871 > > Log: > Revert r296868. The cast is useful to protect against passing incorrect > argument

svn commit: r296870 - head/etc/autofs

2016-03-14 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Mar 14 18:57:09 2016 New Revision: 296870 URL: https://svnweb.freebsd.org/changeset/base/296870 Log: Restore accidentaly removed comment line. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/etc/autofs/special_media Modified:

svn commit: r296871 - head/sys/sys

2016-03-14 Thread Gleb Smirnoff
Author: glebius Date: Mon Mar 14 20:34:30 2016 New Revision: 296871 URL: https://svnweb.freebsd.org/changeset/base/296871 Log: Revert r296868. The cast is useful to protect against passing incorrect argument type to the macro. Submitted by: rstone Modified: head/sys/sys/sysctl.h

Re: svn commit: r296799 - head/usr.bin/grep/regex

2016-03-14 Thread Ed Maste
On 13 March 2016 at 10:53, Ian Lepore wrote: > Author: ian > Date: Sun Mar 13 14:53:12 2016 > New Revision: 296799 > URL: https://svnweb.freebsd.org/changeset/base/296799 > > Log: > Fix a bug in bsdgrep that caused the program to hang in a tight loop for > some combinations

Re: svn commit: r296826 - in head/sys/arm: conf mv

2016-03-14 Thread Bruce Simpson
On 14/03/16 07:14, Wojciech Macek wrote: Log: Add support for USB3.0 on Armada38x Very cool. Do you know if any Armada (or other embedded) XHCI implementations like this support XHCI Debug Port 1.0 ? ___ svn-src-head@freebsd.org mailing list

svn commit: r296881 - in head: contrib/bsnmp/snmp_mibII sys/netinet

2016-03-14 Thread Gleb Smirnoff
Author: glebius Date: Tue Mar 15 00:15:10 2016 New Revision: 296881 URL: https://svnweb.freebsd.org/changeset/base/296881 Log: Redo r294869. The array of counters for TCP states doesn't belong to struct tcpstat, because the structure can be zeroed out by netstat(1) -z, and of course running

svn commit: r296885 - head/sys/mips/mips

2016-03-14 Thread Maxim Sobolev
Author: sobomax Date: Tue Mar 15 01:17:38 2016 New Revision: 296885 URL: https://svnweb.freebsd.org/changeset/base/296885 Log: Fix build with HWPMC_HOOKS enabled. Modified: head/sys/mips/mips/mips_pic.c Modified: head/sys/mips/mips/mips_pic.c

Re: svn commit: r296861 - in head/sys: arm/arm powerpc/powerpc

2016-03-14 Thread Andrew Turner
On Mon, 14 Mar 2016 14:55:15 + (UTC) "Bjoern A. Zeeb" wrote: > Author: bz > Date: Mon Mar 14 14:55:15 2016 > New Revision: 296861 > URL: https://svnweb.freebsd.org/changeset/base/296861 > > Log: > Only check for SYS_freebsd6_lseek if the syscall code is defined. >

svn commit: r296880 - in head: share/man/man9 sys/kern sys/sys

2016-03-14 Thread Gleb Smirnoff
Author: glebius Date: Tue Mar 15 00:05:00 2016 New Revision: 296880 URL: https://svnweb.freebsd.org/changeset/base/296880 Log: Provide sysctl(9) macro to deal with array of counter(9). Modified: head/share/man/man9/counter.9 head/sys/kern/subr_counter.c head/sys/sys/sysctl.h Modified:

svn commit: r296882 - head/usr.bin/netstat

2016-03-14 Thread Gleb Smirnoff
Author: glebius Date: Tue Mar 15 00:19:30 2016 New Revision: 296882 URL: https://svnweb.freebsd.org/changeset/base/296882 Log: Print running TCP connection counts with TCP statistics. Modified: head/usr.bin/netstat/inet.c head/usr.bin/netstat/main.c head/usr.bin/netstat/netstat.h

Re: svn commit: r296880 - in head: share/man/man9 sys/kern sys/sys

2016-03-14 Thread Mateusz Guzik
On Tue, Mar 15, 2016 at 12:05:00AM +, Gleb Smirnoff wrote: > +int > +sysctl_handle_counter_u64_array(SYSCTL_HANDLER_ARGS) > +{ > + uint64_t *out; > + int error; > + > + out = malloc(arg2 * sizeof(uint64_t), M_TEMP, M_WAITOK); > + for (int i = 0; i < arg2; i++) > +

svn commit: r296883 - head/sys/kern

2016-03-14 Thread Gleb Smirnoff
Author: glebius Date: Tue Mar 15 00:21:32 2016 New Revision: 296883 URL: https://svnweb.freebsd.org/changeset/base/296883 Log: Free the temporary buffer in sysctl_handle_counter_u64_array(). Submitted by: mjg Modified: head/sys/kern/subr_counter.c Modified: head/sys/kern/subr_counter.c

Re: svn commit: r296880 - in head: share/man/man9 sys/kern sys/sys

2016-03-14 Thread Gleb Smirnoff
On Tue, Mar 15, 2016 at 01:16:38AM +0100, Mateusz Guzik wrote: M> On Tue, Mar 15, 2016 at 12:05:00AM +, Gleb Smirnoff wrote: M> > +int M> > +sysctl_handle_counter_u64_array(SYSCTL_HANDLER_ARGS) M> > +{ M> > + uint64_t *out; M> > + int error; M> > + M> > + out = malloc(arg2 *

svn commit: r296873 - head/usr.bin/finger

2016-03-14 Thread Kurt Lidl
Author: lidl Date: Mon Mar 14 22:20:22 2016 New Revision: 296873 URL: https://svnweb.freebsd.org/changeset/base/296873 Log: Do not truncate office phones in finger's summary listing When finger is invoked as as "finger username", it produces the long listing by default, and phones

Re: svn commit: r296825 - in head/sys: arm/conf arm/mv arm/mv/armada38x boot/fdt/dts/arm

2016-03-14 Thread Andrew Turner
On Mon, 14 Mar 2016 07:05:41 + (UTC) Wojciech Macek wrote: > Author: wma > Date: Mon Mar 14 07:05:41 2016 > New Revision: 296825 > URL: https://svnweb.freebsd.org/changeset/base/296825 > > Log: > Make MPIC compatible with ARM_INTRNG > > After ARM_INTRNG

svn commit: r296889 - in head: etc/mtree share/man/man7 tools/build/mk usr.sbin usr.sbin/uathload

2016-03-14 Thread Warner Losh
Author: imp Date: Tue Mar 15 04:42:37 2016 New Revision: 296889 URL: https://svnweb.freebsd.org/changeset/base/296889 Log: Just install ar5523.bin into /usr/share/firmware and stop compiling it in. Differential Review: https://reviews.freebsd.org/D5639 Modified:

svn commit: r296890 - head/sys/dev/mfi

2016-03-14 Thread Warner Losh
Author: imp Date: Tue Mar 15 04:56:39 2016 New Revision: 296890 URL: https://svnweb.freebsd.org/changeset/base/296890 Log: Remove bare & 0x3; it encodes the values of BIO_READ and BIO_WRITE. It's also unnecessary since the only cases in this switch are those two. Modified:

svn commit: r296891 - in head/sys: cam dev/arcmsr dev/iir dev/isci dev/ncr dev/ppbus

2016-03-14 Thread Warner Losh
Author: imp Date: Tue Mar 15 05:17:29 2016 New Revision: 296891 URL: https://svnweb.freebsd.org/changeset/base/296891 Log: Make sure we check for CAM_CDB_POINTER for all drivers. Also, for the drivers I've touched, filter out CAM_CDB_PHYS. Differential Revision:

svn commit: r296892 - head/sys/boot/efi

2016-03-14 Thread Warner Losh
Author: imp Date: Tue Mar 15 05:17:31 2016 New Revision: 296892 URL: https://svnweb.freebsd.org/changeset/base/296892 Log: ms_abi is supported with gcc 4.5 or newer, so build it with gcc if it is 4.5 or newer. Modified: head/sys/boot/efi/Makefile Modified: head/sys/boot/efi/Makefile

Re: svn commit: r296880 - in head: share/man/man9 sys/kern sys/sys

2016-03-14 Thread Ravi Pokala
-Original Message- From: on behalf of Gleb Smirnoff Date: 2016-03-14, Monday at 17:05 To: , , Subject: svn commit: r296880 - in head: share/man/man9