svn commit: r228758 - head/sys/dev/usb

2011-12-21 Thread Hans Petter Selasky
Author: hselasky Date: Wed Dec 21 08:46:08 2011 New Revision: 228758 URL: http://svn.freebsd.org/changeset/base/228758 Log: Fix for race against user-space applications trying to change the configuration on USB HUBs. PR: kern/163091 MFC after:1 week Modified:

svn commit: r228760 - head/sys/dev/usb

2011-12-21 Thread Andriy Gapon
Author: avg Date: Wed Dec 21 10:52:17 2011 New Revision: 228760 URL: http://svn.freebsd.org/changeset/base/228760 Log: adapt usb transfer code for SCHEDULER_STOPPED When SCHEDULER_STOPPED() is true the mtx_owned() call may return an unexpected and thus meaningless result. So, in the

svn commit: r228762 - head/contrib/libarchive

2011-12-21 Thread Martin Matuska
Author: mm Date: Wed Dec 21 11:11:51 2011 New Revision: 228762 URL: http://svn.freebsd.org/changeset/base/228762 Log: Add FREEBSD-Xlist and FREEBSD-upgrade to contrib/libarchive MFC after:2 weeks Added: head/contrib/libarchive/FREEBSD-Xlist (contents, props changed)

svn commit: r228764 - in head/contrib/libarchive: . build contrib cpio cpio/test doc examples libarchive libarchive/test tar tar/test

2011-12-21 Thread Martin Matuska
Author: mm Date: Wed Dec 21 11:18:49 2011 New Revision: 228764 URL: http://svn.freebsd.org/changeset/base/228764 Log: Strip unnecessary files and directories from contrib/libarchive according to FREEBSD-Xlist MFC after:2 weeks Deleted: head/contrib/libarchive/CMakeLists.txt

svn commit: r228765 - head/sys/dev/usb/input

2011-12-21 Thread Andriy Gapon
Author: avg Date: Wed Dec 21 11:49:33 2011 New Revision: 228765 URL: http://svn.freebsd.org/changeset/base/228765 Log: ukbd: adjust for SCHEDULER_STOPPED() and overhaul locking code This change is designed to let USB keyboard work in the panic context with stop_scheduler_on_panic=1.

svn commit: r228766 - head/usr.bin/mkesdb

2011-12-21 Thread Gabor Kovesdan
Author: gabor Date: Wed Dec 21 12:07:14 2011 New Revision: 228766 URL: http://svn.freebsd.org/changeset/base/228766 Log: - Remove a GCC-specific compiler flag that was added before to eliminate some warnings but at the moment does not seem to be necessary. Submitted by: arundel (via

svn commit: r228767 - head/sys/dev/syscons

2011-12-21 Thread Andriy Gapon
Author: avg Date: Wed Dec 21 12:21:22 2011 New Revision: 228767 URL: http://svn.freebsd.org/changeset/base/228767 Log: sc_cngrab: switch to console vty when possible In the future we may want to perform the switch even if the console is currently in the graphics mode by trying to reset

svn commit: r228768 - in head/sys: net netinet netinet6 sys

2011-12-21 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 21 12:39:08 2011 New Revision: 228768 URL: http://svn.freebsd.org/changeset/base/228768 Log: Provide ABI compatibility shim to enable configuring of addresses with ifconfig(8) prior to r228571. Requested by: brooks Modified: head/sys/net/if.h

Re: svn commit: r228143 - in head: . share/mk tools/build/options

2011-12-21 Thread John Baldwin
On 12/20/11 9:06 PM, Doug Barton wrote: On 12/20/2011 06:08, John Baldwin wrote: The defaults for src.conf should be for the common case Agreed. The problem we seem to be missing here is that developers are not even statistically significant in measuring the common case. Users using

svn commit: r228769 - in head/contrib/libarchive: . cpio libarchive tar

2011-12-21 Thread Martin Matuska
Author: mm Date: Wed Dec 21 12:59:09 2011 New Revision: 228769 URL: http://svn.freebsd.org/changeset/base/228769 Log: Remove config_freebsd.h and add to FREEBSD-Xlist This file is common for libarchive, cpio and tar and is going to be located outside of contrib (lib/libarchive) Deleted:

svn commit: r228771 - head/contrib/libarchive/libarchive

