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

2011-11-19 Thread Lawrence Stewart
Author: lstewart Date: Sun Nov 20 05:32:12 2011 New Revision: 227747 URL: http://svn.freebsd.org/changeset/base/227747 Log: - Provide a sysctl interface to change the active system clock at runtime. - Wrap [get]{bin,nano,micro}[up]time() functions of sys/time.h to allow requesting time

Re: svn commit: r227487 - head/include

2011-11-19 Thread Bruce Evans
On Mon, 14 Nov 2011, David Schultz wrote: On Mon, Nov 14, 2011, David Chisnall wrote: On 14 Nov 2011, at 18:02, David Schultz wrote: On Mon, Nov 14, 2011, Dimitry Andric wrote: On 2011-11-14 09:21, Stefan Farfeleder wrote: On Sun, Nov 13, 2011 at 04:18:48PM +, David Chisnall wrote: Aut

svn commit: r227746 - head/sys/sys

2011-11-19 Thread Lawrence Stewart
Author: lstewart Date: Sun Nov 20 01:48:22 2011 New Revision: 227746 URL: http://svn.freebsd.org/changeset/base/227746 Log: Fix a whitespace nit. Submitted by: Julien Ridoux (jridoux at unimelb edu au) Modified: head/sys/sys/timeffc.h Modified: head/sys/sys/timeffc.h ===

svn commit: r227745 - in head/sys: conf kern sys

2011-11-19 Thread Lawrence Stewart
Author: lstewart Date: Sun Nov 20 01:20:50 2011 New Revision: 227745 URL: http://svn.freebsd.org/changeset/base/227745 Log: Provide high-level functions to access the feed-forward absolute and difference clocks. Each routine can output an upper bound on the absolute time or time interval re

svn commit: r227744 - head/sys/fs/nfsclient

2011-11-19 Thread Rick Macklem
Author: rmacklem Date: Sun Nov 20 01:18:47 2011 New Revision: 227744 URL: http://svn.freebsd.org/changeset/base/227744 Log: Since the nfscl_cleanup() function isn't used by the FreeBSD NFSv4 client, delete the code and fix up the related comments. This should not have any functional effect o

svn commit: r227743 - in head/sys/fs: nfs nfsclient

2011-11-19 Thread Rick Macklem
Author: rmacklem Date: Sun Nov 20 00:39:15 2011 New Revision: 227743 URL: http://svn.freebsd.org/changeset/base/227743 Log: Post r223774 the NFSv4 client never uses the linked list with the head nfsc_defunctlockowner. This patch simply removes the code that loops through this always empty li

svn commit: r227742 - head/release/doc/en_US.ISO8859-1/hardware

2011-11-19 Thread Christian Brueffer
Author: brueffer Date: Sat Nov 19 22:14:08 2011 New Revision: 227742 URL: http://svn.freebsd.org/changeset/base/227742 Log: Add 2010 and 2011 copyrights. Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml

svn commit: r227741 - head/sys/dev/ath/ath_hal/ar5416

2011-11-19 Thread Adrian Chadd
Author: adrian Date: Sat Nov 19 21:12:35 2011 New Revision: 227741 URL: http://svn.freebsd.org/changeset/base/227741 Log: Add some (totally untested!) code to correctly set the RF half/quarter mode configuration registers. This is apparently required for correct behaviour, but also requires

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

2011-11-19 Thread Adrian Chadd
Author: adrian Date: Sat Nov 19 21:05:31 2011 New Revision: 227740 URL: http://svn.freebsd.org/changeset/base/227740 Log: Begin breaking apart the receive setup/stop path in preparation for more "correct" handling of frames in the RX pending queue during interface transitions. * ath_sto

svn commit: r227739 - in head: . contrib/binutils/ld/emulparams contrib/gcc/config/rs6000 contrib/llvm/tools/clang/lib/Driver gnu/usr.bin/binutils/ld sys/boot/ofw sys/boot/powerpc sys/boot/uboot

2011-11-19 Thread Andreas Tobler
Author: andreast Date: Sat Nov 19 19:25:57 2011 New Revision: 227739 URL: http://svn.freebsd.org/changeset/base/227739 Log: Rename the linker emulation name for powerpc and powerc64. This is needed that we can also use the upstream binutils linker where we have to have a unique name for the

svn commit: r227738 - head/sbin/ifconfig

2011-11-19 Thread Gleb Smirnoff
Author: glebius Date: Sat Nov 19 19:06:08 2011 New Revision: 227738 URL: http://svn.freebsd.org/changeset/base/227738 Log: For unknown reason, since rev 1.1 of ifconfig.c, sin_family isn't set properly for the mask argument. Since I'd like to improve argument sanity checking in kernel s

svn commit: r227737 - in head/contrib/llvm/tools/clang: include/clang/AST include/clang/Basic include/clang/Serialization lib/AST lib/Sema lib/Serialization

2011-11-19 Thread Dimitry Andric
Author: dim Date: Sat Nov 19 18:01:14 2011 New Revision: 227737 URL: http://svn.freebsd.org/changeset/base/227737 Log: Pull in r144505 from upstream clang trunk: Fix the signature of the getcontext builtin, eliminating incorrect warnings about its prototype. This also adds a -W(no-)b

svn commit: r227736 - head/contrib/llvm/tools/clang/include/clang/Basic

2011-11-19 Thread Dimitry Andric
Author: dim Date: Sat Nov 19 17:15:20 2011 New Revision: 227736 URL: http://svn.freebsd.org/changeset/base/227736 Log: Pull in r144237 from upstream clang trunk: Fix the signature of __sigsetjmp and sigsetjmp. This eliminates incorrect warnings about the prototypes of these functions.

svn commit: r227735 - in head/contrib/llvm/tools/clang: include/clang/Basic lib/Sema

2011-11-19 Thread Dimitry Andric
Author: dim Date: Sat Nov 19 17:09:36 2011 New Revision: 227735 URL: http://svn.freebsd.org/changeset/base/227735 Log: Pull in r144110 from upstream clang trunk: Mark the overloaded atomic builtins as having custom type checking, which they do. This avoids all of the default argument prom

svn commit: r227734 - stable/8/share/man/man4

2011-11-19 Thread Christian Brueffer
Author: brueffer Date: Sat Nov 19 17:01:11 2011 New Revision: 227734 URL: http://svn.freebsd.org/changeset/base/227734 Log: MFC: r227465, r227515 - Grammar and mdoc cleanup. - Remove list nesting in the hardware notes section, thus making it compatible with the hardware notes generati

svn commit: r227733 - releng/9.0/share/man/man4

2011-11-19 Thread Christian Brueffer
Author: brueffer Date: Sat Nov 19 16:59:23 2011 New Revision: 227733 URL: http://svn.freebsd.org/changeset/base/227733 Log: MFC: r227465, r227515 - Grammar and mdoc cleanup. - Remove list nesting in the hardware notes section, thus making it compatible with the hardware notes generati

svn commit: r227732 - stable/9/share/man/man4

2011-11-19 Thread Christian Brueffer
Author: brueffer Date: Sat Nov 19 16:54:58 2011 New Revision: 227732 URL: http://svn.freebsd.org/changeset/base/227732 Log: MFC: r227465, r227515 - Grammar and mdoc cleanup. - Remove list nesting in the hardware notes section, thus making it compatible with the hardware notes generati

svn commit: r227731 - head/share/misc

2011-11-19 Thread Michael Scheidell
Author: scheidell (ports committer) Date: Sat Nov 19 16:47:26 2011 New Revision: 227731 URL: http://svn.freebsd.org/changeset/base/227731 Log: - Add myself Approved by: gabor(mentor) Modified: head/share/misc/committers-ports.dot Modified: head/share/misc/committers-ports.dot =

svn commit: r227730 - in head/sys: arm/conf arm/mv boot/fdt/dts dev/cesa

2011-11-19 Thread Rafal Jaworowski
Author: raj Date: Sat Nov 19 16:30:06 2011 New Revision: 227730 URL: http://svn.freebsd.org/changeset/base/227730 Log: Initial version of cesa(4) driver for Marvell crypto engine and security accelerator. The following algorithms and schemes are supported: - 3DES, AES, DES - MD5, SH

svn commit: r227729 - head/sys/mips/nlm

2011-11-19 Thread Jayachandran C.
Author: jchandra Date: Sat Nov 19 15:08:49 2011 New Revision: 227729 URL: http://svn.freebsd.org/changeset/base/227729 Log: Remove unused variable ubase. This vaiable is initialized but not used. Modified: head/sys/mips/nlm/uart_pci_xlp.c Modified: head/sys/mips/nlm/uart_pci_xlp.c =

svn commit: r227728 - head/sys/mips/nlm

2011-11-19 Thread Jayachandran C.
Author: jchandra Date: Sat Nov 19 15:01:09 2011 New Revision: 227728 URL: http://svn.freebsd.org/changeset/base/227728 Log: Remvoe unused file mips/nlm/uart_cpu_xlp.c has replaced uart_bus_xlp_iodi.c Deleted: head/sys/mips/nlm/uart_bus_xlp_iodi.c _

svn commit: r227727 - head/sys/boot/forth

2011-11-19 Thread Martin Wilke
Author: miwi Date: Sat Nov 19 14:44:29 2011 New Revision: 227727 URL: http://svn.freebsd.org/changeset/base/227727 Log: - Add new loader_logo orbbw to default.conf PR: 162608 Submitted by: manolis Approved by: rwatson (mentor) MFC after:3 Days Modified: head/sys/boot

svn commit: r227726 - head/sys/boot/i386/loader

2011-11-19 Thread Martin Wilke
Author: miwi Date: Sat Nov 19 14:42:06 2011 New Revision: 227726 URL: http://svn.freebsd.org/changeset/base/227726 Log: - Whitespaces fixed only Approved by: rwatson (mentor) Modified: head/sys/boot/i386/loader/Makefile Modified: head/sys/boot/i386/loader/Makefile =

svn commit: r227725 - in head/sys/mips: conf nlm

2011-11-19 Thread Jayachandran C.
Author: jchandra Date: Sat Nov 19 14:33:14 2011 New Revision: 227725 URL: http://svn.freebsd.org/changeset/base/227725 Log: Fix USB compilation, and add USB options to XLP conf Remove obsolete header file included in usb_init.c Modified: head/sys/mips/conf/std.XLP head/sys/mips/nlm/usb

svn commit: r227724 - head/sys/mips/mips

2011-11-19 Thread Jayachandran C.
Author: jchandra Date: Sat Nov 19 14:14:35 2011 New Revision: 227724 URL: http://svn.freebsd.org/changeset/base/227724 Log: Fixup cache flush definitions for XLP mco_icache_sync_range was earlier set to mipsNN_icache_sync_range_index_32 which is not necessary, revert this. Also, the dat

svn commit: r227723 - in head/sys: conf kern sys

2011-11-19 Thread Lawrence Stewart
Author: lstewart Date: Sat Nov 19 14:10:16 2011 New Revision: 227723 URL: http://svn.freebsd.org/changeset/base/227723 Log: Core structure and functions to support a feed-forward clock within the kernel. Implement ffcounter, a monotonically increasing cumulative counter on top of the activ

svn commit: r227722 - head/sys/mips/nlm/hal

2011-11-19 Thread Jayachandran C.
Author: jchandra Date: Sat Nov 19 14:06:15 2011 New Revision: 227722 URL: http://svn.freebsd.org/changeset/base/227722 Log: Whitespace fixes in XLP HAL files. Also fixup a macro in iomap.h Modified: head/sys/mips/nlm/hal/bridge.h head/sys/mips/nlm/hal/cop2.h head/sys/mips/nlm/hal/cpu

svn commit: r227717 - stable/7/sys/sparc64/include

2011-11-19 Thread Marius Strobl
Author: marius Date: Sat Nov 19 13:30:12 2011 New Revision: 227717 URL: http://svn.freebsd.org/changeset/base/227717 Log: MFC: r227539 Define curthread as an inline function that loads the thread pointer directly from g7, the pcpu pointer. This guarantees correct behavior when the threa

svn commit: r227721 - stable/7/sys/sparc64/sbus

2011-11-19 Thread Marius Strobl
Author: marius Date: Sat Nov 19 13:33:30 2011 New Revision: 227721 URL: http://svn.freebsd.org/changeset/base/227721 Log: MFC: r227578 Fix compilation with DEBUG defined. Modified: stable/7/sys/sparc64/sbus/lsi64854.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys

svn commit: r227719 - releng/9.0/sys/sparc64/sbus

2011-11-19 Thread Marius Strobl
Author: marius Date: Sat Nov 19 13:33:22 2011 New Revision: 227719 URL: http://svn.freebsd.org/changeset/base/227719 Log: MFC: r227578 Fix compilation with DEBUG defined. Approved by: re (kib) Modified: releng/9.0/sys/sparc64/sbus/lsi64854.c Directory Properties: releng/9.0/sys/

