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

2011-11-18 Thread Hans Petter Selasky
Author: hselasky Date: Fri Nov 18 08:31:24 2011 New Revision: 227654 URL: http://svn.freebsd.org/changeset/base/227654 Log: Make some XHCI command timeouts less strict. Reported by: Jan Henrik Sylvester MFC after:1 week Modified: head/sys/dev/usb/controller/xhci.c Modified:

svn commit: r227655 - head/sys/netinet

2011-11-18 Thread Michael Tuexen
Author: tuexen Date: Fri Nov 18 09:01:08 2011 New Revision: 227655 URL: http://svn.freebsd.org/changeset/base/227655 Log: Cleanup comparison of interface names. MFC after: 1 month. Modified: head/sys/netinet/sctp_pcb.c Modified: head/sys/netinet/sctp_pcb.c

svn commit: r227656 - head/sys/sys

2011-11-18 Thread Konstantin Belousov
Author: kib Date: Fri Nov 18 09:05:25 2011 New Revision: 227656 URL: http://svn.freebsd.org/changeset/base/227656 Log: Use the alternate form of the gcc extension that works even with -ansi -pedantic without issuing a warning, and which is recommended by gcc manual. MFC after:1

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

2011-11-18 Thread Konstantin Belousov
Author: kib Date: Fri Nov 18 09:12:26 2011 New Revision: 227657 URL: http://svn.freebsd.org/changeset/base/227657 Log: Consistently use process spin lock for protection of the p-p_boundary_count. Race could cause the execve(2) from the threaded process to hung since thread boundary counter

svn commit: r227658 - head/sys/mips/include

2011-11-18 Thread Jayachandran C.
Author: jchandra Date: Fri Nov 18 09:30:24 2011 New Revision: 227658 URL: http://svn.freebsd.org/changeset/base/227658 Log: Fix COP0 hazards for XLR and XLP The XLR CPUs do not have any software visible hazards for COP0 operations. On XLP the hazard is a ehb, since it is mips64r2.

svn commit: r227660 - head/libexec/rtld-elf

2011-11-18 Thread Konstantin Belousov
Author: kib Date: Fri Nov 18 09:55:47 2011 New Revision: 227660 URL: http://svn.freebsd.org/changeset/base/227660 Log: Fix fd leak. Reported by: slonoman2011 yandex ru MFC after:1 week Modified: head/libexec/rtld-elf/rtld.c Modified: head/libexec/rtld-elf/rtld.c

svn commit: r227661 - head/lib/librt

2011-11-18 Thread Konstantin Belousov
Author: kib Date: Fri Nov 18 09:56:40 2011 New Revision: 227661 URL: http://svn.freebsd.org/changeset/base/227661 Log: Free unused allocation on error. Reported by: slonoman2011 yandex ru MFC after:1 week Modified: head/lib/librt/timer.c Modified: head/lib/librt/timer.c

svn commit: r227662 - head/sys/modules

2011-11-18 Thread Philip Paeps
Author: philip Date: Fri Nov 18 11:10:14 2011 New Revision: 227662 URL: http://svn.freebsd.org/changeset/base/227662 Log: Limit building sfxge(4) to amd64 only to unbreak the tinderboxen. The driver should also work on (at least) i386 but hasn't been built/tested for a while. MFC after:

svn commit: r227663 - in head/sys/mips: conf nlm

2011-11-18 Thread Jayachandran C.
Author: jchandra Date: Fri Nov 18 11:18:59 2011 New Revision: 227663 URL: http://svn.freebsd.org/changeset/base/227663 Log: Rearrange XLP configuration files. Create std.XLP for configuration options, which is included by the conf files. The files XLP, XLPN32 and XLP64 will have mostly

svn commit: r227664 - stable/9/contrib/gcc/config/arm

2011-11-18 Thread Fabien Thomas
Author: fabient Date: Fri Nov 18 14:41:48 2011 New Revision: 227664 URL: http://svn.freebsd.org/changeset/base/227664 Log: MFC r227391: Import gcc fix for -fstack-protector that produces segfaulting binaries on arm/armel. Related gcc bug:

