svn commit: r222556 - in stable/8/sys: amd64/linux32 compat/freebsd32 i386/linux

2011-06-01 Thread Artem Belevich
Author: art Date: Wed Jun 1 06:01:17 2011 New Revision: 222556 URL: http://svn.freebsd.org/changeset/base/222556 Log: Added DTrace systrace support for linux32 and freebsd32 on amd64 syscalls Regenerates system call and systrace support files. PR: kern/152822 Reviewed by:

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

2011-06-01 Thread Andriy Gapon
on 31/05/2011 20:29 Kenneth D. Merry said the following: + mtx_init(mbp-msg_lock, msgbuf, NULL, MTX_SPIN); Sorry that I didn't gather myself together for a review before this change got actually committed. Do you see any reason not to make this spinlock recursive? I am a little bit worried

svn commit: r222557 - in stable/8/sys: cddl/dev/systrace modules/dtrace modules/dtrace/dtraceall modules/dtrace/systrace_freebsd32 modules/dtrace/systrace_linux32

2011-06-01 Thread Artem Belevich
Author: art Date: Wed Jun 1 06:07:57 2011 New Revision: 222557 URL: http://svn.freebsd.org/changeset/base/222557 Log: MFC r219561, r220437: add DTrace systrace support for linux32 and freebsd32 on amd64 syscalls Add systrace_linux32 and systrace_freebsd32 modules which provide support

Re: svn commit: r222084 - head/contrib/gperf/src

2011-06-01 Thread Bruce Evans
On Tue, 31 May 2011, Steve Kargl wrote: On Tue, May 31, 2011 at 03:28:45PM +0100, Ben Laurie wrote: On 18/05/2011 22:16, Pawel Jakub Dawidek wrote: On Wed, May 18, 2011 at 09:06:20PM +, Ben Laurie wrote: Author: benl Date: Wed May 18 21:06:20 2011 New Revision: 222084 URL:

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

2011-06-01 Thread Bruce Evans
On Wed, 1 Jun 2011, Andriy Gapon wrote: on 31/05/2011 20:29 Kenneth D. Merry said the following: + mtx_init(mbp-msg_lock, msgbuf, NULL, MTX_SPIN); Sorry that I didn't gather myself together for a review before this change got actually committed. Do you see any reason not to make this

svn commit: r222558 - head/contrib/binutils/ld/emulparams

2011-06-01 Thread Jayachandran C.
Author: jchandra Date: Wed Jun 1 10:23:03 2011 New Revision: 222558 URL: http://svn.freebsd.org/changeset/base/222558 Log: Add .interp back into INITIAL_READONLY_SECTIONS in MIPS n64 ABI. The binutils update in r218822 caused the MIPS n64 dynamic binaries to fail because the .interp

svn commit: r222559 - head/sys/netinet/ipfw

2011-06-01 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 1 12:05:35 2011 New Revision: 222559 URL: http://svn.freebsd.org/changeset/base/222559 Log: Hide useless warning under debug macro. PR: kern/69963 MFC after:1 week Modified: head/sys/netinet/ipfw/ip_fw_dynamic.c Modified:

Re: svn commit: r222466 - head/sbin/umount

2011-06-01 Thread Bruce Evans
On Tue, 31 May 2011, Rick Macklem wrote: It is only an optimization. Any number of syncs are useless for actually syncing the system, since sync(2) only does an async sync (it returns without waiting for most writes to complete). As you pointed out later in this thread, unmount(2) does a sync

svn commit: r222560 - head/sys/netinet/ipfw

2011-06-01 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 1 12:33:05 2011 New Revision: 222560 URL: http://svn.freebsd.org/changeset/base/222560 Log: Hide some debug messages under debug macro. MFC after:1 week Modified: head/sys/netinet/ipfw/ip_dummynet.c Modified: head/sys/netinet/ipfw/ip_dummynet.c

svn commit: r222565 - in stable/8/sys: amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf

2011-06-01 Thread Artem Belevich
Author: art Date: Wed Jun 1 14:41:08 2011 New Revision: 222565 URL: http://svn.freebsd.org/changeset/base/222565 Log: Fixed lost svn:mergeinfo on some directories in sys/ Approved by: avg (mentor) Modified: Directory Properties: stable/8/sys/amd64/include/xen/ (props changed)

svn commit: r222566 - stable/8/share/man/man9

2011-06-01 Thread Matthew D Fleming
Author: mdf Date: Wed Jun 1 15:46:12 2011 New Revision: 222566 URL: http://svn.freebsd.org/changeset/base/222566 Log: MFC r212364: Fix small errors in the sbuf(9) man page. Modified: stable/8/share/man/man9/sbuf.9 Directory Properties: stable/8/share/man/man9/ (props changed)

svn commit: r222567 - stable/7/share/man/man9

2011-06-01 Thread Matthew D Fleming
Author: mdf Date: Wed Jun 1 15:46:26 2011 New Revision: 222567 URL: http://svn.freebsd.org/changeset/base/222567 Log: MFC r212364: Fix small errors in the sbuf(9) man page. Modified: stable/7/share/man/man9/sbuf.9 Directory Properties: stable/7/share/man/man9/ (props changed)

