Re: svn commit: r227415 - head/share/misc

2011-11-09 Thread Sergey Kandaurov
On 10 November 2011 10:19, Ruslan Mahmatkhanov wrote: > Author: rm (ports committer) > Date: Thu Nov 10 06:19:18 2011 > New Revision: 227415 > URL: http://svn.freebsd.org/changeset/base/227415 > > Log: >  Add myself. > >  Approved by:  novel (mentor) > > Modified: >  head/share/misc/committers-por

Re: svn commit: r227394 - in head/sys: amd64/amd64 i386/i386

2011-11-09 Thread Pawel Jakub Dawidek
On Wed, Nov 09, 2011 at 07:31:28PM +0200, Kostik Belousov wrote: > On Wed, Nov 09, 2011 at 05:25:43PM +, Konstantin Belousov wrote: > > Author: kib > > Date: Wed Nov 9 17:25:43 2011 > > New Revision: 227394 > > URL: http://svn.freebsd.org/changeset/base/227394 > > > > Log: > > Stopped proce

svn commit: r227416 - head/lib/libc/sys

2011-11-09 Thread Doug Barton
Author: dougb Date: Thu Nov 10 06:20:18 2011 New Revision: 227416 URL: http://svn.freebsd.org/changeset/base/227416 Log: Document that flock can return ENOLCK Modified: head/lib/libc/sys/flock.2 Modified: head/lib/libc/sys/flock.2 =

svn commit: r227415 - head/share/misc

2011-11-09 Thread Ruslan Mahmatkhanov
Author: rm (ports committer) Date: Thu Nov 10 06:19:18 2011 New Revision: 227415 URL: http://svn.freebsd.org/changeset/base/227415 Log: Add myself. Approved by: novel (mentor) Modified: head/share/misc/committers-ports.dot Modified: head/share/misc/committers-ports.dot

Re: svn commit: r227414 - head/lib/libc/regex

2011-11-09 Thread Andrey Chernov
On Thu, Nov 10, 2011 at 01:44:06AM +, Kevin Lo wrote: > - == static void p_ere(struct parse *p, int stop); > + == static void p_ere(struct parse *p, wint_t stop); > */ > static void > p_ere(struct parse *p, > - int stop) /* character this ERE should end at */ > + wint_

Re: svn commit: r227366 - in head/etc: . rc.d

2011-11-09 Thread Alexey Dokuchaev
On Wed, Nov 09, 2011 at 10:31:27PM +0100, Jilles Tjoelker wrote: > Shell patterns are different from regular expressions. I suspected something like this, yes... > In SUSv4, XCU 2.13 Pattern Matching Notation describes shell patterns. > In particular, the role of the '^' to negate a bracket expre

svn commit: r227414 - head/lib/libc/regex

2011-11-09 Thread Kevin Lo
Author: kevlo Date: Thu Nov 10 01:44:05 2011 New Revision: 227414 URL: http://svn.freebsd.org/changeset/base/227414 Log: - Don't handle out-of-memory condition - Fix types of function arguments match their declaration Reviewed by: delphij Obtained from:NetBSD Modified: head/

svn commit: r227413 - in head/sys/modules: ath_ahb ath_pci

2011-11-09 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 23:53:13 2011 New Revision: 227413 URL: http://svn.freebsd.org/changeset/base/227413 Log: Since these include wlan/ath/ah headers and these can change definitions based on the state of the kernel compile environment, ensure the opt_*.h files are available. Mo

svn commit: r227412 - head/sys/modules/ath

2011-11-09 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 23:37:13 2011 New Revision: 227412 URL: http://svn.freebsd.org/changeset/base/227412 Log: Use the system-provided opt_ah.h if one is provided. This implies that users who are building the driver do so with KERNBUILDDIR set to the compile/CONFIG directory so

svn commit: r227411 - head/sys/dev/ath/ath_hal/ar5416

2011-11-09 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 23:28:47 2011 New Revision: 227411 URL: http://svn.freebsd.org/changeset/base/227411 Log: Bump this up to where it used to be. I need to investigate this a little closer, but it seems that in noisy environments the NF load takes longer than 5 * DELAY(10) an

svn commit: r227410 - in head/sys/dev/ath: . ath_hal ath_hal/ar5416

2011-11-09 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 22:39:44 2011 New Revision: 227410 URL: http://svn.freebsd.org/changeset/base/227410 Log: Introduce a work-around for issues with the AR5416 based MAC on SMP devices. The AR5416 MAC (which shows up in the AR5008, AR9001, AR9002 devices) has issues with PCI

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

2011-11-09 Thread Xin LI
Author: delphij Date: Wed Nov 9 21:53:49 2011 New Revision: 227409 URL: http://svn.freebsd.org/changeset/base/227409 Log: Do a dummy read to flush the interrupt ACK that we just performed, ensuring that everything is really, truly consistent. This fixes certain cases where one will see v

svn commit: r227408 - head/sys/dev/ath/ath_hal/ar5416

2011-11-09 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 21:41:18 2011 New Revision: 227408 URL: http://svn.freebsd.org/changeset/base/227408 Log: Commit a missing fix - the AR_SREV_KIWI_10_OR_LATER() check. Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h =

Re: svn commit: r227366 - in head/etc: . rc.d

2011-11-09 Thread Jilles Tjoelker
On Wed, Nov 09, 2011 at 01:49:16AM +, Alexey Dokuchaev wrote: > On Tue, Nov 08, 2011 at 11:02:32PM +, Jilles Tjoelker wrote: > > Author: jilles > > Date: Tue Nov 8 23:02:32 2011 > > New Revision: 227366 > > URL: http://svn.freebsd.org/changeset/base/227366 > > Log: > > rc.d: Eliminate s

svn commit: r227407 - head/sbin/ffsinfo

2011-11-09 Thread Ed Schouten
Author: ed Date: Wed Nov 9 21:01:50 2011 New Revision: 227407 URL: http://svn.freebsd.org/changeset/base/227407 Log: Remove trailing whitespace. Modified: head/sbin/ffsinfo/Makefile Modified: head/sbin/ffsinfo/Makefile

Re: svn commit: r227369 - head/bin/sh

2011-11-09 Thread Jilles Tjoelker
On Wed, Nov 09, 2011 at 09:35:51AM +0100, Stefan Farfeleder wrote: > On Tue, Nov 08, 2011 at 11:54:39PM +, Jilles Tjoelker wrote: > > Author: jilles > > Date: Tue Nov 8 23:54:39 2011 > > New Revision: 227369 > > URL: http://svn.freebsd.org/changeset/base/227369 > > Log: > > sh: Remove undef

svn commit: r227405 - head/sys/dev/ath/ath_hal/ar5416

2011-11-09 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 19:09:03 2011 New Revision: 227405 URL: http://svn.freebsd.org/changeset/base/227405 Log: Even though the HAL doesn't currently support Kiwi 1.0/1.1, be "more correct" about the Kiwi setup. Obtained from:Atheros Modified: head/sys/dev/ath/ath_hal

svn commit: r227404 - head/lib/libusb

2011-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 9 19:03:26 2011 New Revision: 227404 URL: http://svn.freebsd.org/changeset/base/227404 Log: Add definition of some USB 3.0 descriptors to libusb 1.0 and libusb 2.0. Some header file parts of this patch were taken from a patch submitted by Maya Erez to the Lib

svn commit: r227403 - head

2011-11-09 Thread Dimitry Andric
Author: dim Date: Wed Nov 9 19:00:27 2011 New Revision: 227403 URL: http://svn.freebsd.org/changeset/base/227403 Log: Move building of clang's tblgen tools (and required libraries) from the bootstrap-tools stage to the cross-tools stage. These tools are only needed for generating llvm/clan

svn commit: r227401 - in head/sys/dev/usb: . controller

2011-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 9 18:48:36 2011 New Revision: 227401 URL: http://svn.freebsd.org/changeset/base/227401 Log: Fix size of USB 3.0 descriptor field. MFC after:3 days Modified: head/sys/dev/usb/controller/xhci.c head/sys/dev/usb/usb.h Modified: head/sys/dev/usb/control

svn commit: r227399 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include

2011-11-09 Thread Konstantin Belousov
Author: kib Date: Wed Nov 9 18:25:50 2011 New Revision: 227399 URL: http://svn.freebsd.org/changeset/base/227399 Log: Attempt to improve formatting and content of several comments for amd64 and i386 MD code. Based on suggestions by: bde MFC after:1 week Modified: head/sys/a

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

