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

2010-10-11 Thread David Xu
Author: davidxu Date: Tue Oct 12 00:36:56 2010 New Revision: 213714 URL: http://svn.freebsd.org/changeset/base/213714 Log: Add a flag TDF_TIDHASH to prevent a thread from being added to or removed from thread hash table multiple times. Modified: head/sys/kern/kern_thread.c head/sys/sys/pr

svn commit: r213713 - head/tools/regression/bin/sh/builtins

2010-10-11 Thread David E. O'Brien
Author: obrien Date: Mon Oct 11 23:24:57 2010 New Revision: 213713 URL: http://svn.freebsd.org/changeset/base/213713 Log: Correct regression test to not show a false positive when run as root. Modified: head/tools/regression/bin/sh/builtins/cd1.0 Modified: head/tools/regression/bin/sh/builti

svn commit: r213712 - head/sys/fs/nfsserver

2010-10-11 Thread Rick Macklem
Author: rmacklem Date: Mon Oct 11 23:15:18 2010 New Revision: 213712 URL: http://svn.freebsd.org/changeset/base/213712 Log: Try and make the nfsrv_localunlock() function in the experimental NFSv4 server more readable. Mostly changes to comments, but a case of >= is changed to >, since == can

svn commit: r213711 - head/sys/dev/bge

2010-10-11 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 11 23:07:12 2010 New Revision: 213711 URL: http://svn.freebsd.org/changeset/base/213711 Log: The IFF_DRV_RUNNING flag is set at the end of bge_init_locked. But before setting the flag, interrupt was already enabled such that interrupt handler could be run before

svn commit: r213710 - head/sys/dev/bge

2010-10-11 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 11 22:56:23 2010 New Revision: 213710 URL: http://svn.freebsd.org/changeset/base/213710 Log: Remove one last reference of BGE_MI_MODE register for auto polling. Previously bge(4) always enabled auto polling for non-BGE_FLAG_TBI controllers. With this change, aut

svn commit: r213708 - head/sys/dev/mps

2010-10-11 Thread Matthew D Fleming
Author: mdf Date: Mon Oct 11 22:44:15 2010 New Revision: 213708 URL: http://svn.freebsd.org/changeset/base/213708 Log: Re-work the internal user ioctl command table, and support the FW_UPLOAD command. Reviewed by: ken (previous version) Modified: head/sys/dev/mps/mps_user.c Modified:

svn commit: r213707 - head/sys/dev/mps

2010-10-11 Thread Matthew D Fleming
Author: mdf Date: Mon Oct 11 22:44:05 2010 New Revision: 213707 URL: http://svn.freebsd.org/changeset/base/213707 Log: Add function prototypes for static functions. Requested by: ken Modified: head/sys/dev/mps/mps_user.c Modified: head/sys/dev/mps/mps_user.c

svn commit: r213705 - head/sys/conf

2010-10-11 Thread Andrew Thompson
Author: thompsa Date: Mon Oct 11 21:53:03 2010 New Revision: 213705 URL: http://svn.freebsd.org/changeset/base/213705 Log: Add the XHCI USB controller to NOTES. Reviewed by: hselasky Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES ===

svn commit: r213704 - head/sys/dev/mps

2010-10-11 Thread Matthew D Fleming
Author: mdf Date: Mon Oct 11 21:38:31 2010 New Revision: 213704 URL: http://svn.freebsd.org/changeset/base/213704 Log: Fix a memory leak and locking inconsistency in mps(4) ioctl handling. Check copyin(9) for error and sanity check the length before copyin. Reviewed by: ken Modified:

svn commit: r213703 - head/lib/libcam

2010-10-11 Thread Andriy Gapon
Author: avg Date: Mon Oct 11 21:34:35 2010 New Revision: 213703 URL: http://svn.freebsd.org/changeset/base/213703 Log: camlib.c: update one overlooked comment Modified: head/lib/libcam/camlib.c Modified: head/lib/libcam/camlib.c ===

svn commit: r213702 - head/sys/dev/mps

2010-10-11 Thread Matthew D Fleming
Author: mdf Date: Mon Oct 11 21:26:24 2010 New Revision: 213702 URL: http://svn.freebsd.org/changeset/base/213702 Log: Fix up the COMPAT_FREEBSD32 ioctl logic for mps(4). Reviewed by: ken Modified: head/sys/dev/mps/mps_ioctl.h head/sys/dev/mps/mps_user.c Modified: head/sys/dev/mps/mp

svn commit: r213700 - in head: . contrib/xz contrib/xz/po contrib/xz/src/common contrib/xz/src/liblzma/api contrib/xz/src/liblzma/api/lzma contrib/xz/src/liblzma/check contrib/xz/src/liblzma/common...

2010-10-11 Thread Martin Matuska
Mon Oct 11 20:34:35 2010(r213699) +++ head/ObsoleteFiles.inc Mon Oct 11 21:16:50 2010(r213700) @@ -14,6 +14,8 @@ # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last. # +# 20101011: removed subblock.h from liblzma +OLD_FILES+=usr/include/lzma/subblock.h

svn commit: r213698 - head/lib/libulog

2010-10-11 Thread Ed Schouten
Author: ed Date: Mon Oct 11 20:30:57 2010 New Revision: 213698 URL: http://svn.freebsd.org/changeset/base/213698 Log: Fix reference to nonexistent manpage getuid(3). Submitted by: pluknet Modified: head/lib/libulog/ulog_login.3 Modified: head/lib/libulog/ulog_login.3 ===

svn commit: r213697 - head/sbin/reboot