svn commit: r222568 - head/usr.sbin/kbdmap

2011-06-01 Thread Jaakko Heinonen
Author: jh Date: Wed Jun 1 15:48:43 2011 New Revision: 222568 URL: http://svn.freebsd.org/changeset/base/222568 Log: Don't try to close the stream if fopen(3) fails. PR: bin/155349 Submitted by: Urankar Mikael Modified: head/usr.sbin/kbdmap/kbdmap.c Modified:

svn commit: r222569 - in stable/7/sys: kern sys

2011-06-01 Thread Matthew D Fleming
Author: mdf Date: Wed Jun 1 16:07:14 2011 New Revision: 222569 URL: http://svn.freebsd.org/changeset/base/222569 Log: MFC r181462: Switch to simplified BSD license (with phk's approval), plus whitespace and style(9) cleanup. Modified: stable/7/sys/kern/subr_sbuf.c

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

2011-06-01 Thread Justin T. Gibbs
On 6/1/11 12:07 AM, Andriy Gapon wrote: on 31/05/2011 20:29 Kenneth D. Merry said the following: + mtx_init(mbp-msg_lock, msgbuf, NULL, MTX_SPIN); Sorry that I didn't gather myself together for a review before this change got actually committed. Do you see any reason not to make this

svn commit: r222570 - stable/8/sys/kern

2011-06-01 Thread Matthew D Fleming
Author: mdf Date: Wed Jun 1 16:34:18 2011 New Revision: 222570 URL: http://svn.freebsd.org/changeset/base/222570 Log: MFC r212180-r212184: Use math rather than iteration when the desired sbuf size is larger than SBUF_MAXEXTENDSIZE. Fix brain fart when converting an if statement

svn commit: r222571 - stable/7/sys/kern

2011-06-01 Thread Matthew D Fleming
Author: mdf Date: Wed Jun 1 16:34:26 2011 New Revision: 222571 URL: http://svn.freebsd.org/changeset/base/222571 Log: MFC r212180-r212184: Use math rather than iteration when the desired sbuf size is larger than SBUF_MAXEXTENDSIZE. Fix brain fart when converting an if statement

svn commit: r222574 - in stable/8: share/man/man9 sys/kern sys/sys

2011-06-01 Thread Matthew D Fleming
Author: mdf Date: Wed Jun 1 17:36:52 2011 New Revision: 222574 URL: http://svn.freebsd.org/changeset/base/222574 Log: MFC r212365, r212367: r212365: Refactor sbuf code so that most uses of sbuf_extend() are in a new sbuf_put_byte(). This makes it easier to add drain functionality

svn commit: r222575 - in stable/7: share/man/man9 sys/kern sys/sys

2011-06-01 Thread Matthew D Fleming
Author: mdf Date: Wed Jun 1 17:40:59 2011 New Revision: 222575 URL: http://svn.freebsd.org/changeset/base/222575 Log: MFC r212365, r212367: r212365: Refactor sbuf code so that most uses of sbuf_extend() are in a new sbuf_put_byte(). This makes it easier to add drain functionality

svn commit: r222576 - stable/8/sys/kern

2011-06-01 Thread Matthew D Fleming
Author: mdf Date: Wed Jun 1 17:51:18 2011 New Revision: 222576 URL: http://svn.freebsd.org/changeset/base/222576 Log: MFC r212478: (originally by kan@) Add missing pointer increment to sbuf_cat. Modified: stable/8/sys/kern/subr_sbuf.c Directory Properties: stable/8/sys/ (props

svn commit: r222577 - stable/7/sys/kern

2011-06-01 Thread Matthew D Fleming
Author: mdf Date: Wed Jun 1 17:51:27 2011 New Revision: 222577 URL: http://svn.freebsd.org/changeset/base/222577 Log: MFC r212478: (originally by kan@) Add missing pointer increment to sbuf_cat. Modified: stable/7/sys/kern/subr_sbuf.c Directory Properties: stable/7/sys/ (props

svn commit: r222578 - in head: share/man/man4 sys/conf sys/dev/usb sys/dev/usb/serial sys/modules/usb sys/modules/usb/umcs7840

2011-06-01 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 1 17:58:27 2011 New Revision: 222578 URL: http://svn.freebsd.org/changeset/base/222578 Log: Add support for new USB serial driver. Submitted by: Lev Serebryakov, lev @ MFC after:14 days Added: head/share/man/man4/umcs7840.4 (contents, props

svn commit: r222579 - in stable/8: share/man/man9 sys/dev/cxgb sys/kern sys/sys

2011-06-01 Thread Matthew D Fleming
Author: mdf Date: Wed Jun 1 18:26:59 2011 New Revision: 222579 URL: http://svn.freebsd.org/changeset/base/222579 Log: Partial MFC of r212370. np@ requested this functionality so I kept in the cxgb change, but otherwise MFC'd only the new function sbuf_new_for_sysctl(9) and none of the

