svn commit: r235717 - head/sys/arm/arm

2012-05-21 Thread Warner Losh
Author: imp Date: Mon May 21 06:56:26 2012 New Revision: 235717 URL: http://svn.freebsd.org/changeset/base/235717 Log: Implement pmap_mincore for arm. Now programs using it don't cause a flood of console messages. Reviewed by: alc@ Modified: head/sys/arm/arm/pmap.c Modified:

svn commit: r235718 - head/sys/arm/at91

2012-05-21 Thread Warner Losh
Author: imp Date: Mon May 21 07:47:57 2012 New Revision: 235718 URL: http://svn.freebsd.org/changeset/base/235718 Log: Be a little less magical, not that these values are likely to change... Modified: head/sys/arm/at91/at91.c head/sys/arm/at91/at91reg.h Modified: head/sys/arm/at91/at91.c

svn commit: r235719 - in head/tools/regression: sysvmsg sysvsem sysvshm

2012-05-21 Thread Kevin Lo
Author: kevlo Date: Mon May 21 07:52:46 2012 New Revision: 235719 URL: http://svn.freebsd.org/changeset/base/235719 Log: According to shared memory man pages, advice including sys/types.h instead of sys/param.h Modified: head/tools/regression/sysvmsg/msgtest.c

svn commit: r235720 - head/lib/libc

2012-05-21 Thread Gleb Kurtsou
Author: gleb Date: Mon May 21 08:10:42 2012 New Revision: 235720 URL: http://svn.freebsd.org/changeset/base/235720 Log: Disable NLS catalog use in libc if built with WITHOUT_NLS option. Functions affected: strerror, strsignal, gai_strerror. Modified: head/lib/libc/Makefile Modified:

svn commit: r235721 - in stable/8/usr.sbin/pkg_install: add delete lib updating version

2012-05-21 Thread Baptiste Daroussin
Author: bapt Date: Mon May 21 13:05:41 2012 New Revision: 235721 URL: http://svn.freebsd.org/changeset/base/235721 Log: MFC: r201226, r202844, r206043, r206132, r206133, r212029, r225610, r226708, r228670 - Add support for UPDATING remote fetching. - Reorganize EXAMPLES section in

svn commit: r235722 - in stable/7/usr.sbin/pkg_install: add delete info lib updating version

2012-05-21 Thread Baptiste Daroussin
Author: bapt Date: Mon May 21 13:07:12 2012 New Revision: 235722 URL: http://svn.freebsd.org/changeset/base/235722 Log: MFC: r201226, r202844, r206043, r206132, r206133, r212029, r225610, r226708, r228670 - Add support for UPDATING remote fetching. - Reorganize EXAMPLES section in

svn commit: r235723 - in head: contrib/byacc tools/regression/usr.bin/yacc usr.bin/yacc usr.bin/yacc/test

2012-05-21 Thread Baptiste Daroussin
Author: bapt Date: Mon May 21 13:31:26 2012 New Revision: 235723 URL: http://svn.freebsd.org/changeset/base/235723 Log: Import byacc from invisible island, it brings us lots of compatibilities with bison, keeping full compatibility with our previous yacc implementation. Also bring the

svn commit: r235724 - stable/9/sys/dev/usb/input

2012-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 21 14:47:34 2012 New Revision: 235724 URL: http://svn.freebsd.org/changeset/base/235724 Log: MFC r235451: Move reset of USB mouse parameters from the USB mouse attach to the USB mouse device open. Protect against multi character device open. Some other nits.

svn commit: r235725 - head/etc/devd

2012-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 21 15:01:35 2012 New Revision: 235725 URL: http://svn.freebsd.org/changeset/base/235725 Log: Regenerate usb.conf MFC after:3 days Modified: head/etc/devd/usb.conf Modified: head/etc/devd/usb.conf

Re: svn commit: r235601 - head/include/protocols

2012-05-21 Thread John Baldwin
On Friday, May 18, 2012 11:24:36 am Gleb Kurtsou wrote: On (18/05/2012 09:41), John Baldwin wrote: On Friday, May 18, 2012 6:01:31 am Gleb Kurtsou wrote: Author: gleb Date: Fri May 18 10:01:31 2012 New Revision: 235601 URL: http://svn.freebsd.org/changeset/base/235601 Log:

svn commit: r235726 - head/usr.sbin/pkg