svn commit: r227665 - releng/9.0/contrib/gcc/config/arm

2011-11-18 Thread Fabien Thomas
Author: fabient Date: Fri Nov 18 14:56:06 2011 New Revision: 227665 URL: http://svn.freebsd.org/changeset/base/227665 Log: MFC r227391: Import gcc fix for -fstack-protector that produces segfaulting binaries on arm/armel. Related gcc bug:

svn commit: r227666 - in head/release/doc: en_US.ISO8859-1/hardware share/misc

2011-11-18 Thread Christian Brueffer
Author: brueffer Date: Fri Nov 18 16:54:22 2011 New Revision: 227666 URL: http://svn.freebsd.org/changeset/base/227666 Log: Add sfxge(4) to the hardware notes. Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml head/release/doc/share/misc/dev.archlist.txt Modified:

svn commit: r227674 - head/sys/kern

2011-11-18 Thread Peter Holm
Author: pho Date: Fri Nov 18 19:14:42 2011 New Revision: 227674 URL: http://svn.freebsd.org/changeset/base/227674 Log: Added check for negative seconds value. Found by syscall() fuzzing. MFC after:1 week Modified: head/sys/kern/kern_thr.c Modified: head/sys/kern/kern_thr.c

svn commit: r227675 - head/sys/dev/dc

2011-11-18 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 18 19:38:19 2011 New Revision: 227675 URL: http://svn.freebsd.org/changeset/base/227675 Log: Partially revert r218788. r218788 removed calling dc_setcfg() for !DC_IS_ADMTEK in dc_miibus_statchg(). This change broke link establishment of Intel 21143 with

svn commit: r227677 - stable/9/sys/conf

2011-11-18 Thread Doug Barton
Author: dougb Date: Fri Nov 18 20:47:14 2011 New Revision: 227677 URL: http://svn.freebsd.org/changeset/base/227677 Log: MFC r226863: Fix svnversion for svn 1.7.x by not looking for .svn in ${SYSDIR} (since it no longer exists). Instead, run svnversion if we can find the binary and

svn commit: r227678 - releng/9.0/sys/conf

2011-11-18 Thread Doug Barton
Author: dougb Date: Fri Nov 18 20:51:31 2011 New Revision: 227678 URL: http://svn.freebsd.org/changeset/base/227678 Log: MFC r226863: Fix svnversion for svn 1.7.x by not looking for .svn in ${SYSDIR} (since it no longer exists). Instead, run svnversion if we can find the binary and

svn commit: r227679 - stable/8/sys/conf

2011-11-18 Thread Doug Barton
Author: dougb Date: Fri Nov 18 21:04:59 2011 New Revision: 227679 URL: http://svn.freebsd.org/changeset/base/227679 Log: MFC r213077: Simplify how we find the kernel source. MFC r18: expr - sh arithmetic expansion MFC r226863: Fix svnversion for svn 1.7.x by not looking for

svn commit: r227680 - stable/7/sys/conf

2011-11-18 Thread Doug Barton
Author: dougb Date: Fri Nov 18 21:09:03 2011 New Revision: 227680 URL: http://svn.freebsd.org/changeset/base/227680 Log: MFC r213077: Simplify how we find the kernel source. MFC r18: expr - sh arithmetic expansion MFC r226863: Fix svnversion for svn 1.7.x by not looking for

svn commit: r227681 - stable/9/lib/libc/sys

2011-11-18 Thread Doug Barton
Author: dougb Date: Fri Nov 18 21:10:13 2011 New Revision: 227681 URL: http://svn.freebsd.org/changeset/base/227681 Log: MFC r227416: Document that flock can return ENOLCK Approved by: re (kib) Modified: stable/9/lib/libc/sys/flock.2 Directory Properties: stable/9/lib/libc/

