Re: svn commit: r243631 - in head/sys: kern sys

2013-01-13 Thread Alan Cox
On 01/07/2013 12:47, Oleksandr Tymoshenko wrote: > On 12/27/2012 6:46 PM, Oleksandr Tymoshenko wrote: >> On 12/18/2012 1:59 AM, Alan Cox wrote: >>> On 12/17/2012 23:40, Oleksandr Tymoshenko wrote: On 2012-12-08, at 1:21 PM, Alan Cox wrote: > On 12/08/2012 14:32, Andre Oppermann wrote

Re: svn commit: r242314 - head/sys/geom/raid

2013-01-13 Thread Slawa Olhovchenkov
On Mon, Oct 29, 2012 at 02:18:54PM +, Alexander Motin wrote: > Author: mav > Date: Mon Oct 29 14:18:54 2012 > New Revision: 242314 > URL: http://svn.freebsd.org/changeset/base/242314 > > Log: > Make GEOM RAID more aggressive in marking volumes as clean on shutdown > and move that action f

Re: svn commit: r245331 - head/sys/mips/mips

2013-01-13 Thread Robert Watson
On Sat, 12 Jan 2013, Nathan Whitehorn wrote: In a sign of weakness, replicate the MIPS bus_space_generic.c to produce a new FDT version, which will perform necessary address space translation for bus_space -- the solution used in NLM's MIPS FDT support, but possibly not quite th

svn commit: r245363 - head/sys/geom/raid

2013-01-13 Thread Alexander Motin
Author: mav Date: Sun Jan 13 14:30:37 2013 New Revision: 245363 URL: http://svnweb.freebsd.org/changeset/base/245363 Log: Improve support for disabled disks. If disabled disk disconnected and then reconnected back, leave it as disconnected. If new disk inserted instead of disabled, rebuild i

svn commit: r245364 - head/sys/dev/altera/jtag_uart

2013-01-13 Thread Robert Watson
Author: rwatson Date: Sun Jan 13 14:38:09 2013 New Revision: 245364 URL: http://svnweb.freebsd.org/changeset/base/245364 Log: Merge Perforce changeset 219917 to head: Copy Altera JTAG UART nexus bus attachment as a starting point for an FDT bus attachment. Sponsored by: DARPA, AF

svn commit: r245365 - in head/sys: dev/altera/jtag_uart mips/beri

2013-01-13 Thread Robert Watson
Author: rwatson Date: Sun Jan 13 15:08:17 2013 New Revision: 245365 URL: http://svnweb.freebsd.org/changeset/base/245365 Log: Merge Perforce changeset 219918 to head: Naive first cut at an FDT bus attachment for the Altera JTAG UART. Sponsored by: DARPA, AFRL Modified: head/sys/de

svn commit: r245366 - head/sys/dev/terasic/de4led

2013-01-13 Thread Robert Watson
Author: rwatson Date: Sun Jan 13 15:10:27 2013 New Revision: 245366 URL: http://svnweb.freebsd.org/changeset/base/245366 Log: Merge Perforce changeset 219921 to head: Copy DE4 LED nexus bus attachment as a starting point for an FDT attachment. Sponsored by: DARPA, AFRL Added:

svn commit: r245367 - in head/sys: dev/terasic/de4led mips/beri

2013-01-13 Thread Robert Watson
Author: rwatson Date: Sun Jan 13 15:12:35 2013 New Revision: 245367 URL: http://svnweb.freebsd.org/changeset/base/245367 Log: Merge Perforce changeset 219922 to head: Update nexus parts in copied DE4LED attachment to use FDT. Sponsored by: DARPA, AFRL Modified: head/sys/dev/terasi

svn commit: r245368 - head/sys/dev/altera/sdcard

2013-01-13 Thread Robert Watson
Author: rwatson Date: Sun Jan 13 15:13:25 2013 New Revision: 245368 URL: http://svnweb.freebsd.org/changeset/base/245368 Log: Merge Perforce changeset 219926 to head: Copy Altera SDCard nexus attachment as a starting point for the FDT attachment. Sponsored by: DARPA, AFRL Added:

svn commit: r245369 - in head/sys: conf dev/altera/sdcard

2013-01-13 Thread Robert Watson
Author: rwatson Date: Sun Jan 13 15:15:24 2013 New Revision: 245369 URL: http://svnweb.freebsd.org/changeset/base/245369 Log: Merge Perforce changeset 219927 to head: Implement an FDT attachment for the Altera SD Card driver Sponsored by: DARPA, AFRL Modified: head/sys/conf/files

svn commit: r245370 - head/sys/dev/isf

2013-01-13 Thread Robert Watson
Author: rwatson Date: Sun Jan 13 15:16:18 2013 New Revision: 245370 URL: http://svnweb.freebsd.org/changeset/base/245370 Log: Merge Perforce changeset 219929 to head: Replicate nexus attachment for isf(4) to become an FDT attachment. Sponsored by: DARPA, AFRL Added: head/sys/dev/i

svn commit: r245371 - in head/sys: conf dev/isf

2013-01-13 Thread Robert Watson
Author: rwatson Date: Sun Jan 13 16:20:40 2013 New Revision: 245371 URL: http://svnweb.freebsd.org/changeset/base/245371 Log: Partially merge Perforce changeset 219930 to head: Add an Intel StrataFlash (isf) driver FDT attachment. Portions of the original changeset hooking up FDT use

svn commit: r245372 - head/sys/dev/terasic/mtl

2013-01-13 Thread Robert Watson
Author: rwatson Date: Sun Jan 13 16:21:51 2013 New Revision: 245372 URL: http://svnweb.freebsd.org/changeset/base/245372 Log: Merge Perforce changeset 219937 to head: Copy Terasic MTL nexus bus attachment as a starting point for an FDT attachment for the same driver. Sponsored by

svn commit: r245373 - in head/sys: dev/terasic/mtl mips/beri

2013-01-13 Thread Robert Watson
Author: rwatson Date: Sun Jan 13 16:27:56 2013 New Revision: 245373 URL: http://svnweb.freebsd.org/changeset/base/245373 Log: Partially merge Perforce changeset 219938 to head: Write FDT attachment for the Terasic MTL (multitouch LCD) driver. Exploit the fact that FDT allows multiple

Re: svn commit: r245329 - head/sys/mips/beri

2013-01-13 Thread Robert Watson
On Sun, 13 Jan 2013, Andrew Thompson wrote: Merge Perforce change @219935 to head: Initialise Openfirmware/FDT code earlier in the FreeBSD/beri boot, so that the results will be available for configuring the console UART (eventually). Suggested by: thompsa Two Andrew Ts

svn commit: r245375 - head/sys/dev/altera/avgen

2013-01-13 Thread Robert Watson
Author: rwatson Date: Sun Jan 13 16:41:25 2013 New Revision: 245375 URL: http://svnweb.freebsd.org/changeset/base/245375 Log: Merge Perforce changeset 219939 to head: Start restructuring of altera_avgen(4) so that it can have an FDT attachment -- this requires first properly breaking

svn commit: r245376 - in head/sys: conf dev/altera/avgen

2013-01-13 Thread Robert Watson
Author: rwatson Date: Sun Jan 13 16:43:59 2013 New Revision: 245376 URL: http://svnweb.freebsd.org/changeset/base/245376 Log: Merge Perforce changeset 219940 to head: Rework altera_avgen(4) to cleanly(ish) separate nexus bus attachment from the driver itself. This should allow us to

svn commit: r245377 - head/sys/dev/altera/avgen

2013-01-13 Thread Robert Watson
Author: rwatson Date: Sun Jan 13 16:44:45 2013 New Revision: 245377 URL: http://svnweb.freebsd.org/changeset/base/245377 Log: Merge Perforce changeset 219941 to head: Copy altera_avgen(4) nexus attachment as a starting point for an FDT attachment. Sponsored by: DARPA, AFRL Added

svn commit: r245378 - in head/sys: conf dev/altera/avgen

2013-01-13 Thread Robert Watson
Author: rwatson Date: Sun Jan 13 16:51:57 2013 New Revision: 245378 URL: http://svnweb.freebsd.org/changeset/base/245378 Log: Partially merge Perforce changeset 219942 to head: Implement an FDT attachment for altera_avgen(4). Portions of the changeset updating DTS and device.hints wi

svn commit: r245379 - in head/sys/dev/terasic: de4led mtl

2013-01-13 Thread Robert Watson
Author: rwatson Date: Sun Jan 13 16:53:31 2013 New Revision: 245379 URL: http://svnweb.freebsd.org/changeset/base/245379 Log: Partially merge Perforce changeset 219944 to head: Consistently use the vendor name "sri-cambridge" for device compatibility strings on the BERI platform.

svn commit: r245380 - in head/sys/dev: altera/avgen altera/jtag_uart altera/sdcard isf terasic/de4led terasic/mtl

2013-01-13 Thread Robert Watson
Author: rwatson Date: Sun Jan 13 16:57:11 2013 New Revision: 245380 URL: http://svnweb.freebsd.org/changeset/base/245380 Log: Merge Perforce changeset 219952 to head: Make different bus attachments for Altera and Terasice device drivers share the same devclass_t. Sponsored by: DA

Re: svn commit: r243631 - in head/sys: kern sys

2013-01-13 Thread Alfred Perlstein
On 1/12/13 10:32 PM, Adrian Chadd wrote: On 12 January 2013 11:45, Alfred Perlstein wrote: I'm not sure if regressing to the waterfall method of development is a good idea at this point. I see a light at the end of the tunnel and we to continue to just handle these minor corner cases as we pr

svn commit: r245381 - in head: bin/sh tools/regression/bin/sh/expansion

2013-01-13 Thread Jilles Tjoelker
Author: jilles Date: Sun Jan 13 19:19:40 2013 New Revision: 245381 URL: http://svnweb.freebsd.org/changeset/base/245381 Log: sh: Don't lose $? when backquoted command ends with semicolon or newline. An empty simple command was added and overwrote the exit status with 0. This affects `.

svn commit: r245382 - in head: bin/sh tools/regression/bin/sh/parser

2013-01-13 Thread Jilles Tjoelker
Author: jilles Date: Sun Jan 13 19:26:33 2013 New Revision: 245382 URL: http://svnweb.freebsd.org/changeset/base/245382 Log: sh: Fix crash when parsing '{ } &'. MFC after:1 week Added: head/tools/regression/bin/sh/parser/empty-braces1.0 (contents, props changed) Modified: head/b

svn commit: r245383 - head/tools/regression/bin/sh/execution

2013-01-13 Thread Jilles Tjoelker
Author: jilles Date: Sun Jan 13 19:39:13 2013 New Revision: 245383 URL: http://svnweb.freebsd.org/changeset/base/245383 Log: sh: Add some testcases related to subshells. These failed in earlier attempts to execute more subshells without forking. The patches are uncommitted. Added: head

Re: svn commit: r243631 - in head/sys: kern sys

2013-01-13 Thread Adrian Chadd
.. I think the "right" solution is to still review what things rely on maxusers/maxfiles/etc and figure out which make sense to scale off of a global variable, and which don't. Adrian ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/

svn commit: r245385 - head/lib/libutil

2013-01-13 Thread Mateusz Guzik
Author: mjg Date: Sun Jan 13 21:25:43 2013 New Revision: 245385 URL: http://svnweb.freebsd.org/changeset/base/245385 Log: libutil: eliminate 'found' variable in gr_equal Submitted by: Christoph Mallon Modified: head/lib/libutil/gr_util.c Modified: head/lib/libutil/gr_util.c ===

svn commit: r245386 - head/lib/libutil

2013-01-13 Thread Mateusz Guzik
Author: mjg Date: Sun Jan 13 21:26:57 2013 New Revision: 245386 URL: http://svnweb.freebsd.org/changeset/base/245386 Log: libutil: move group_line_format into the scop of its only user. Submitted by: Christoph Mallon Modified: head/lib/libutil/gr_util.c Modified: head/lib/libutil/gr_ut

svn commit: r245387 - head/lib/libutil

2013-01-13 Thread Mateusz Guzik
Author: mjg Date: Sun Jan 13 21:28:47 2013 New Revision: 245387 URL: http://svnweb.freebsd.org/changeset/base/245387 Log: libutil: utilize strsep instead of strcat in a loop in gr_make Submitted by: Christoph Mallon Modified: head/lib/libutil/gr_util.c Modified: head/lib/libutil/gr_uti

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

2013-01-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Jan 13 21:32:40 2013 New Revision: 245388 URL: http://svnweb.freebsd.org/changeset/base/245388 Log: Remove accidentally copypasted comment Spotted by: gavin Modified: head/sys/arm/broadcom/bcm2835/bcm2835_machdep.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835_

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

2013-01-13 Thread Aleksandr Rybalko
Author: ray Date: Sun Jan 13 22:05:46 2013 New Revision: 245389 URL: http://svnweb.freebsd.org/changeset/base/245389 Log: Enable syscons framebuffer support for bcm2835. It makes possible to run Xorg on Raspberry Pi. o convert mmap address to physical. o add FBIOGTYPE ioctl handler - allow

svn commit: r245390 - head/lib/libutil

2013-01-13 Thread Mateusz Guzik
Author: mjg Date: Sun Jan 13 22:08:18 2013 New Revision: 245390 URL: http://svnweb.freebsd.org/changeset/base/245390 Log: libutil: fix typo in comment for gr_fini. Submitted by: Christoph Mallon Modified: head/lib/libutil/gr_util.c Modified: head/lib/libutil/gr_util.c =

svn commit: r245392 - head/tools/regression/bin/sh/expansion

2013-01-13 Thread Jilles Tjoelker
Author: jilles Date: Sun Jan 13 22:35:51 2013 New Revision: 245392 URL: http://svnweb.freebsd.org/changeset/base/245392 Log: sh: Add testcase that $? is preserved into a simple command substitution. The test builtins/trap6.0 already uses this but having it separate eases diagnosis if this

svn commit: r245396 - head/sys/dev/ath

2013-01-13 Thread Adrian Chadd
Author: adrian Date: Sun Jan 13 22:41:58 2013 New Revision: 245396 URL: http://svnweb.freebsd.org/changeset/base/245396 Log: If we're doing a kickpcu, make sure we flush the whole RX list rather than stopping after 128 frames. Whilst here, add in some code that lets me optionally flip bac

svn commit: r245398 - head/sys/geom/raid

2013-01-13 Thread Alexander Motin
Author: mav Date: Sun Jan 13 23:00:40 2013 New Revision: 245398 URL: http://svnweb.freebsd.org/changeset/base/245398 Log: - Add checks for Intel metadata version and attributes. Ignore disks with unsupported metadata types like Intel Smart Response to not corrupt them. - Improve setting of

svn commit: r245400 - head/sys/geom/raid

2013-01-13 Thread Alexander Motin
Author: mav Date: Mon Jan 14 00:38:51 2013 New Revision: 245400 URL: http://svnweb.freebsd.org/changeset/base/245400 Log: Windows driver writes relative volume IDs to metadata field. Use that value as a hint for raid/rX device number to make it persistent across reboots. Modified: head/sys

svn commit: r245401 - in head/usr.sbin/bsdconfig: . networking/share security usermgmt

2013-01-13 Thread Devin Teske
Author: dteske Date: Mon Jan 14 01:09:23 2013 New Revision: 245401 URL: http://svnweb.freebsd.org/changeset/base/245401 Log: Add missing dialog(1) arguments to internationalize "Help"-button label. Modified: head/usr.sbin/bsdconfig/bsdconfig head/usr.sbin/bsdconfig/networking/share/device.s

svn commit: r245402 - in head/usr.sbin/bsdconfig: networking/share share startup

2013-01-13 Thread Devin Teske
Author: dteske Date: Mon Jan 14 01:15:25 2013 New Revision: 245402 URL: http://svnweb.freebsd.org/changeset/base/245402 Log: Add new f_yesno/f_noyes wrapper functions (which take printf(1) syntax). Modified: head/usr.sbin/bsdconfig/networking/share/device.subr head/usr.sbin/bsdconfig/networ

svn commit: r245405 - head/sys/kern

2013-01-13 Thread Konstantin Belousov
Author: kib Date: Mon Jan 14 05:40:21 2013 New Revision: 245405 URL: http://svnweb.freebsd.org/changeset/base/245405 Log: Rename vfs_hash_index() to vfs_hash_bucket(). Reviewed by: peter Tested by:peter, pho Sponsored by: The FreeBSD Foundation MFC after:5 days Modified: h

svn commit: r245406 - in head/sys: kern sys