2012-05-21 Thread Baptiste Daroussin
Author: bapt Date: Mon May 21 15:45:18 2012 New Revision: 235726 URL: http://svn.freebsd.org/changeset/base/235726 Log: Add missing \n when generating pkg.conf Reported by: beat Approved by: des (mentor) MFC after:1 day Modified: head/usr.sbin/pkg/pkg.c Modified:

svn commit: r235727 - head/gnu/lib

2012-05-21 Thread Marcel Moolenaar
Author: marcel Date: Mon May 21 16:03:44 2012 New Revision: 235727 URL: http://svn.freebsd.org/changeset/base/235727 Log: Don't recurse into libssp when MK_SSP is set to no. Modified: head/gnu/lib/Makefile Modified: head/gnu/lib/Makefile

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

2012-05-21 Thread Adrian Chadd
Author: adrian Date: Mon May 21 17:51:26 2012 New Revision: 235728 URL: http://svn.freebsd.org/changeset/base/235728 Log: Re-add 'ic' and properly wrap it in the SUPERG macro. Modified: head/sys/dev/ath/if_ath_rx.c Modified: head/sys/dev/ath/if_ath_rx.c

Re: svn commit: r235601 - head/include/protocols

2012-05-21 Thread Garance A Drosehn
On 5/21/12 11:27 AM, John Baldwin wrote: On Friday, May 18, 2012 11:24:36 am Gleb Kurtsou wrote: On (18/05/2012 09:41), John Baldwin wrote: A question about your stat changes: did you expand dev_t to 32 bits for the AFS folks, or did you leave it as 16 bits? dev_t is already 32-bit.

svn commit: r235738 - in stable/9/sys: . dev/mfi

2012-05-21 Thread Sean Bruno
Author: sbruno Date: Mon May 21 19:58:40 2012 New Revision: 235738 URL: http://svn.freebsd.org/changeset/base/235738 Log: MFC r235634 Fix and update battery status bits according to linux driver Modified: stable/9/sys/dev/mfi/mfireg.h Directory Properties: stable/9/sys/ (props

svn commit: r235739 - head/lib/libc/gen

2012-05-21 Thread Guy Helmer
Author: ghelmer Date: Mon May 21 21:04:29 2012 New Revision: 235739 URL: http://svn.freebsd.org/changeset/base/235739 Log: Apply style(9) to return and switch/case statements. Reviewed by: delphij (prior version of the patch) Modified: head/lib/libc/gen/getnetgrent.c Modified:

svn commit: r235740 - head/lib/libc/gen

2012-05-21 Thread Guy Helmer
Author: ghelmer Date: Mon May 21 21:10:00 2012 New Revision: 235740 URL: http://svn.freebsd.org/changeset/base/235740 Log: Add checks for memory allocation failures in appropriate places, and avoid creating bad entries in the grp list as a result of memory allocation failures while building

svn commit: r235741 - in stable/9/sys: ddb gdb kern sys

2012-05-21 Thread John Baldwin
Author: jhb Date: Mon May 21 21:14:09 2012 New Revision: 235741 URL: http://svn.freebsd.org/changeset/base/235741 Log: MFC 234190,234196,234280: - Extend the KDB interface to add a per-debugger callback to print a backtrace for an arbitrary thread (rather than the calling thread). A

svn commit: r235742 - in stable/8/sys: ddb gdb kern sys

2012-05-21 Thread John Baldwin
Author: jhb Date: Mon May 21 21:16:08 2012 New Revision: 235742 URL: http://svn.freebsd.org/changeset/base/235742 Log: MFC 234190,234196,234280: - Extend the KDB interface to add a per-debugger callback to print a backtrace for an arbitrary thread (rather than the calling thread). A

Re: svn commit: r235738 - in stable/9/sys: . dev/mfi

2012-05-21 Thread John Baldwin
On Monday, May 21, 2012 3:58:40 pm Sean Bruno wrote: Author: sbruno Date: Mon May 21 19:58:40 2012 New Revision: 235738 URL: http://svn.freebsd.org/changeset/base/235738 Log: MFC r235634 Fix and update battery status bits according to linux driver Hmm, svn seems to have crapped

svn commit: r235743 - stable/9/sys

2012-05-21 Thread John Baldwin
Author: jhb Date: Mon May 21 21:29:59 2012 New Revision: 235743 URL: http://svn.freebsd.org/changeset/base/235743 Log: Toss bogus mergeinfo. Modified: Directory Properties: stable/9/sys/Makefile (props changed) stable/9/sys/amd64/ (props changed) stable/9/sys/arm/ (props changed)