2011-12-21 Thread Martin Matuska
Author: mm Date: Wed Dec 21 15:02:37 2011 New Revision: 228771 URL: http://svn.freebsd.org/changeset/base/228771 Log: Partial merge of r224691 from lib/libarchive: Add compatibility for ISO images created with unfixed makefs that violated ECMA-119 (ISO9660): allow reserved4 to be 0x20 in

svn commit: r228773 - in head/contrib/libarchive/libarchive: . test

2011-12-21 Thread Martin Matuska
Author: mm Date: Wed Dec 21 15:18:52 2011 New Revision: 228773 URL: http://svn.freebsd.org/changeset/base/228773 Log: Merge FreeBSD changes from lib/libarchive to contrib/libarchive: r204111 (uqs): Fix common misspelling of hierarchy r208027 (uqs): mdoc: move CAVEATS, BUGS and

svn commit: r228775 - head/contrib/libarchive/libarchive_fe

2011-12-21 Thread Martin Matuska
Author: mm Date: Wed Dec 21 15:22:05 2011 New Revision: 228775 URL: http://svn.freebsd.org/changeset/base/228775 Log: Merge FreeBSD changes from usr.bin/tar to contrib/libarchive/libarchive_fe: r213469: Recognize both ! and ^ as markers for negated character classes. MFC after:2

svn commit: r228776 - in head/contrib/libarchive/tar: . test

2011-12-21 Thread Martin Matuska
Author: mm Date: Wed Dec 21 15:30:49 2011 New Revision: 228776 URL: http://svn.freebsd.org/changeset/base/228776 Log: Merge FreeBSD changes from usr.bin/tar to contrib/libarchive/tar: r204111 (uqs): Fix common misspelling of hierarchy r207786 (kientzle): Various manpage updates,

svn commit: r228777 - head/contrib/libarchive/cpio

2011-12-21 Thread Martin Matuska
Author: mm Date: Wed Dec 21 15:33:13 2011 New Revision: 228777 URL: http://svn.freebsd.org/changeset/base/228777 Log: Merge FreeBSD changes from usr.bin/cpio to contrib/libarchive/cpio: r204111 (uqs): Fix common misspelling of hierarchy r211054 (kientzle); Fix -R when used with

svn commit: r228779 - head/sys/conf

2011-12-21 Thread Dimitry Andric
Author: dim Date: Wed Dec 21 15:59:18 2011 New Revision: 228779 URL: http://svn.freebsd.org/changeset/base/228779 Log: Start selectively disabling a few kernel build warnings for clang, since there are some places in the kernel where fixing them is too disruptive, or where there is a false

svn commit: r228780 - in head/contrib/libstdc++: . config/os/aix include/bits include/ext include/tr1 libsupc++ src

2011-12-21 Thread Pedro F. Giffuni
Author: pfg Date: Wed Dec 21 16:36:07 2011 New Revision: 228780 URL: http://svn.freebsd.org/changeset/base/228780 Log: Update libstdc++ with small updates from the latest rev. (135556) from the gcc 4.2 branch. The libraries in the gcc-4_2-branch remained under the LGPLv2. The changes

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

2011-12-21 Thread Ed Schouten
Author: ed Date: Wed Dec 21 16:47:01 2011 New Revision: 228782 URL: http://svn.freebsd.org/changeset/base/228782 Log: Make the RTC checking for QEMU even more aggressive. At work, where we use use KVM+QEMU, we notice that pxeboot is pratically impossible because of network timeouts. This

Re: svn commit: r228387 - head/sys/dev/e1000

2011-12-21 Thread Andrey Zonov
Could you please back sysctls from r223676 for igb? On 10.12.2011 11:08, Jack F Vogel wrote: Author: jfv Date: Sat Dec 10 07:08:52 2011 New Revision: 228387 URL: http://svn.freebsd.org/changeset/base/228387 -- Andrey Zonov ___

svn commit: r228783 - head/sys/conf

2011-12-21 Thread Dimitry Andric
Author: dim Date: Wed Dec 21 17:01:13 2011 New Revision: 228783 URL: http://svn.freebsd.org/changeset/base/228783 Log: When building with clang, disable -Wshift-count-negative and -Wshift-count-overflow for sys/dev/ath/ath_hal/ah_regdomain.c, as it gets multiple instances of the following

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

