svn commit: r209153 - head/lib/clang

2010-06-13 Thread Ed Schouten
" -DSVN_REVISION=\"104832\" \ - -DCLANG_VENDOR_SUFFIX=\"\ 20100613\" + -DCLANG_VENDOR_SUFFIX=\"\ 20100614\" .PATH: ${LLVM_SRCS}/${SRCDIR} ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

svn commit: r209152 - head/usr.bin/tar

2010-06-13 Thread Tim Kientzle
Author: kientzle Date: Mon Jun 14 02:56:45 2010 New Revision: 209152 URL: http://svn.freebsd.org/changeset/base/209152 Log: If the compressed data is larger than the uncompressed, report the compression ratio as 0% instead of displaying nonsense triggered by numeric overflow. This is common

svn commit: r209147 - head/lib/libc/posix1e

2010-06-13 Thread Tim Kientzle
Author: kientzle Date: Mon Jun 14 02:26:13 2010 New Revision: 209147 URL: http://svn.freebsd.org/changeset/base/209147 Log: Separate _posix1e_acl_id_to_name() into a separate file, to break an unnecessary dependency on getpwuid() and getgrgid(). MFC after: 1 month Added: head/lib/libc/

Re: svn commit: r209119 - head/sys/sys

2010-06-13 Thread Lawrence Stewart
On 06/13/10 20:10, Pawel Jakub Dawidek wrote: On Sun, Jun 13, 2010 at 02:39:55AM +, Lawrence Stewart wrote: [snip] Modified: head/sys/sys/pcpu.h == --- head/sys/sys/pcpu.h Sun Jun 13 01:27:29 2010(r209118)

svn commit: r209144 - head/sys/dev/usb/wlan

2010-06-13 Thread Andrew Thompson
Author: thompsa Date: Mon Jun 14 00:40:23 2010 New Revision: 209144 URL: http://svn.freebsd.org/changeset/base/209144 Log: - Because hostapd calls iv_key_set() before if_init(), make sure key_set callback function will be executed, and that the key won't be deleted during the init proces

svn commit: r209143 - head/usr.sbin/sysinstall

2010-06-13 Thread Marcel Moolenaar
Author: marcel Date: Sun Jun 13 23:37:16 2010 New Revision: 209143 URL: http://svn.freebsd.org/changeset/base/209143 Log: Fix build breakages on ia64 introduced some commits ago. Modified: head/usr.sbin/sysinstall/disks.c head/usr.sbin/sysinstall/install.c Modified: head/usr.sbin/sysinstal

Re: svn commit: r209130 - in head/sys: arm/include dev/fdt

2010-06-13 Thread Andrew Turner
On Sun, 13 Jun 2010 13:12:52 + (UTC) Rafal Jaworowski wrote: > Author: raj > Date: Sun Jun 13 13:12:52 2010 > New Revision: 209130 > URL: http://svn.freebsd.org/changeset/base/209130 > > Log: > Initial FDT infrastructure elements for ARM. > > Reviewed by:imp > Sponsored by:

Re: svn commit: r209119 - head/sys/sys

2010-06-13 Thread Stefan Farfeleder
On Sun, Jun 13, 2010 at 01:59:11PM +, m...@freebsd.org wrote: > > (Relevant but almost a thread hijack): > > At Isilon we've run into a lot of problems with variable declarations > in macros, especially with -Wshadow turned on. We ended up > backporting __COUNTER__ from later versions of gcc

svn commit: r209138 - head/sys/sparc64/sparc64

2010-06-13 Thread Marius Strobl
Author: marius Date: Sun Jun 13 20:29:55 2010 New Revision: 209138 URL: http://svn.freebsd.org/changeset/base/209138 Log: Update a branch missed in r207537. MFC after:3 days Modified: head/sys/sparc64/sparc64/mp_locore.S Modified: head/sys/sparc64/sparc64/mp_locore.S ===

svn commit: r209137 - head/contrib/wpa

2010-06-13 Thread Rui Paulo
Author: rpaulo Date: Sun Jun 13 20:16:41 2010 New Revision: 209137 URL: http://svn.freebsd.org/changeset/base/209137 Log: Bootstrap mergeinfo in preparation for import. Modified: Directory Properties: head/contrib/wpa/ (props changed) ___ svn-src-

Re: svn commit: r209119 - head/sys/sys

2010-06-13 Thread Roman Divacky
On Sun, Jun 13, 2010 at 01:59:11PM +, m...@freebsd.org wrote: > On Sun, Jun 13, 2010 at 10:10 AM, Pawel Jakub Dawidek > wrote: > > On Sun, Jun 13, 2010 at 02:39:55AM +, Lawrence Stewart wrote: > >> Author: lstewart > >> Date: Sun Jun 13 02:39:55 2010 > >> New Revision: 209119 > >> URL: ht

Re: svn commit: r209122 - head/lib/libelf

2010-06-13 Thread Kai Wang
On Sun, Jun 13, 2010 at 09:37:10AM -0700, Steve Kargl wrote: > On Sun, Jun 13, 2010 at 10:58:50AM +, Kai Wang wrote: > > Author: kaiw > > Date: Sun Jun 13 10:58:50 2010 > > New Revision: 209122 > > URL: http://svn.freebsd.org/changeset/base/209122 > > > > Log: > > * Improve compatibility wit

svn commit: r209136 - in head: include lib/libedit

2010-06-13 Thread Jilles Tjoelker
Author: jilles Date: Sun Jun 13 17:04:42 2010 New Revision: 209136 URL: http://svn.freebsd.org/changeset/base/209136 Log: libedit: Add basic filename completion code from NetBSD. This will be used to provide filename completion in sh(1). Changes from the NetBSD code: * wide character

svn commit: r209135 - head/usr.sbin/config

2010-06-13 Thread Warner Losh
Author: imp Date: Sun Jun 13 16:54:11 2010 New Revision: 209135 URL: http://svn.freebsd.org/changeset/base/209135 Log: style(9) fixes: o make cmd scoped to the whole do_rules function, since it really is scoped to the whole fucnion. Making it static was the wrong way to fix referen

Re: svn commit: r209122 - head/lib/libelf

2010-06-13 Thread Steve Kargl
On Sun, Jun 13, 2010 at 10:58:50AM +, Kai Wang wrote: > Author: kaiw > Date: Sun Jun 13 10:58:50 2010 > New Revision: 209122 > URL: http://svn.freebsd.org/changeset/base/209122 > > Log: > * Improve compatibility with existing application code by permitting the > use of `elf_getbase()` on

svn commit: r209134 - head/etc

2010-06-13 Thread Warner Losh
Author: imp Date: Sun Jun 13 16:35:20 2010 New Revision: 209134 URL: http://svn.freebsd.org/changeset/base/209134 Log: Merge from tbemd, with minor tweaks: Search from most specific ($MACHINE) to least specific ($MACHINE_CPUARCH) when looking for the tty file to use. Also add an .error

Re: svn commit: r209119 - head/sys/sys

2010-06-13 Thread mdf
On Sun, Jun 13, 2010 at 10:10 AM, Pawel Jakub Dawidek wrote: > On Sun, Jun 13, 2010 at 02:39:55AM +, Lawrence Stewart wrote: >> Author: lstewart >> Date: Sun Jun 13 02:39:55 2010 >> New Revision: 209119 >> URL: http://svn.freebsd.org/changeset/base/209119 >> >> Log: >>   Add a utility macro to

Re: svn commit: r209119 - head/sys/sys

2010-06-13 Thread Lawrence Stewart
On 06/13/10 20:10, Pawel Jakub Dawidek wrote: On Sun, Jun 13, 2010 at 02:39:55AM +, Lawrence Stewart wrote: Author: lstewart Date: Sun Jun 13 02:39:55 2010 New Revision: 209119 URL: http://svn.freebsd.org/changeset/base/209119 Log: Add a utility macro to simplify calculating an aggregate

svn commit: r209132 - head/usr.sbin

2010-06-13 Thread Rafal Jaworowski
Author: raj Date: Sun Jun 13 13:30:26 2010 New Revision: 209132 URL: http://svn.freebsd.org/changeset/base/209132 Log: Enable ofwdump(8) on ARM as this is a useful tool to inspect a flattened device tree. Modified: head/usr.sbin/Makefile Modified: head/usr.sbin/Makefile ===

svn commit: r209131 - in head/sys: arm/conf arm/include arm/mv arm/mv/discovery arm/mv/kirkwood arm/mv/orion conf dev/mge dev/uart dev/usb/controller

2010-06-13 Thread Rafal Jaworowski
Author: raj Date: Sun Jun 13 13:28:53 2010 New Revision: 209131 URL: http://svn.freebsd.org/changeset/base/209131 Log: Convert Marvell ARM platforms to FDT convention. The following systems are involved: - DB-88F5182 - DB-88F5281 - DB-88F6281 - DB-78100 - SheevaPlug

Re: svn commit: r209119 - head/sys/sys

2010-06-13 Thread Lawrence Stewart
On 06/13/10 20:20, Gabor Kovesdan wrote: +/* + * Utility macros. + */ +#define DPCPU_SUM(n, var, sum) \ +do { \ + (sum) = 0; \ + u_int i; \ + CPU_FOREACH(i) \ + (sum) += (DPCPU_ID_PTR(i, n))->var; \ +} while (0) I'd suggest first swapping variable declaration and '(sum) = 0;'. Also using 'i'

svn commit: r209130 - in head/sys: arm/include dev/fdt

2010-06-13 Thread Rafal Jaworowski
Author: raj Date: Sun Jun 13 13:12:52 2010 New Revision: 209130 URL: http://svn.freebsd.org/changeset/base/209130 Log: Initial FDT infrastructure elements for ARM. Reviewed by: imp Sponsored by: The FreeBSD Foundation Added: head/sys/arm/include/fdt.h (contents, props changed) hea

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