svn commit: r235744 - in head: share/man/man9 sys/net

2012-05-21 Thread Alexander V. Chernikov
Author: melifaro Date: Mon May 21 22:13:48 2012 New Revision: 235744 URL: http://svn.freebsd.org/changeset/base/235744 Log: Fix panic on attaching to non-existent interface (introduced by r233937, pointed by hrs@) Fix panic on tcpdump being attached to interface being removed (introduced by

svn commit: r235745 - in head/sys: kern net

2012-05-21 Thread Alexander V. Chernikov
Author: melifaro Date: Mon May 21 22:17:29 2012 New Revision: 235745 URL: http://svn.freebsd.org/changeset/base/235745 Log: Fix old panic when BPF consumer attaches to destroying interface. 'flags' field is added to the end of bpf_if structure. Currently the only flag is BPFIF_FLAG_DYING

svn commit: r235746 - head/sys/net

2012-05-21 Thread Alexander V. Chernikov
Author: melifaro Date: Mon May 21 22:19:19 2012 New Revision: 235746 URL: http://svn.freebsd.org/changeset/base/235746 Log: Call bpf_jitter() before acquiring BPF global lock due to malloc() being used inside bpf_jitter. Eliminate bpf_buffer_alloc() and allocate BPF buffers on descriptor

svn commit: r235747 - head/sys/net

2012-05-21 Thread Alexander V. Chernikov
Author: melifaro Date: Mon May 21 22:21:00 2012 New Revision: 235747 URL: http://svn.freebsd.org/changeset/base/235747 Log: Make most BPF ioctls() SMP-safe. Approved by: kib(mentor) MFC in:4 weeks Modified: head/sys/net/bpf.c Modified: head/sys/net/bpf.c

svn commit: r235748 - stable/8/sys/dev/mfi

2012-05-21 Thread Sean Bruno
Author: sbruno Date: Mon May 21 22:23:21 2012 New Revision: 235748 URL: http://svn.freebsd.org/changeset/base/235748 Log: MFC r235634 Fix and update battery status bits according to linux driver Modified: stable/8/sys/dev/mfi/mfireg.h Directory Properties: stable/8/sys/ (props

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

2012-05-21 Thread Adrian Chadd
Author: adrian Date: Mon May 21 22:39:13 2012 New Revision: 235749 URL: http://svn.freebsd.org/changeset/base/235749 Log: Rename ath_tx_cleanup() - ath_tx_tid_cleanup() in order to not clash with a symbol in if_ath.c Modified: head/sys/dev/ath/if_ath_tx.c Modified:

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

2012-05-21 Thread Adrian Chadd
Author: adrian Date: Mon May 21 22:43:38 2012 New Revision: 235750 URL: http://svn.freebsd.org/changeset/base/235750 Log: For now, add a quick debugging patch to log when the hw TXQ != the TID/AC. Modified: head/sys/dev/ath/if_ath_tx.c Modified: head/sys/dev/ath/if_ath_tx.c

svn commit: r235751 - head/sys/dev/isci

2012-05-21 Thread Jim Harris
Author: jimharris Date: Mon May 21 22:54:33 2012 New Revision: 235751 URL: http://svn.freebsd.org/changeset/base/235751 Log: Wait until completion context unwinds before retrying CCBs that have been queued internally. This works around issue in the isci HAL where it cannot accept new I/O

svn commit: r235763 - in stable/9/sys: . amd64/include/xen boot boot/i386/efi boot/ia64/efi boot/ia64/ski boot/powerpc/boot1.chrp boot/powerpc/ofw cddl/contrib/opensolaris conf contrib/dev/acpica c...

2012-05-21 Thread John Baldwin
Author: jhb Date: Mon May 21 23:54:21 2012 New Revision: 235763 URL: http://svn.freebsd.org/changeset/base/235763 Log: Repair mergeinfo from merges done into a sparse checkout. Modified: Directory Properties: stable/9/sys/ (props changed) stable/9/sys/amd64/include/xen/ (props changed)

svn commit: r235764 - stable/9/sys/net

2012-05-21 Thread John Baldwin
Author: jhb Date: Tue May 22 00:00:17 2012 New Revision: 235764 URL: http://svn.freebsd.org/changeset/base/235764 Log: MFC 234098: Add media types for 40G media that might be used with FreeBSD. Modified: stable/9/sys/net/if_media.h Directory Properties: stable/9/sys/ (props changed)

Re: svn commit: r235738 - in stable/9/sys: . dev/mfi

