svn commit: r291843 - in head: share/man/man4 sys/dev/sfxge

2015-12-04 Thread Andrew Rybchenko
Author: arybchik Date: Sat Dec 5 07:04:11 2015 New Revision: 291843 URL: https://svnweb.freebsd.org/changeset/base/291843 Log: sfxge: support for MCDI logging implemented Submitted by: Artem V. Andreev Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differen

Re: svn commit: r290605 - in head/lib/msun: . man

2015-12-04 Thread Warner Losh
On Fri, Dec 4, 2015 at 7:34 PM, NGie Cooper wrote: > Hi Bruce! > > > On Nov 9, 2015, at 04:03, Bruce Evans wrote: > > > > On Mon, 9 Nov 2015, Garrett Cooper wrote: > > > >> Log: > >> Document powl(3) > > > > powl was garbage that was intentionally undocumented. At least, I > > intentionally ign

svn commit: r291842 - head/tools/tools/nanobsd/embedded

2015-12-04 Thread Warner Losh
Author: imp Date: Sat Dec 5 04:43:56 2015 New Revision: 291842 URL: https://svnweb.freebsd.org/changeset/base/291842 Log: New config files for embedded boards. Build with ../nanobsd.sh -c rpi.cfg, for example. This can be done as a normal user. This is a work in progress. It relies on

Re: svn commit: r290605 - in head/lib/msun: . man

2015-12-04 Thread Bruce Evans
On Fri, 4 Dec 2015, NGie Cooper wrote: On Nov 9, 2015, at 04:03, Bruce Evans wrote: On Mon, 9 Nov 2015, Garrett Cooper wrote: Log: Document powl(3) powl was garbage that was intentionally undocumented. At least, I intentionally ignored its non-documentation together with it. POSIX docum

svn commit: r291839 - head/lib/libc/tests/stdio

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 04:10:15 2015 New Revision: 291839 URL: https://svnweb.freebsd.org/changeset/base/291839 Log: Initialize errno to 0 in the nul testcase before testing it For some odd reason stable/10 requires this, otherwise it always fails the errno == 0 check on line 196.

Re: svn commit: r290605 - in head/lib/msun: . man

2015-12-04 Thread NGie Cooper
Hi Bruce! > On Nov 9, 2015, at 04:03, Bruce Evans wrote: > > On Mon, 9 Nov 2015, Garrett Cooper wrote: > >> Log: >> Document powl(3) > > powl was garbage that was intentionally undocumented. At least, I > intentionally ignored its non-documentation together with it. POSIX documents it and I

svn commit: r291838 - head/lib/libc/regex/grot

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 02:25:20 2015 New Revision: 291838 URL: https://svnweb.freebsd.org/changeset/base/291838 Log: Fix -Wformat issues and minor whitespace issues in surrounding areas MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libc/regex/g

svn commit: r291837 - head/lib/libc/regex/grot

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 02:23:44 2015 New Revision: 291837 URL: https://svnweb.freebsd.org/changeset/base/291837 Log: split.ih: - Create automatically generated include header for split.c main.c: - Use function definitions from debug.ih and split.ih instead of externs Sponsor

svn commit: r291836 - head/lib/libc/regex/grot

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 02:18:36 2015 New Revision: 291836 URL: https://svnweb.freebsd.org/changeset/base/291836 Log: Use `==` instead of `=` in the function comment above split(..) so mkh -p exposes split(..). MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modifie

svn commit: r291835 - head/lib/libc/regex/grot

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 02:07:55 2015 New Revision: 291835 URL: https://svnweb.freebsd.org/changeset/base/291835 Log: Use ANSI C function prototypes/definitions instead of K&R style ones MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libc/regex/g

svn commit: r291834 - head/lib/libc/regex/grot

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 01:19:35 2015 New Revision: 291834 URL: https://svnweb.freebsd.org/changeset/base/291834 Log: Add missing headers and sort #includes per style(9) MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libc/regex/grot/main.c Modif

svn commit: r291833 - head/lib/libc/regex/grot

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 01:13:18 2015 New Revision: 291833 URL: https://svnweb.freebsd.org/changeset/base/291833 Log: - Use ANSI C function prototypes/definitions instead of K&R style ones - Add a missing return type for main(..) MFC after: 1 week Sponsored by: EMC / Isilon Storag

svn commit: r291831 - head/tools/tools/nanobsd

2015-12-04 Thread Warner Losh
Author: imp Date: Sat Dec 5 01:12:44 2015 New Revision: 291831 URL: https://svnweb.freebsd.org/changeset/base/291831 Log: Awk helper script that reads in a mtree METALOG file from installworld (and soon augmented by nanobsd), performs the actions documented in the script, and then spits out

svn commit: r291832 - head/lib/libc/regex/grot

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 01:12:58 2015 New Revision: 291832 URL: https://svnweb.freebsd.org/changeset/base/291832 Log: Fix -Wformat warnings by using the correct format qualifiers MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libc/regex/grot/debu

svn commit: r291830 - head/tools/tools/nanobsd

2015-12-04 Thread Warner Losh
Author: imp Date: Sat Dec 5 01:10:04 2015 New Revision: 291830 URL: https://svnweb.freebsd.org/changeset/base/291830 Log: Setting NANO_NOPRIV_BUILD will now add -DNO_ROOT and METALOG= as appropriate. First step in supporting a build w/o root. More to follow as actions by customization s

svn commit: r291829 - head/tools/tools/nanobsd

2015-12-04 Thread Warner Losh
Author: imp Date: Sat Dec 5 00:54:43 2015 New Revision: 291829 URL: https://svnweb.freebsd.org/changeset/base/291829 Log: SRCCONF makes no sense in make.conf. Don't set it there. Rely on it being in the environment. Also filter out the new SRC_ENV_CONF as well. If you really need these set,

svn commit: r291828 - head/tools/tools/nanobsd

2015-12-04 Thread Warner Losh
Author: imp Date: Sat Dec 5 00:15:04 2015 New Revision: 291828 URL: https://svnweb.freebsd.org/changeset/base/291828 Log: Minor cleanup in how we run make: o Move SRCCONF and __MAKE_CONF into the environment to cope with file paths with spaces in them better. o Move the rest of the vari

svn commit: r291827 - head/tools/tools/nanobsd/pcengines

2015-12-04 Thread Warner Losh
Author: imp Date: Fri Dec 4 23:44:34 2015 New Revision: 291827 URL: https://svnweb.freebsd.org/changeset/base/291827 Log: Remove commented out junk. Modified: head/tools/tools/nanobsd/pcengines/common.conf Modified: head/tools/tools/nanobsd/pcengines/common.conf

svn commit: r291826 - head/sys/dev/ioat

2015-12-04 Thread Conrad E. Meyer
Author: cem Date: Fri Dec 4 23:31:32 2015 New Revision: 291826 URL: https://svnweb.freebsd.org/changeset/base/291826 Log: ioat(4): Add MODULE_VERSION so MODULE_DEPEND works Suggested by: jhb Review in progress: cc Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/

svn commit: r291825 - head/tools/tools/nanobsd/pcengines

2015-12-04 Thread Warner Losh
Author: imp Date: Fri Dec 4 23:22:07 2015 New Revision: 291825 URL: https://svnweb.freebsd.org/changeset/base/291825 Log: Since this is an almost identical copy of ALIX_DSK, just include it and add the bits we need at the end. Modified: head/tools/tools/nanobsd/pcengines/ALIX_NFS Modified

Re: svn commit: r291741 - head/sys/geom

2015-12-04 Thread Garrett Cooper
> On Dec 4, 2015, at 12:42, Bruce Evans wrote: ... > I wouldn't trust style(9) for anything except simple formatting, but > look at the subsystem(s) style. Just the top level of geom has 11000+ > lines which can be considered as giving about 20 times more examples > than style(9). It would be

Re: svn commit: r291741 - head/sys/geom

2015-12-04 Thread Bruce Evans
On Fri, 4 Dec 2015, Bryan Drewery wrote: On 12/4/2015 10:03 AM, Bruce Evans wrote: This is specified by not giving an example of using it. style(9) was I really take issue with this stance. I don't think you really mean what this implies. For example, can I even use 'x++' or mtx_lock(9) or u

Re: svn commit: r291741 - head/sys/geom

2015-12-04 Thread Pedro Giffuni
> Il giorno 04/dic/2015, alle ore 13:03, Bruce Evans ha > scritto: > > On Fri, 4 Dec 2015, Andrew Turner wrote: > >> On Fri, 4 Dec 2015 23:42:51 +1100 (EST) >> Bruce Evans wrote: >> ... >>> This looks like 5 style bugs and 0 issues: >>> >>> 3 old style bugs: >>> - use of bool >> >> I don't

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

2015-12-04 Thread Alexander Motin
Author: mav Date: Fri Dec 4 19:46:49 2015 New Revision: 291821 URL: https://svnweb.freebsd.org/changeset/base/291821 Log: Make 16Gig chips to use new queue pointer registers. While 24xx-style ATIO and reply queue registers seems like still working, request queue doesn't. So instead of t

Re: svn commit: r291741 - head/sys/geom

2015-12-04 Thread Bryan Drewery
On 12/4/2015 10:03 AM, Bruce Evans wrote: > This is specified by not giving an example of using it. style(9) was I really take issue with this stance. I don't think you really mean what this implies. For example, can I even use 'x++' or mtx_lock(9) or uintptr_t since they are not shown in an exam

Re: svn commit: r291741 - head/sys/geom

2015-12-04 Thread John Baldwin
On Friday, December 04, 2015 12:53:55 PM Andrew Turner wrote: > On Fri, 4 Dec 2015 23:42:51 +1100 (EST) > Bruce Evans wrote: > ... > > This looks like 5 style bugs and 0 issues: > > > > 3 old style bugs: > > - use of bool > > I don't seem to see where in style(9) we disallow the use of bool. Can

Re: svn commit: r291741 - head/sys/geom

2015-12-04 Thread Conrad Meyer
On Fri, Dec 4, 2015 at 10:03 AM, Bruce Evans wrote: > On Fri, 4 Dec 2015, Andrew Turner wrote: >> I don't seem to see where in style(9) we disallow the use of bool. Can >> you point me where this is specified? > > > This is specified by not giving an example of using it. style(9) was > mostly wri

Re: svn commit: r291741 - head/sys/geom

2015-12-04 Thread Bruce Evans
On Fri, 4 Dec 2015, Andrew Turner wrote: On Fri, 4 Dec 2015 23:42:51 +1100 (EST) Bruce Evans wrote: ... This looks like 5 style bugs and 0 issues: 3 old style bugs: - use of bool I don't seem to see where in style(9) we disallow the use of bool. Can you point me where this is specified? T

svn commit: r291793 - in head/sys/ofed: drivers/net/mlx4 include/linux/mlx4

2015-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 18:20:55 2015 New Revision: 291793 URL: https://svnweb.freebsd.org/changeset/base/291793 Log: Fix i386 build WITH_OFED=YES. Remove some redundant KASSERTs. Suggested by: kib, ian Sponsored by: Mellanox Technologies MFC after:1 week Modified: head

Re: svn commit: r291744 - in head/sys: conf modules

2015-12-04 Thread Bryan Drewery
On 12/4/2015 9:50 AM, John Baldwin wrote: > On Friday, December 04, 2015 04:27:21 AM Bryan Drewery wrote: >> Author: bdrewery >> Date: Fri Dec 4 04:27:21 2015 >> New Revision: 291744 >> URL: https://svnweb.freebsd.org/changeset/base/291744 >> >> Log: >> Calculate MPATH for sys/modules to save 92

Re: svn commit: r291431 - head/sys/dev/drm2/i915

2015-12-04 Thread Renato Botelho
> On Dec 4, 2015, at 15:49, Navdeep Parhar wrote: > > On 12/04/2015 07:53, Renato Botelho wrote: >>> On Nov 28, 2015, at 15:38, Jean-Sébastien Pédron >>> wrote: >>> >>> Author: dumbbell >>> Date: Sat Nov 28 17:38:27 2015 >>> New Revision: 291431 >>> URL: https://svnweb.freebsd.org/changeset/ba

Re: svn commit: r291699 - in head/sys: modules/mlxen ofed/drivers/net/mlx4

2015-12-04 Thread Hans Petter Selasky
On 12/04/15 18:57, Konstantin Belousov wrote: On Thu, Dec 03, 2015 at 02:56:17PM +, Hans Petter Selasky wrote: Author: hselasky Date: Thu Dec 3 14:56:17 2015 New Revision: 291699 URL: https://svnweb.freebsd.org/changeset/base/291699 Log: Convert the mlxen driver to use the BUSDMA(9) API

Re: svn commit: r291699 - in head/sys: modules/mlxen ofed/drivers/net/mlx4

2015-12-04 Thread Konstantin Belousov
On Thu, Dec 03, 2015 at 02:56:17PM +, Hans Petter Selasky wrote: > Author: hselasky > Date: Thu Dec 3 14:56:17 2015 > New Revision: 291699 > URL: https://svnweb.freebsd.org/changeset/base/291699 > > Log: > Convert the mlxen driver to use the BUSDMA(9) APIs instead of > vtophys() when load

Re: svn commit: r291744 - in head/sys: conf modules

2015-12-04 Thread John Baldwin
On Friday, December 04, 2015 04:27:21 AM Bryan Drewery wrote: > Author: bdrewery > Date: Fri Dec 4 04:27:21 2015 > New Revision: 291744 > URL: https://svnweb.freebsd.org/changeset/base/291744 > > Log: > Calculate MPATH for sys/modules to save 92% time in a basic 'obj' tree-walk. > > Sponso

Re: svn commit: r291431 - head/sys/dev/drm2/i915

2015-12-04 Thread Navdeep Parhar
On 12/04/2015 07:53, Renato Botelho wrote: On Nov 28, 2015, at 15:38, Jean-Sébastien Pédron wrote: Author: dumbbell Date: Sat Nov 28 17:38:27 2015 New Revision: 291431 URL: https://svnweb.freebsd.org/changeset/base/291431 Log: drm/i915: Reduce diff with Linux 3.8 There is no functional ch

svn commit: r291771 - head/contrib/llvm/patches

2015-12-04 Thread Dimitry Andric
Author: dim Date: Fri Dec 4 17:23:19 2015 New Revision: 291771 URL: https://svnweb.freebsd.org/changeset/base/291771 Log: Add clang patch corresponding to r291701. Added: head/contrib/llvm/patches/patch-10-clang-cc1as-dwarf2.diff Added: head/contrib/llvm/patches/patch-10-clang-cc1as-dwarf2.

svn commit: r291770 - head/etc

2015-12-04 Thread Jilles Tjoelker
Author: jilles Date: Fri Dec 4 16:32:29 2015 New Revision: 291770 URL: https://svnweb.freebsd.org/changeset/base/291770 Log: rc.subr: Check for running daemons before a custom start_cmd is executed. Currently rc scripts implementing their own start_cmd do not enjoy the benefits of rc.sub

Re: svn commit: r291716 - in head: share/man/man4 sys/cam sys/cam/ata sys/cam/scsi sys/dev/md sys/geom sys/kern sys/pc98/include sys/sys usr.sbin usr.sbin/camdd

2015-12-04 Thread Kenneth D. Merry
On Thu, Dec 03, 2015 at 23:55:14 -0800, Ravi Pokala wrote: > Hi Ken, > > A few questions: > > > Although these ioctls do not have a declared argument, they > > both take a union ccb pointer. If we declare a size here, > > the ioctl code in sys/kern/sys_generic.c will malloc and free

Re: svn commit: r291431 - head/sys/dev/drm2/i915

2015-12-04 Thread Renato Botelho
> On Nov 28, 2015, at 15:38, Jean-Sébastien Pédron wrote: > > Author: dumbbell > Date: Sat Nov 28 17:38:27 2015 > New Revision: 291431 > URL: https://svnweb.freebsd.org/changeset/base/291431 > > Log: > drm/i915: Reduce diff with Linux 3.8 > > There is no functional change. The goal is to ease

Re: svn commit: r291689 - in head/sys: conf dev/ahci

2015-12-04 Thread Andrew Turner
On Thu, 3 Dec 2015 13:34:07 +0200 Konstantin Belousov wrote: > On Thu, Dec 03, 2015 at 11:24:11AM +, Andrew Turner wrote: > > Author: andrew > > Date: Thu Dec 3 11:24:11 2015 > > New Revision: 291689 > > URL: https://svnweb.freebsd.org/changeset/base/291689 > > > > Log: > > Add support fo

svn commit: r291768 - head/sys/modules/ahci

2015-12-04 Thread Andrew Turner
Author: andrew Date: Fri Dec 4 13:32:00 2015 New Revision: 291768 URL: https://svnweb.freebsd.org/changeset/base/291768 Log: Add ahci_generic to the ahci module on arm64. Pointed out by: kib Modified: head/sys/modules/ahci/Makefile Modified: head/sys/modules/ahci/Makefile ===

Re: svn commit: r291741 - head/sys/geom

2015-12-04 Thread Andrew Turner
On Fri, 4 Dec 2015 23:42:51 +1100 (EST) Bruce Evans wrote: ... > This looks like 5 style bugs and 0 issues: > > 3 old style bugs: > - use of bool I don't seem to see where in style(9) we disallow the use of bool. Can you point me where this is specified? Andrew _

Re: svn commit: r291741 - head/sys/geom

2015-12-04 Thread Bruce Evans
On Thu, 3 Dec 2015, Bryan Drewery wrote: On 12/3/2015 7:38 PM, Kenneth D. Merry wrote: g_disk_limit(struct disk *dp, struct bio *bp) { bool limited = false; - off_t d_maxsize; - - d_maxsize = (bp->bio_cmd == BIO_DELETE) ? - dp->d_delmaxsize : dp->d_maxsize; +

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

2015-12-04 Thread Christian Brueffer
Author: brueffer Date: Fri Dec 4 10:34:58 2015 New Revision: 291766 URL: https://svnweb.freebsd.org/changeset/base/291766 Log: ARC-1203 is supported since the latest driver update. Modified: head/share/man/man4/arcmsr.4 Modified: head/share/man/man4/arcmsr.4

svn commit: r291753 - head/sys/ofed/drivers/infiniband/hw/mthca

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Fri Dec 4 09:01:58 2015 New Revision: 291753 URL: https://svnweb.freebsd.org/changeset/base/291753 Log: Fix scope of bridge_header and bridge_pcix_cap in mthca_reset(..) They're only used in the __linux__ case Differential Revision: https://reviews.freebsd.org/D4332

svn commit: r291752 - head/sys/netinet

2015-12-04 Thread Michael Tuexen
Author: tuexen Date: Fri Dec 4 08:49:27 2015 New Revision: 291752 URL: https://svnweb.freebsd.org/changeset/base/291752 Log: Fix a bug where a stream reset request wasn't retranmitted when the peer indicated "In progress". MFC after:1 week Modified: head/sys/netinet/sctp_input.c