svn commit: r227682 - releng/9.0/lib/libc/sys

2011-11-18 Thread Doug Barton
Author: dougb Date: Fri Nov 18 21:12:05 2011 New Revision: 227682 URL: http://svn.freebsd.org/changeset/base/227682 Log: MFC r227416: Document that flock can return ENOLCK Approved by: re (kib) Modified: releng/9.0/lib/libc/sys/flock.2 Directory Properties: releng/9.0/lib/libc/

svn commit: r227683 - stable/8/lib/libc/sys

2011-11-18 Thread Doug Barton
Author: dougb Date: Fri Nov 18 21:12:58 2011 New Revision: 227683 URL: http://svn.freebsd.org/changeset/base/227683 Log: MFC r227416: Document that flock can return ENOLCK Modified: stable/8/lib/libc/sys/flock.2 Directory Properties: stable/8/lib/libc/ (props changed)

svn commit: r227684 - stable/7/lib/libc/sys

2011-11-18 Thread Doug Barton
Author: dougb Date: Fri Nov 18 21:13:43 2011 New Revision: 227684 URL: http://svn.freebsd.org/changeset/base/227684 Log: MFC r227416: Document that flock can return ENOLCK Modified: stable/7/lib/libc/sys/flock.2 Directory Properties: stable/7/lib/libc/ (props changed)

svn commit: r227685 - head/sys/dev/dc

2011-11-18 Thread Marius Strobl
Author: marius Date: Fri Nov 18 21:22:43 2011 New Revision: 227685 URL: http://svn.freebsd.org/changeset/base/227685 Log: - There's no need to ignore the return value of mii_attach(9) when attaching dcphy(4) (CID 9283). - In dc_detach(), check whether ifp is NULL as dc_attach() may call

svn commit: r227686 - head/sys/dev/dc

2011-11-18 Thread Marius Strobl
Author: marius Date: Fri Nov 18 21:23:13 2011 New Revision: 227686 URL: http://svn.freebsd.org/changeset/base/227686 Log: There's no need to read DC_10BTSTAT twice in dcphy_status(). Modified: head/sys/dev/dc/dcphy.c Modified: head/sys/dev/dc/dcphy.c

svn commit: r227687 - head/sys/dev/mii

2011-11-18 Thread Marius Strobl
Author: marius Date: Fri Nov 18 22:39:46 2011 New Revision: 227687 URL: http://svn.freebsd.org/changeset/base/227687 Log: - Add a hint.miibus.X.phymask hint, allowing do individually exclude PHY addresses from being probed and attaching something including ukphy(4) to it. This is mainly

svn commit: r227688 - head/sys/dev/mii

2011-11-18 Thread Marius Strobl
Author: marius Date: Fri Nov 18 22:58:13 2011 New Revision: 227688 URL: http://svn.freebsd.org/changeset/base/227688 Log: There's no need export the device interface methods of miibus(4). Modified: head/sys/dev/mii/mii.c head/sys/dev/mii/miivar.h Modified: head/sys/dev/mii/mii.c

svn commit: r227689 - head/sys/kern

2011-11-18 Thread Navdeep Parhar
Author: np Date: Sat Nov 19 00:20:28 2011 New Revision: 227689 URL: http://svn.freebsd.org/changeset/base/227689 Log: Do not increment the parent firmware's reference count when any other firmware image in the module is registered. Instead, do it when the other image is itself referenced.

svn commit: r227690 - head/sys/nfsclient

2011-11-18 Thread Rick Macklem
Author: rmacklem Date: Sat Nov 19 03:20:15 2011 New Revision: 227690 URL: http://svn.freebsd.org/changeset/base/227690 Log: The old NFS client will crash due to the reply being m_freem()'d twice if the server bogusly returns an error with the NFSERR_RETERR bit (bit 31) set. No actual NFS

Re: svn commit: r227541 - head/sys/dev/usb/controller