2012-05-21 Thread John Baldwin
On 5/21/12 5:18 PM, John Baldwin wrote: On Monday, May 21, 2012 3:58:40 pm Sean Bruno wrote: Author: sbruno Date: Mon May 21 19:58:40 2012 New Revision: 235738 URL: http://svn.freebsd.org/changeset/base/235738 Log: MFC r235634 Fix and update battery status bits according to linux

svn commit: r235767 - head/lib/libc/net

2012-05-21 Thread Kevin Lo
Author: kevlo Date: Tue May 22 01:28:32 2012 New Revision: 235767 URL: http://svn.freebsd.org/changeset/base/235767 Log: Add missing header needed by free() Reported by: tinderbox Modified: head/lib/libc/net/nsparser.y Modified: head/lib/libc/net/nsparser.y

svn commit: r235768 - stable/9/sys/dev/sound/pci

2012-05-21 Thread Pedro F. Giffuni
Author: pfg Date: Tue May 22 02:11:08 2012 New Revision: 235768 URL: http://svn.freebsd.org/changeset/base/235768 Log: MFC: r233362 Don't cast a bus address to a uint8_t pointer just to add an offset to it. Instead, add the offset directly to the bus address. Approved by: jhb

svn commit: r235769 - in stable/9/sys: amd64/conf i386/conf

2012-05-21 Thread Pedro F. Giffuni
Author: pfg Date: Tue May 22 02:24:52 2012 New Revision: 235769 URL: http://svn.freebsd.org/changeset/base/235769 Log: MFC: r233310 Add snd_cmi, snd_csa and snd_emu10kx to GENERIC on i386 and amd64. The GPL infected parts which were blocking the inclusion of snd_csa and snd_emu10kx

Re: svn commit: r235767 - head/lib/libc/net

2012-05-21 Thread Garrett Cooper
On Mon, May 21, 2012 at 6:28 PM, Kevin Lo ke...@freebsd.org wrote: Author: kevlo Date: Tue May 22 01:28:32 2012 New Revision: 235767 URL: http://svn.freebsd.org/changeset/base/235767 Log:  Add missing header needed by free()  Reported by:  tinderbox Thank you for saving my mailbox :)!!!

svn commit: r235771 - head/bin/expr

2012-05-21 Thread Kevin Lo
Author: kevlo Date: Tue May 22 03:01:54 2012 New Revision: 235771 URL: http://svn.freebsd.org/changeset/base/235771 Log: Remove redundant declaration of yyparse Reported by: tinderbox Modified: head/bin/expr/expr.y Modified: head/bin/expr/expr.y

Re: svn commit: r235771 - head/bin/expr

2012-05-21 Thread Garrett Cooper
On Mon, May 21, 2012 at 8:01 PM, Kevin Lo ke...@freebsd.org wrote: Author: kevlo Date: Tue May 22 03:01:54 2012 New Revision: 235771 URL: http://svn.freebsd.org/changeset/base/235771 Log:  Remove redundant declaration of yyparse  Reported by:  tinderbox Modified:  head/bin/expr/expr.y

svn commit: r235772 - head/sys/dev/acpica

2012-05-21 Thread Mitsuru IWASAKI
Author: iwasaki Date: Tue May 22 05:18:30 2012 New Revision: 235772 URL: http://svn.freebsd.org/changeset/base/235772 Log: Ignore the power button press event for resuming rather than starting shutdown. MFC after:2 days Modified: head/sys/dev/acpica/acpi.c Modified:

Re: svn commit: r235771 - head/bin/expr

2012-05-21 Thread Baptiste Daroussin
On Mon, May 21, 2012 at 09:20:59PM -0700, Garrett Cooper wrote: On Mon, May 21, 2012 at 8:01 PM, Kevin Lo ke...@freebsd.org wrote: Author: kevlo Date: Tue May 22 03:01:54 2012 New Revision: 235771 URL: http://svn.freebsd.org/changeset/base/235771 Log:  Remove redundant declaration

Re: svn commit: r235771 - head/bin/expr

2012-05-21 Thread Garrett Cooper
On May 21, 2012, at 10:41 PM, Baptiste Daroussin wrote: On Mon, May 21, 2012 at 09:20:59PM -0700, Garrett Cooper wrote: On Mon, May 21, 2012 at 8:01 PM, Kevin Lo ke...@freebsd.org wrote: Author: kevlo Date: Tue May 22 03:01:54 2012 New Revision: 235771 URL: