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. The

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 variable.

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;

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

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 andreast list fgznet ch Modified: head/usr.sbin/sysinstall/install.c Modified:

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

2010-06-13 Thread Ed Schouten
__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=\\ 20100613\ .PATH: ${LLVM_SRCS}/${SRCDIR} Modified: head/lib/clang/include

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

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

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:

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

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 == ---

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)

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: 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

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

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

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

2010-06-13 Thread mdf
On Sun, Jun 13, 2010 at 10:10 AM, Pawel Jakub Dawidek p...@freebsd.org 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

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

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: 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

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

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 with existing

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 p...@freebsd.org 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:

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 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: r209139 - in vendor/wpa/dist: hostapd hostapd/doc src/common src/crypto src/drivers src/eap_common src/eap_peer src/eap_server src/eapol_supp src/hlr_auc_gw src/l2_packet src/radius src...

2010-06-13 Thread Rui Paulo
Author: rpaulo Date: Sun Jun 13 20:32:04 2010 New Revision: 209139 URL: http://svn.freebsd.org/changeset/base/209139 Log: Import wpa_supplicant hostapd 0.6.9. Added: vendor/wpa/dist/hostapd/Makefile vendor/wpa/dist/hostapd/driver_atheros.c vendor/wpa/dist/hostapd/driver_bsd.c

svn commit: r209140 - vendor/wpa/0.6.9

2010-06-13 Thread Rui Paulo
Author: rpaulo Date: Sun Jun 13 20:32:45 2010 New Revision: 209140 URL: http://svn.freebsd.org/changeset/base/209140 Log: Tag wpa_supplicant hostapd 0.6.9. Added: vendor/wpa/0.6.9/ - copied from r209139, vendor/wpa/dist/ ___

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 and

svn commit: r209141 - vendor/wpa/0.6.10

2010-06-13 Thread Rui Paulo
Author: rpaulo Date: Sun Jun 13 21:03:53 2010 New Revision: 209141 URL: http://svn.freebsd.org/changeset/base/209141 Log: Tag wpa_supplicant hostapd 0.6.10. Added: vendor/wpa/0.6.10/ - copied from r209140, vendor/wpa/dist/ ___

svn commit: r209142 - vendor/wpa/0.6.9

2010-06-13 Thread Rui Paulo
Author: rpaulo Date: Sun Jun 13 21:04:09 2010 New Revision: 209142 URL: http://svn.freebsd.org/changeset/base/209142 Log: Remove wrong tag. Deleted: vendor/wpa/0.6.9/ ___ svn-src-all@freebsd.org mailing list

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 r...@freebsd.org 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

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:

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

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: r209145 - releng/8.1

2010-06-13 Thread Ken Smith
Author: kensmith Date: Mon Jun 14 02:09:06 2010 New Revision: 209145 URL: http://svn.freebsd.org/changeset/base/209145 Log: Copy stable/8 to releng/8.1 in preparation for 8.1-RC1. Approved by: re (implicit) Added: - copied from r209144, stable/8/ Directory Properties: releng/8.1/

svn commit: r209146 - stable/8/sys/sys

2010-06-13 Thread Ken Smith
Author: kensmith Date: Mon Jun 14 02:21:43 2010 New Revision: 209146 URL: http://svn.freebsd.org/changeset/base/209146 Log: Adjust __FreeBSD_version to reflect releng/8.1 has been created. Approved by: re (implicit) Modified: stable/8/sys/sys/param.h Modified: stable/8/sys/sys/param.h

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:

svn commit: r209148 - releng/8.1

2010-06-13 Thread Ken Smith
Author: kensmith Date: Mon Jun 14 02:26:33 2010 New Revision: 209148 URL: http://svn.freebsd.org/changeset/base/209148 Log: Adjust the cvs branch for 'make update'. Approved by: re (implicit) Modified: releng/8.1/Makefile.inc1 Modified: releng/8.1/Makefile.inc1

svn commit: r209149 - releng/8.1/share/examples/cvsup

2010-06-13 Thread Ken Smith
Author: kensmith Date: Mon Jun 14 02:29:25 2010 New Revision: 209149 URL: http://svn.freebsd.org/changeset/base/209149 Log: Adjust cvs branch tag. Approved by: re (implicit) Modified: releng/8.1/share/examples/cvsup/standard-supfile Modified:

svn commit: r209150 - releng/8.1/sys/sys

2010-06-13 Thread Ken Smith
Author: kensmith Date: Mon Jun 14 02:30:59 2010 New Revision: 209150 URL: http://svn.freebsd.org/changeset/base/209150 Log: Adjust __FreeBSD_version to reflect this is the 8.1 release branch. Approved by: re (implicit) Modified: releng/8.1/sys/sys/param.h Modified:

svn commit: r209151 - releng/8.1/sys/conf

2010-06-13 Thread Ken Smith
Author: kensmith Date: Mon Jun 14 02:31:53 2010 New Revision: 209151 URL: http://svn.freebsd.org/changeset/base/209151 Log: Ready for 8.1-RC1. Approved by: re (implicit) Modified: releng/8.1/sys/conf/newvers.sh Modified: releng/8.1/sys/conf/newvers.sh

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