2011-11-09 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 18:24:20 2011 New Revision: 227398 URL: http://svn.freebsd.org/changeset/base/227398 Log: If software retransmit occurs with an ath_buf marked ATH_BUF_BUSY, it's cloned and that clone is retransmitted. This means that the ath_buf pointer squirreled away on the

svn commit: r227396 - in head/sys/dev/usb: . controller

2011-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 9 18:11:29 2011 New Revision: 227396 URL: http://svn.freebsd.org/changeset/base/227396 Log: Fix size of USB 3.0 descriptor field. MFC after:3 days Modified: head/sys/dev/usb/controller/xhci.c head/sys/dev/usb/usb.h Modified: head/sys/dev/usb/control

Re: svn commit: r227394 - in head/sys: amd64/amd64 i386/i386

2011-11-09 Thread Kostik Belousov
On Wed, Nov 09, 2011 at 05:25:43PM +, Konstantin Belousov wrote: > Author: kib > Date: Wed Nov 9 17:25:43 2011 > New Revision: 227394 > URL: http://svn.freebsd.org/changeset/base/227394 > > Log: > Stopped process may legitimately have some threads sleeping and not > suspended, if the slee

Re: svn commit: r227391 - head/contrib/gcc/config/arm

2011-11-09 Thread Ed Schouten
* Fabien Thomas , 2009 16:59: > Import gcc fix for -fstack-protector that produces segfaulting > binaries on arm/armel. Maybe we can now enable -fstack-protector on arm as well? It's currently disabled in and /sys/conf/kern.mk. Thanks, -- Ed Schouten WWW: http

svn commit: r227395 - head/sys/dev/hwpmc

2011-11-09 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 17:38:27 2011 New Revision: 227395 URL: http://svn.freebsd.org/changeset/base/227395 Log: Flip on processing interrupt profile events for mips24k. This is a bit hackish and should be made more generic (ie, support more than two hard-coded performance counte

svn commit: r227394 - in head/sys: amd64/amd64 i386/i386

2011-11-09 Thread Konstantin Belousov
Author: kib Date: Wed Nov 9 17:25:43 2011 New Revision: 227394 URL: http://svn.freebsd.org/changeset/base/227394 Log: Stopped process may legitimately have some threads sleeping and not suspended, if the sleep is uninterruptible. Reported and tested by: pho MFC after:1 week

svn commit: r227393 - head/sys/fs/procfs

2011-11-09 Thread Konstantin Belousov
Author: kib Date: Wed Nov 9 17:15:51 2011 New Revision: 227393 URL: http://svn.freebsd.org/changeset/base/227393 Log: Lock the thread lock around block that retrieves td_wmesg. Otherwise, procfs could see a thread with assigned td_wchan but still NULL td_wmesg. Reported and tested by:

svn commit: r227392 - head/sys/sys

2011-11-09 Thread Konstantin Belousov
Author: kib Date: Wed Nov 9 17:13:41 2011 New Revision: 227392 URL: http://svn.freebsd.org/changeset/base/227392 Log: Assert that _PRELE() is done for the held process. Tested by:pho MFC after:1 week Modified: head/sys/sys/proc.h Modified: head/sys/sys/proc.h

svn commit: r227391 - head/contrib/gcc/config/arm

2011-11-09 Thread Fabien Thomas
Author: fabient Date: Wed Nov 9 15:59:02 2011 New Revision: 227391 URL: http://svn.freebsd.org/changeset/base/227391 Log: Import gcc fix for -fstack-protector that produces segfaulting binaries on arm/armel. Related gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35965 PR: 16

svn commit: r227390 - head/share/misc

2011-11-09 Thread Josh Paetzel
Author: jpaetzel Date: Wed Nov 9 15:21:48 2011 New Revision: 227390 URL: http://svn.freebsd.org/changeset/base/227390 Log: Add myself. Approved by: kib (mentor) Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-src.dot ==

svn commit: r227389 - head/sys/boot/i386/libi386

2011-11-09 Thread John Baldwin
Author: jhb Date: Wed Nov 9 14:37:47 2011 New Revision: 227389 URL: http://svn.freebsd.org/changeset/base/227389 Log: Revert some debugging printfs that crept into 223695. Modified: head/sys/boot/i386/libi386/bioscd.c Modified: head/sys/boot/i386/libi386/bioscd.c ===