2011-12-21 Thread Jaakko Heinonen
Author: jh Date: Wed Dec 21 17:03:30 2011 New Revision: 228784 URL: http://svn.freebsd.org/changeset/base/228784 Log: Follow style(9) more closely in the example. Modified: head/share/man/man9/sbuf.9 Modified: head/share/man/man9/sbuf.9

svn commit: r228785 - in head/sys/dev/ath/ath_hal: ar5210 ar5211

2011-12-21 Thread Dimitry Andric
Author: dim Date: Wed Dec 21 17:16:43 2011 New Revision: 228785 URL: http://svn.freebsd.org/changeset/base/228785 Log: Fix shift overflow problem in sys/dev/ath/ath_hal/ar5210/ar5210_power.c and sys/dev/ath/ath_hal/ar5211/ar5211_power.c: sys/dev/ath/ath_hal/ar5210/ar5210_power.c:36:3:

svn commit: r228786 - in head/sys/dev/ath/ath_hal: ar5212 ar5416

2011-12-21 Thread Dimitry Andric
Author: dim Date: Wed Dec 21 17:36:45 2011 New Revision: 228786 URL: http://svn.freebsd.org/changeset/base/228786 Log: Fix enum conversion problems in sys/dev/ath/ath_hal/ar5212/ar5212_misc.c and sys/dev/ath/ath_hal/ar5416/ar5416_misc.c: sys/dev/ath/ath_hal/ar5212/ar5212_misc.c:577:24:

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

2011-12-21 Thread Eitan Adler
Author: eadler (ports committer) Date: Wed Dec 21 17:51:49 2011 New Revision: 228787 URL: http://svn.freebsd.org/changeset/base/228787 Log: - Remove extra space Submitted by: Davide Italiano davide.itali...@gmail.com Approved by: brucec Modified: head/sys/dev/hwpmc/hwpmc_core.c

Re: svn commit: r228143 - in head: . share/mk tools/build/options

2011-12-21 Thread Steve Kargl
On Wed, Dec 21, 2011 at 10:50:42AM -0800, Doug Barton wrote: On 12/20/2011 9:59 PM, Steve Kargl wrote: On Tue, Dec 20, 2011 at 09:30:10PM -0800, Garrett Cooper wrote: On Tue, Dec 20, 2011 at 8:55 PM, Steve Kargl s...@troutmask.apl.washington.edu wrote: On Tue, Dec 20, 2011 at 06:45:07PM

svn commit: r228788 - head/sys/dev/e1000

2011-12-21 Thread John Baldwin
Author: jhb Date: Wed Dec 21 20:10:11 2011 New Revision: 228788 URL: http://svn.freebsd.org/changeset/base/228788 Log: Restore the sysctl changes from 223676 and 227309 lost in the previous import: - Add read-only sysctls for all of the tunables supported by the igb and em drivers. -

svn commit: r228789 - in head/sys/modules/aic7xxx: ahc/ahc_pci ahd

2011-12-21 Thread Dimitry Andric
Author: dim Date: Wed Dec 21 20:23:03 2011 New Revision: 228789 URL: http://svn.freebsd.org/changeset/base/228789 Log: Amend r228779 by also disabling -Wconstant-conversion warnings for the aic7xxx module. MFC after:1 week Modified: head/sys/modules/aic7xxx/ahc/ahc_pci/Makefile

svn commit: r228790 - in head/usr.sbin: fwcontrol newsyslog ypserv

2011-12-21 Thread Eitan Adler
Author: eadler (ports committer) Date: Wed Dec 21 20:27:41 2011 New Revision: 228790 URL: http://svn.freebsd.org/changeset/base/228790 Log: - Remove extraneous null ptr deref checks - Fix memory leak Submitted by: Slono Slono slonoman2...@yandex.ru Approved by: jhb MFC after:1

Re: svn commit: r228790 - in head/usr.sbin: fwcontrol newsyslog ypserv

2011-12-21 Thread Eitan Adler
On Wed, Dec 21, 2011 at 3:39 PM, Doug Barton do...@freebsd.org wrote: A better way to write this commit log would be, Remove null pointer checks that are extraneous because ...  2/3 why, 1/3 what. Noted.   - Fix memory leak Should this perhaps have been a separate commit? Probably. I'll be