2011-11-18 Thread Bruce Evans
On Tue, 15 Nov 2011, Hans Petter Selasky wrote: On Tuesday 15 November 2011 21:54:28 m...@freebsd.org wrote: On Tue, Nov 15, 2011 at 12:48 PM, Hans Petter Selasky hsela...@freebsd.org wrote: Log: Some brands of XHCI controllers needs more time to reset. ... and since there's no

svn commit: r227691 - in head/sys: amd64/linux32 compat/freebsd32 compat/linux compat/svr4 i386/ibcs2 i386/linux kern

2011-11-18 Thread Ed Schouten
Author: ed Date: Sat Nov 19 06:35:15 2011 New Revision: 227691 URL: http://svn.freebsd.org/changeset/base/227691 Log: Improve *access*() parameter name consistency. The current code mixes the use of `flags' and `mode'. This is a bit confusing, since the faccessat() function as a `flag'

svn commit: r227692 - in head/sys: amd64/linux32 compat/freebsd32 compat/svr4 i386/ibcs2 i386/linux kern sys

2011-11-18 Thread Ed Schouten
Author: ed Date: Sat Nov 19 06:36:11 2011 New Revision: 227692 URL: http://svn.freebsd.org/changeset/base/227692 Log: Regenerate system call tables. Modified: head/sys/amd64/linux32/linux32_proto.h head/sys/amd64/linux32/linux32_syscall.h head/sys/amd64/linux32/linux32_syscalls.c

svn commit: r227693 - in head/sys: amd64/linux32 compat/linux i386/linux

2011-11-18 Thread Ed Schouten
Author: ed Date: Sat Nov 19 07:19:37 2011 New Revision: 227693 URL: http://svn.freebsd.org/changeset/base/227693 Log: Make the Linux *at() calls a bit more complete. Properly support: - AT_EACCESS for faccessat(), - AT_SYMLINK_FOLLOW for linkat(). Modified:

svn commit: r227694 - in head/sys: amd64/linux32 i386/linux

2011-11-18 Thread Ed Schouten
Author: ed Date: Sat Nov 19 07:20:20 2011 New Revision: 227694 URL: http://svn.freebsd.org/changeset/base/227694 Log: Regenerate system call tables. Modified: head/sys/amd64/linux32/linux32_proto.h head/sys/amd64/linux32/linux32_syscall.h head/sys/amd64/linux32/linux32_syscalls.c

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

2011-11-18 Thread Konstantin Belousov
Author: kib Date: Sat Nov 19 07:40:13 2011 New Revision: 227695 URL: http://svn.freebsd.org/changeset/base/227695 Log: Use the plain panic calls, without additional printing around them. The debugger and dumping support is adequate. Tested by:pho MFC after:1 week Modified:

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

2011-11-18 Thread Konstantin Belousov
Author: kib Date: Sat Nov 19 07:41:37 2011 New Revision: 227696 URL: http://svn.freebsd.org/changeset/base/227696 Log: Do not use NULLVPTOLOWERVP() in the null_print(). If diagnostic is compiled in, and show vnode is used from ddb on the faulty nullfs vnode, we get panic instead of vnode

svn commit: r227697 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/devfs fs/nullfs fs/pseudofs kern

2011-11-18 Thread Konstantin Belousov
Author: kib Date: Sat Nov 19 07:50:49 2011 New Revision: 227697 URL: http://svn.freebsd.org/changeset/base/227697 Log: Existing VOP_VPTOCNP() interface has a fatal flow that is critical for nullfs. The problem is that resulting vnode is only required to be held on return from the

svn commit: r227698 - head/share/man/man9

2011-11-18 Thread Konstantin Belousov
Author: kib Date: Sat Nov 19 07:52:39 2011 New Revision: 227698 URL: http://svn.freebsd.org/changeset/base/227698 Log: Update the manpage for r227697. MFC after:3 weeks Modified: head/share/man/man9/VOP_VPTOCNP.9 Modified: head/share/man/man9/VOP_VPTOCNP.9