svn commit: r227388 - head/sys/dev/ath/ath_hal/ar5416

2011-11-09 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 14:34:25 2011 New Revision: 227388 URL: http://svn.freebsd.org/changeset/base/227388 Log: * Force the MAC to wakeup before we try resetting it, to ensure it actually _gets_ reset properly. * Add some more comments describing why things are done. Obtaine

svn commit: r227387 - head/sys/dev/ath/ath_hal/ar9002

2011-11-09 Thread Adrian Chadd
Author: adrian Date: Wed Nov 9 14:30:58 2011 New Revision: 227387 URL: http://svn.freebsd.org/changeset/base/227387 Log: Tidy up the AR9287 HAL a tiny bit - fix up AR9280 references. Modified: head/sys/dev/ath/ath_hal/ar9002/ar9287_attach.c Modified: head/sys/dev/ath/ath_hal/ar9002/ar9287_a

Re: svn commit: r227207 - in head/sys: netinet netinet6

2011-11-09 Thread Mikolaj Golub
On Wed, 9 Nov 2011 08:27:16 -0500 Robert N. M. Watson wrote: RNMW> On 6 Nov 2011, at 05:51, Mikolaj Golub wrote: >> On Sun, 6 Nov 2011 10:47:20 + (UTC) Mikolaj Golub wrote: >> >> MG> Author: trociny >> MG> Date: Sun Nov 6 10:47:20 2011 >> MG> New Revision: 227207 >> MG> URL: http://

svn commit: r227386 - head/sys/powerpc/aim

2011-11-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Nov 9 13:48:23 2011 New Revision: 227386 URL: http://svn.freebsd.org/changeset/base/227386 Log: Fix a bug where the pmap_cpu_bootstrap() ap argument could be clobbered. Luckily, it mostly wasn't important, so this didn't cause major problems. Also improve regist

Re: svn commit: r227207 - in head/sys: netinet netinet6

2011-11-09 Thread Robert N. M. Watson
On 6 Nov 2011, at 05:51, Mikolaj Golub wrote: > On Sun, 6 Nov 2011 10:47:20 + (UTC) Mikolaj Golub wrote: > > MG> Author: trociny > MG> Date: Sun Nov 6 10:47:20 2011 > MG> New Revision: 227207 > MG> URL: http://svn.freebsd.org/changeset/base/227207 > > MG> Log: > MG> Cache SO_REUSEPORT so

svn commit: r227385 - head/sys/tools

2011-11-09 Thread Ed Schouten
Author: ed Date: Wed Nov 9 13:26:59 2011 New Revision: 227385 URL: http://svn.freebsd.org/changeset/base/227385 Log: Restore the comment that I removed by accident. The comment still applies to this block of code. Modified: head/sys/tools/makeobjops.awk Modified: head/sys/tools/makeobj

svn commit: r227384 - in head/sys: kern sys tools

2011-11-09 Thread Ed Schouten
Author: ed Date: Wed Nov 9 11:00:29 2011 New Revision: 227384 URL: http://svn.freebsd.org/changeset/base/227384 Log: Simplify the code emitted by makeobjops.awk slightly. Just place the default kobj_method inside the kobjop_desc structure. There's no need to give these kobj_methods their

svn commit: r227383 - head/sys/dev/usb/serial

2011-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 9 09:15:57 2011 New Revision: 227383 URL: http://svn.freebsd.org/changeset/base/227383 Log: Some minor corrections to a modem driver. PR: usb/162307 MFC after:3 days Modified: head/sys/dev/usb/serial/uslcom.c Modified: head/sys/dev/usb/ser

Re: svn commit: r227369 - head/bin/sh

2011-11-09 Thread Stefan Farfeleder
On Tue, Nov 08, 2011 at 11:54:39PM +, Jilles Tjoelker wrote: > Author: jilles > Date: Tue Nov 8 23:54:39 2011 > New Revision: 227369 > URL: http://svn.freebsd.org/changeset/base/227369 > > Log: > sh: Remove undefined behaviour due to overflow in +/-/* in arithmetic. > > With i386 base