svn commit: r227718 - stable/9/sys/sparc64/sbus

2011-11-19 Thread Marius Strobl
Author: marius Date: Sat Nov 19 13:33:21 2011 New Revision: 227718 URL: http://svn.freebsd.org/changeset/base/227718 Log: MFC: r227578 Fix compilation with DEBUG defined. Approved by: re (kib) Modified: stable/9/sys/sparc64/sbus/lsi64854.c Directory Properties: stable/9/sys/ (p

svn commit: r227720 - stable/8/sys/sparc64/sbus

2011-11-19 Thread Marius Strobl
Author: marius Date: Sat Nov 19 13:33:24 2011 New Revision: 227720 URL: http://svn.freebsd.org/changeset/base/227720 Log: MFC: r227578 Fix compilation with DEBUG defined. Modified: stable/8/sys/sparc64/sbus/lsi64854.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys

svn commit: r227716 - stable/8/sys/sparc64/include

2011-11-19 Thread Marius Strobl
Author: marius Date: Sat Nov 19 13:29:55 2011 New Revision: 227716 URL: http://svn.freebsd.org/changeset/base/227716 Log: MFC: r227539 Define curthread as an inline function that loads the thread pointer directly from g7, the pcpu pointer. This guarantees correct behavior when the threa

svn commit: r227715 - releng/9.0/sys/sparc64/include

2011-11-19 Thread Marius Strobl
Author: marius Date: Sat Nov 19 13:04:17 2011 New Revision: 227715 URL: http://svn.freebsd.org/changeset/base/227715 Log: MFC: r227539 Define curthread as an inline function that loads the thread pointer directly from g7, the pcpu pointer. This guarantees correct behavior when the threa

svn commit: r227714 - stable/9/sys/sparc64/include

2011-11-19 Thread Marius Strobl
Author: marius Date: Sat Nov 19 13:03:59 2011 New Revision: 227714 URL: http://svn.freebsd.org/changeset/base/227714 Log: MFC: r227539 Define curthread as an inline function that loads the thread pointer directly from g7, the pcpu pointer. This guarantees correct behavior when the threa

svn commit: r227713 - in stable/8: share/man/man9 sys/dev/ofw sys/kern sys/powerpc/powerpc sys/sys

2011-11-19 Thread Marius Strobl
Author: marius Date: Sat Nov 19 13:03:14 2011 New Revision: 227713 URL: http://svn.freebsd.org/changeset/base/227713 Log: MFC: r227537 As it turns out, r186347 actually is insufficient to avoid the use of the curthread-accessing part of mtx_{,un}lock(9) when using a r210623-style curthr

svn commit: r227712 - in releng/9.0: share/man/man9 sys/dev/ofw sys/kern sys/powerpc/powerpc sys/sys

2011-11-19 Thread Marius Strobl
Author: marius Date: Sat Nov 19 12:55:34 2011 New Revision: 227712 URL: http://svn.freebsd.org/changeset/base/227712 Log: MFC: r227537 As it turns out, r186347 actually is insufficient to avoid the use of the curthread-accessing part of mtx_{,un}lock(9) when using a r210623-style curthr

svn commit: r227711 - in stable/9: share/man/man9 sys/dev/ofw sys/kern sys/powerpc/powerpc sys/sys

2011-11-19 Thread Marius Strobl
Author: marius Date: Sat Nov 19 12:55:32 2011 New Revision: 227711 URL: http://svn.freebsd.org/changeset/base/227711 Log: MFC: r227537 As it turns out, r186347 actually is insufficient to avoid the use of the curthread-accessing part of mtx_{,un}lock(9) when using a r210623-style curthr

svn commit: r227710 - in releng/9.0: sys/boot/common sys/boot/zfs sys/cddl/boot/zfs tools/tools/zfsboottest

2011-11-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Nov 19 11:47:15 2011 New Revision: 227710 URL: http://svn.freebsd.org/changeset/base/227710 Log: MFC r226549,r226550,r226551,r226552,r226553,r226554,r226568,r226569,r226611, r226612: r226549: Remove redundant size calculation. r226550: Initialize '

svn commit: r227709 - in releng/9.0/cddl/contrib/opensolaris: cmd/zdb head lib/libzpool/common