2010-10-11 Thread Ed Schouten
Author: ed Date: Mon Oct 11 20:17:23 2010 New Revision: 213697 URL: http://svn.freebsd.org/changeset/base/213697 Log: Remove stale reference to wtmp(5). Reported by: pluknet Modified: head/sbin/reboot/reboot.8 Modified: head/sbin/reboot/reboot.8

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

2010-10-11 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 11 19:20:53 2010 New Revision: 213696 URL: http://svn.freebsd.org/changeset/base/213696 Log: Do not setup interrupt endpoint for axe(4). It seems axe(4) controllers support interrupt endpoint such that enabling interrupt endpoint generates about 1000 interrupts/

Re: svn commit: r213662 - in head: sbin/geom/class/concat sbin/geom/class/eli sbin/geom/class/journal sbin/geom/class/mirror sbin/geom/class/part sbin/geom/class/raid3 sbin/geom/class/shsec sbin/geom/

2010-10-11 Thread Ivan Voras
On 10 October 2010 10:54, Ivan Voras wrote: > On 9 October 2010 22:20, Andrey V. Elsukov wrote: >> Author: ae >> Date: Sat Oct  9 20:20:27 2010 >> New Revision: 213662 >> URL: http://svn.freebsd.org/changeset/base/213662 >> >> Log: >>  Replace strlen(_PATH_DEV) with sizeof(_PATH_DEV) - 1. > > Um,

Re: svn commit: r213662 - in head: sbin/geom/class/concat sbin/geom/class/eli sbin/geom/class/journal sbin/geom/class/mirror sbin/geom/class/part sbin/geom/class/raid3 sbin/geom/class/shsec sbin/geom/

2010-10-11 Thread John Baldwin
On Sunday, October 10, 2010 4:54:37 am Ivan Voras wrote: > On 9 October 2010 22:20, Andrey V. Elsukov wrote: > > Author: ae > > Date: Sat Oct 9 20:20:27 2010 > > New Revision: 213662 > > URL: http://svn.freebsd.org/changeset/base/213662 > > > > Log: > > Replace strlen(_PATH_DEV) with sizeof(_PAT

svn commit: r213695 - in head/contrib/llvm: . autoconf bindings include/llvm include/llvm/Config include/llvm/System lib lib/Analysis lib/Analysis/IPA lib/Archive lib/AsmParser lib/Bitcode lib/Bitc...

2010-10-11 Thread Dimitry Andric
Author: dim Date: Mon Oct 11 17:22:16 2010 New Revision: 213695 URL: http://svn.freebsd.org/changeset/base/213695 Log: Remove more unneeded files and directories from contrib/llvm. This still allows us to build tblgen and clang, and further reduces the footprint in the tree. Approved b

svn commit: r213694 - in head/contrib/llvm/tools/clang: include/clang/Analysis/Analyses lib/Analysis

2010-10-11 Thread Rui Paulo
Author: rpaulo Date: Mon Oct 11 17:18:23 2010 New Revision: 213694 URL: http://svn.freebsd.org/changeset/base/213694 Log: Rework the analysis of the 'r' specifier. It turns out that we can't make it like xArg because they are different ('x' doesn't accept sign, but 'r' does). This fixes so

Re: svn commit: r213480 - in head/sys/dev/usb: . serial

2010-10-11 Thread Hans Petter Selasky
On Wednesday 06 October 2010 16:29:00 Gleb Smirnoff wrote: > +static uint8_t scsi_tct_dummy[4]; Hi, struct bbb_transfer *sc; We already have a dummy receive buffer in sc->buffer. Use that instead of declaring a new one. --HPS ___ svn-src-head@freebsd

svn commit: r213691 - head/usr.sbin/pmccontrol

2010-10-11 Thread George V. Neville-Neil
Author: gnn Date: Mon Oct 11 14:31:24 2010 New Revision: 213691 URL: http://svn.freebsd.org/changeset/base/213691 Log: Add code to print the number and type of the CPU that is present in the system as well has how many PMCs there are per CPU. In this code CPU and core are equivalent. M

svn commit: r213682 - head/lib/libcam

2010-10-11 Thread Andriy Gapon
Author: avg Date: Mon Oct 11 09:27:37 2010 New Revision: 213682 URL: http://svn.freebsd.org/changeset/base/213682 Log: cam_get_device, cam_open_device: make behavior simpler and more deterministic Remove or re-work support for the several features from the past: - remove incomplete suppor

Re: svn commit: r213585 - head/tools/build/mk

2010-10-11 Thread Alexander Leidinger
Quoting Alexander Leidinger (from Mon, 11 Oct 2010 10:28:01 +0200): Quoting Mark Murray (from Sun, 10 Oct 2010 11:20:23 +0100): Alexander Leidinger writes: Can you please point out where rmail is installed when MK_SENDMAIL=no and MK_MAILWRAPPER!=no? I can not find such a place. src/us

Re: svn commit: r213585 - head/tools/build/mk

2010-10-11 Thread Alexander Leidinger
Quoting Mark Murray (from Sun, 10 Oct 2010 11:20:23 +0100): Alexander Leidinger writes: Can you please point out where rmail is installed when MK_SENDMAIL=no and MK_MAILWRAPPER!=no? I can not find such a place. src/usr.sbin/mailwrapper/Makefile What am I doing wrong? ---snip--- % grep rm

svn commit: r213681 - head/contrib/llvm/tools/clang/lib/Analysis

2010-10-11 Thread Rui Paulo
Author: rpaulo Date: Mon Oct 11 08:10:12 2010 New Revision: 213681 URL: http://svn.freebsd.org/changeset/base/213681 Log: Restore the support for the 'r' and the 'y' conversion specifiers, first added on r208987. These are undocumented but are part of printf(9). Modified: head/contrib/llv