2010-06-13 Thread Rafal Jaworowski
Author: raj Date: Sun Jun 13 13:08:23 2010 New Revision: 209129 URL: http://svn.freebsd.org/changeset/base/209129 Log: Improve style. Modified: head/sys/arm/arm/nexus.c Modified: head/sys/arm/arm/nexus.c == --- head/

svn commit: r209128 - in head: . gnu/usr.bin sys/conf

2010-06-13 Thread Rafal Jaworowski
Author: raj Date: Sun Jun 13 13:02:43 2010 New Revision: 209128 URL: http://svn.freebsd.org/changeset/base/209128 Log: Connect FDT infrastructure to the build system. Reviewed by: imp Sponsored by: The FreeBSD Foundation Modified: head/Makefile head/Makefile.inc1 head/gnu/usr.bin/

svn commit: r209127 - head/sys/dev/fdt

2010-06-13 Thread Rafal Jaworowski
Author: raj Date: Sun Jun 13 12:58:31 2010 New Revision: 209127 URL: http://svn.freebsd.org/changeset/base/209127 Log: Provide identify method for the fdtbus(4). Reviewed by: imp Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/fdt/fdtbus.c Modified: head/sys/dev/fdt/fdtbu

svn commit: r209126 - head/share/mk

2010-06-13 Thread Rafal Jaworowski
Author: raj Date: Sun Jun 13 12:53:44 2010 New Revision: 209126 URL: http://svn.freebsd.org/changeset/base/209126 Log: Do not set WITH_FDT by default based on arch, as this does not work for a bootstrap stage tool. FDT-enabled platforms will have to specify WITH_FDT explicitly at buildwor

svn commit: r209125 - in head/sys/boot: arm/uboot powerpc/uboot uboot/common

2010-06-13 Thread Rafal Jaworowski
Author: raj Date: Sun Jun 13 12:46:32 2010 New Revision: 209125 URL: http://svn.freebsd.org/changeset/base/209125 Log: Fix conditional FDT support in loader(8). Modified: head/sys/boot/arm/uboot/Makefile head/sys/boot/powerpc/uboot/Makefile head/sys/boot/uboot/common/metadata.c Modified:

svn commit: r209124 - in head/lib/clang: . include/llvm/Config

2010-06-13 Thread Ed Schouten
# XXX: 8.0, to keep __FreeBSD_cc_version happy CFLAGS+=-DLLVM_HOSTTRIPLE=\"${TARGET_ARCH}-undermydesk-freebsd9.0\" \ -DCLANG_VENDOR=\"FreeBSD\ \" -DSVN_REVISION=\"104832\" \ - -DCLANG_VENDOR_SUFFIX=\"\ 20100612\" + -DCLANG_VENDOR_SUFFIX=\"\ 201006

svn commit: r209123 - head/usr.sbin/sysinstall

2010-06-13 Thread Ed Schouten
Author: ed Date: Sun Jun 13 11:27:44 2010 New Revision: 209123 URL: http://svn.freebsd.org/changeset/base/209123 Log: Unbreak the build on less common architectures. Submitted by: Andreas Tobler Modified: head/usr.sbin/sysinstall/install.c Modified: head/usr.sbin/sysinstall/install.c =

svn commit: r209122 - head/lib/libelf

2010-06-13 Thread Kai Wang
Author: kaiw Date: Sun Jun 13 10:58:50 2010 New Revision: 209122 URL: http://svn.freebsd.org/changeset/base/209122 Log: * Improve compatibility with existing application code by permitting the use of `elf_getbase()` on non-archive members. This change is needed for gcc LTO (-flto) to wor

Re: svn commit: r209119 - head/sys/sys

2010-06-13 Thread Gabor Kovesdan
+/* + * Utility macros. + */ +#define DPCPU_SUM(n, var, sum) \ +do { \ + (sum) = 0; \ + u_int i;

Re: svn commit: r209119 - head/sys/sys

2010-06-13 Thread Pawel Jakub Dawidek
On Sun, Jun 13, 2010 at 02:39:55AM +, Lawrence Stewart wrote: > Author: lstewart > Date: Sun Jun 13 02:39:55 2010 > New Revision: 209119 > URL: http://svn.freebsd.org/changeset/base/209119 > > Log: > Add a utility macro to simplify calculating an aggregate sum from a DPCPU > counter variab

Re: svn commit: r209116 - head/sys/dev/cxgb

2010-06-13 Thread Navdeep Parhar
On Sun, Jun 13, 2010 at 03:03:16PM +1000, Lawrence Stewart wrote: > Hi Navdeep, > > On 06/13/10 08:33, Navdeep Parhar wrote: > >Log: > > cxgb(4): add knob to get packet timestamps from the hardware. > > > > The T3 ASIC can provide an incoming packet's timestamp instead of its > > RSS hash.