2013-01-13 Thread Konstantin Belousov
Author: kib Date: Mon Jan 14 05:41:40 2013 New Revision: 245406 URL: http://svnweb.freebsd.org/changeset/base/245406 Log: Add exported vfs_hash_index() function, which calculates the canonical pre-masked hash for the given vnode. The function assumes that vp->v_hash is initialized by the fi

svn commit: r245407 - head/sys/kern

2013-01-13 Thread Konstantin Belousov
Author: kib Date: Mon Jan 14 05:42:54 2013 New Revision: 245407 URL: http://svnweb.freebsd.org/changeset/base/245407 Log: diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 7c243b6..0bdaf36 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -279,6 +279,7 @@ SYSCTL_IN

svn commit: r245408 - head/sys/fs/nullfs

2013-01-13 Thread Konstantin Belousov
Author: kib Date: Mon Jan 14 05:44:47 2013 New Revision: 245408 URL: http://svnweb.freebsd.org/changeset/base/245408 Log: The current default size of the nullfs hash table used to lookup the existing nullfs vnode by the lower vnode is only 16 slots. Since the default mode for the nullfs is

svn commit: r245409 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2013-01-13 Thread Konstantin Belousov
Author: kib Date: Mon Jan 14 05:45:33 2013 New Revision: 245409 URL: http://svnweb.freebsd.org/changeset/base/245409 Log: For zfs vnodes, use the standard inode number based hash algorithm. Reviewed and tested by: peter Sponsored by: The FreeBSD Foundation MFC after:5 days Mo

svn commit: r245410 - head/sys/sys

2013-01-13 Thread Konstantin Belousov
Author: kib Date: Mon Jan 14 05:46:49 2013 New Revision: 245410 URL: http://svnweb.freebsd.org/changeset/base/245410 Log: Rearrange the struct bufobj and struct vnode layouts to reduce padding. On the amd64 kernel with INVARIANTS turned off, size of the struct vnode is reduced from 496 to 4

Re: svn commit: r245407 - head/sys/kern

2013-01-13 Thread Glen Barber
On Mon, Jan 14, 2013 at 05:42:54AM +, Konstantin Belousov wrote: > Author: kib > Date: Mon Jan 14 05:42:54 2013 > New Revision: 245407 > URL: http://svnweb.freebsd.org/changeset/base/245407 > > Log: > diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c > index 7c243b6..0bdaf36 100644 >

svn commit: r245411 - head/sys/kern

2013-01-13 Thread Konstantin Belousov
Author: kib Date: Mon Jan 14 05:52:23 2013 New Revision: 245411 URL: http://svnweb.freebsd.org/changeset/base/245411 Log: Add a trivial comment to record the proper commit log for r245407: Set the v_hash for a new vnode in the getnewvnode() to the value calculated based on the vnode struc

Re: svn commit: r245407 - head/sys/kern

2013-01-13 Thread Konstantin Belousov
On Mon, Jan 14, 2013 at 12:46:50AM -0500, Glen Barber wrote: > On Mon, Jan 14, 2013 at 05:42:54AM +, Konstantin Belousov wrote: > > Author: kib > > Date: Mon Jan 14 05:42:54 2013 > > New Revision: 245407 > > URL: http://svnweb.freebsd.org/changeset/base/245407 > > > > Log: > > diff --git a/s

Re: svn commit: r245407 - head/sys/kern

2013-01-13 Thread Glen Barber
On Mon, Jan 14, 2013 at 07:57:44AM +0200, Konstantin Belousov wrote: > On Mon, Jan 14, 2013 at 12:46:50AM -0500, Glen Barber wrote: > > On Mon, Jan 14, 2013 at 05:42:54AM +, Konstantin Belousov wrote: > > > Author: kib > > > Date: Mon Jan 14 05:42:54 2013 > > > New Revision: 245407 > > > URL: h

svn commit: r245412 - head/usr.sbin/pkg

2013-01-13 Thread Baptiste Daroussin
Author: bapt Date: Mon Jan 14 07:17:38 2013 New Revision: 245412 URL: http://svnweb.freebsd.org/changeset/base/245412 Log: Directly uses calloc(3) instread of malloc(3) + memset(3) Reported by: Jeremy Chadwick MFC after:3 days Modified: head/usr.sbin/pkg/dns_utils.c Modified: he