2011-11-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Nov 19 11:44:20 2011 New Revision: 227709 URL: http://svn.freebsd.org/changeset/base/227709 Log: MFC r226613,r226615,r226616: r226613: libzpool task_alloc: pass only valid flags to kmem_alloc tqflags may contain other flags besided those that are suitable for

svn commit: r227708 - releng/9.0/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2011-11-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Nov 19 11:43:18 2011 New Revision: 227708 URL: http://svn.freebsd.org/changeset/base/227708 Log: MFC r226617: zfs vdev_file_io_start: validate vdev before using vdev_tsd vdev_tsd can be NULL for certain vdev states. At least in userland testing with ztest.

svn commit: r227707 - releng/9.0/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2011-11-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Nov 19 11:42:19 2011 New Revision: 227707 URL: http://svn.freebsd.org/changeset/base/227707 Log: MFC r226620: Update per-thread I/O statistics collection in ZFS. This allows to see processes I/O activity in 'top -m io' output. PRkern/156218 Reporte

svn commit: r227706 - in head/sys: dev/usb kern

2011-11-19 Thread Hans Petter Selasky
Author: hselasky Date: Sat Nov 19 11:17:27 2011 New Revision: 227706 URL: http://svn.freebsd.org/changeset/base/227706 Log: Simplify the usb_pause_mtx() function by factoring out the generic parts to the kernel's pause() function. The pause() function can now be used when cold != 0. Also ass

svn commit: r227705 - in stable/9: sys/boot/common sys/boot/zfs sys/cddl/boot/zfs tools/tools/zfsboottest

2011-11-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Nov 19 10:49:03 2011 New Revision: 227705 URL: http://svn.freebsd.org/changeset/base/227705 Log: MFC r226549,r226550,r226551,r226552,r226553,r226554,r226568,r226569,r226611, r226612: r226549: Remove redundant size calculation. r226550: Initialize '

svn commit: r227704 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2011-11-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Nov 19 10:28:06 2011 New Revision: 227704 URL: http://svn.freebsd.org/changeset/base/227704 Log: MFC r226617: zfs vdev_file_io_start: validate vdev before using vdev_tsd vdev_tsd can be NULL for certain vdev states. At least in userland testing with ztest.

svn commit: r227703 - in stable/9/cddl/contrib/opensolaris: cmd/zdb head lib/libzpool/common

2011-11-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Nov 19 10:26:34 2011 New Revision: 227703 URL: http://svn.freebsd.org/changeset/base/227703 Log: MFC r226613,r226615,r226616: r226613: libzpool task_alloc: pass only valid flags to kmem_alloc tqflags may contain other flags besided those that are suitable for

svn commit: r227702 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2011-11-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Nov 19 10:24:46 2011 New Revision: 227702 URL: http://svn.freebsd.org/changeset/base/227702 Log: MFC r226620: Update per-thread I/O statistics collection in ZFS. This allows to see processes I/O activity in 'top -m io' output. PRkern/156218 Reporte

svn commit: r227701 - in head/sys: arm/xscale/ixp425 dev/ahci dev/ata dev/gpio dev/mvs dev/ppbus dev/ppc dev/siba dev/siis dev/usb kern sys

2011-11-19 Thread Hans Petter Selasky
Author: hselasky Date: Sat Nov 19 10:11:50 2011 New Revision: 227701 URL: http://svn.freebsd.org/changeset/base/227701 Log: Move the device_delete_all_children() function from usb_util.c to kern/subr_bus.c. Simplify this function so that it no longer depends on malloc() to execute. Identify

svn commit: r227700 - head/sys/dev/sfxge

2011-11-19 Thread Philip Paeps
Author: philip Date: Sat Nov 19 09:16:52 2011 New Revision: 227700 URL: http://svn.freebsd.org/changeset/base/227700 Log: sfxge: Remove interrupt self-test code It's not currently used; it didn't build on 32-bit and the previous build fix is incorrect. If we really implement self-tests w

svn commit: r227699 - head/sys/dev/sfxge

2011-11-19 Thread Philip Paeps
Author: philip Date: Sat Nov 19 09:13:58 2011 New Revision: 227699 URL: http://svn.freebsd.org/changeset/base/227699 Log: sfxge: Fix if_baudrate reports This field is supposed to be set to the interface bit rate, but for some reason I thought it was denominated in kilobits. Multiply the