svn commit: r222580 - in stable/7: share/man/man9 sys/dev/cxgb sys/kern sys/sys

2011-06-01 Thread Matthew D Fleming
Author: mdf Date: Wed Jun 1 18:27:13 2011 New Revision: 222580 URL: http://svn.freebsd.org/changeset/base/222580 Log: Partial MFC of r212370. np@ requested this functionality so I kept in the cxgb change, but otherwise MFC'd only the new function sbuf_new_for_sysctl(9) and none of the

svn commit: r222581 - head/sys/dev/usb/net

2011-06-01 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 1 18:42:44 2011 New Revision: 222581 URL: http://svn.freebsd.org/changeset/base/222581 Log: Poke correct GPIO pins for newer axe(4) controllers with Marvell PHY. Newer models seem to use different LED mode that requires enabling both GPIO1 and GPIO2.

svn commit: r222582 - head/sys/netinet/ipfw

2011-06-01 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 1 19:44:52 2011 New Revision: 222582 URL: http://svn.freebsd.org/changeset/base/222582 Log: O_FORWARD_IP is only action which depends from the result of lookup of dynamic rules. We are doing forwarding in the following cases: o For the simple ipfw fwd rule, e.g.

Re: svn commit: r222466 - head/sbin/umount

2011-06-01 Thread Rick Macklem
Did you have to change VFS_SYNC() to pass the forced-dismount flag? I don't like that, but see the problem: VFS_SYNC(XXX_WAIT) should normally just try to sync everything, but return an error if this is impossible, but for an nfs server it would take too long to determine that it is

svn commit: r222583 - head/sys/net

2011-06-01 Thread Robert Watson
Author: rwatson Date: Wed Jun 1 20:00:25 2011 New Revision: 222583 URL: http://svn.freebsd.org/changeset/base/222583 Log: Add an optional netisr dispatch point at ether_input(), but set the default dispatch method to NETISR_DISPATCH_DIRECT in order to force direct dispatch. This adds a

svn commit: r222584 - in head/sys/dev/ath/ath_hal: . ar5212 ar5416 ar9001 ar9002

2011-06-01 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 20:01:02 2011 New Revision: 222584 URL: http://svn.freebsd.org/changeset/base/222584 Log: Add some missing DFS chipset functionality to the FreeBSD HAL. Please note - this doesn't in any way constitute a full DFS implementation, it merely adds the relevant

svn commit: r222585 - in head/sys: conf dev/ath dev/ath/ath_dfs dev/ath/ath_dfs/null modules/ath

2011-06-01 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 20:09:49 2011 New Revision: 222585 URL: http://svn.freebsd.org/changeset/base/222585 Log: Flesh out the radar detection related operations for the ath driver. This is in no way a complete DFS/radar detection implementation! It merely creates an abstracted

svn commit: r222586 - in head/sys: fs/nfsclient fs/nwfs fs/smbfs nfsclient vm

2011-06-01 Thread Konstantin Belousov
Author: kib Date: Wed Jun 1 21:00:28 2011 New Revision: 222586 URL: http://svn.freebsd.org/changeset/base/222586 Log: In the VOP_PUTPAGES() implementations, change the default error from VM_PAGER_AGAIN to VM_PAGER_ERROR for the uwritten pages. Return VM_PAGER_AGAIN for the partially

svn commit: r222588 - head/sys/dev/ixgbe

2011-06-01 Thread Jack F Vogel
Author: jfv Date: Thu Jun 2 00:34:57 2011 New Revision: 222588 URL: http://svn.freebsd.org/changeset/base/222588 Log: First off: update the driver README, the old one was horribly crusty, and this still isn't perfect, but its at least a bit more recent. Secondly, a few improvements to

svn commit: r222589 - in head: sys/dev/mfi usr.sbin/mfiutil

2011-06-01 Thread Ed Maste
Author: emaste Date: Thu Jun 2 00:43:16 2011 New Revision: 222589 URL: http://svn.freebsd.org/changeset/base/222589 Log: There are a couple of structs in mfireg.h with members named 'class'. These cause problems when trying to include the header in a C++ project. Rename them to

Re: svn commit: r222588 - head/sys/dev/ixgbe

2011-06-01 Thread Martin Wilke
that commit break the build .. -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param

Re: svn commit: r222588 - head/sys/dev/ixgbe

2011-06-01 Thread Jack Vogel
Opps, will fix directly, forgot about a last minute change to ixv.c Jack On Wed, Jun 1, 2011 at 9:32 PM, Martin Wilke m...@freebsd.org wrote: that commit break the build .. -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/usr/src/sys

svn commit: r222592 - head/sys/dev/ixgbe

2011-06-01 Thread Jack F Vogel
Author: jfv Date: Thu Jun 2 05:31:54 2011 New Revision: 222592 URL: http://svn.freebsd.org/changeset/base/222592 Log: Cut and paste mistake corrected. Modified: head/sys/dev/ixgbe/ixv.c Modified: head/sys/dev/ixgbe/ixv.c