Re: svn commit: r228790 - in head/usr.sbin: fwcontrol newsyslog ypserv

2011-12-21 Thread Doug Barton
On 12/21/2011 12:40 PM, Eitan Adler wrote: On Wed, Dec 21, 2011 at 3:39 PM, Doug Barton do...@freebsd.org wrote: A better way to write this commit log would be, Remove null pointer checks that are extraneous because ... 2/3 why, 1/3 what. Noted. Thanks. However, I was perhaps too subtle in

svn commit: r228791 - head/usr.sbin/ypserv

2011-12-21 Thread Eitan Adler
Author: eadler (ports committer) Date: Wed Dec 21 20:47:24 2011 New Revision: 228791 URL: http://svn.freebsd.org/changeset/base/228791 Log: - Fix style(9) bug I introduced in the last commit Approved by: jhb Modified: head/usr.sbin/ypserv/yp_main.c Modified:

Re: svn commit: r228785 - in head/sys/dev/ath/ath_hal: ar5210 ar5211

2011-12-21 Thread Adrian Chadd
Erm, why did you do this without first getting clearance from someone who has the hardware to test it? Just because it looks obviously wrong to you, doesn't at all mean that it's wrong. It's quite possible that the driver _requires_ those bits to be written to the hardware as 0. I'd appreciate

Re: svn commit: r228785 - in head/sys/dev/ath/ath_hal: ar5210 ar5211

2011-12-21 Thread John Baldwin
On Wednesday, December 21, 2011 4:52:04 pm Adrian Chadd wrote: Erm, why did you do this without first getting clearance from someone who has the hardware to test it? Just because it looks obviously wrong to you, doesn't at all mean that it's wrong. It's quite possible that the driver

Re: svn commit: r228785 - in head/sys/dev/ath/ath_hal: ar5210 ar5211

2011-12-21 Thread Adrian Chadd
On 21 December 2011 14:00, John Baldwin j...@freebsd.org wrote: I agree it should be reviewed, but if you are seriously depending on the fact that the shifted values are beyond the edge of the word boundary and so the result wraps to zero, then I'd question the sanity of your code. I agree,

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

2011-12-21 Thread Dimitry Andric
Author: dim Date: Wed Dec 21 22:13:50 2011 New Revision: 228793 URL: http://svn.freebsd.org/changeset/base/228793 Log: Amend r228783 by also disabling -Wshift-count-negative -Wshift-count-overflow warnings for the ath module. MFC after:1 week Modified:

Re: svn commit: r228785 - in head/sys/dev/ath/ath_hal: ar5210 ar5211

2011-12-21 Thread Alexander Best
On Wed Dec 21 11, John Baldwin wrote: On Wednesday, December 21, 2011 4:52:04 pm Adrian Chadd wrote: Erm, why did you do this without first getting clearance from someone who has the hardware to test it? Just because it looks obviously wrong to you, doesn't at all mean that it's wrong.

svn commit: r228795 - head/usr.sbin/pw

2011-12-21 Thread Eitan Adler
Author: eadler (ports committer) Date: Thu Dec 22 03:36:54 2011 New Revision: 228795 URL: http://svn.freebsd.org/changeset/base/228795 Log: - document the -l option to usermod PR: docs/161588 Submitted by: Luchesar V. ILIEV luchesar.il...@gmail.com Approved by: gjb MFC

Re: svn commit: r228750 - head/usr.bin/cpio/test

2011-12-21 Thread Tim Kientzle
On Dec 20, 2011, at 2:27 PM, Martin Matuska wrote: On 20.12.2011 21:56, John Baldwin wrote: On Tuesday, December 20, 2011 3:37:17 pm Martin Matuska wrote: Author: mm Date: Tue Dec 20 20:37:17 2011 New Revision: 228750 URL: http://svn.freebsd.org/changeset/base/228750 Log: Sync bsdcpio

Re: svn commit: r228785 - in head/sys/dev/ath/ath_hal: ar5210 ar5211

2011-12-21 Thread Adrian Chadd
On 21 December 2011 15:27, Alexander Best arun...@freebsd.org wrote: I agree it should be reviewed, but if you are seriously depending on the fact that the shifted values are beyond the edge of the word boundary and so the result wraps to zero, then I'd question the sanity of your code. i