svn commit: r232851 - head/sys/i386/i386

2012-03-11 Thread Alan Cox
Author: alc Date: Mon Mar 12 05:28:02 2012 New Revision: 232851 URL: http://svn.freebsd.org/changeset/base/232851 Log: Simplify the error checking in one branch of trap_pfault() and update the nearby comment. Correct the style of two return statements in trap_pfault(). Merge a commen

svn commit: r232850 - head/sys/dev/bge

2012-03-11 Thread Pyun YongHyeon
Author: yongari Date: Mon Mar 12 03:47:30 2012 New Revision: 232850 URL: http://svn.freebsd.org/changeset/base/232850 Log: Make if_ierrors updated whenever any of the following counters are updated. o Number of times NIC ran out of RX buffer descriptors o Number of inbound packet errors

svn commit: r232849 - head/sys/dev/bge

2012-03-11 Thread Pyun YongHyeon
Author: yongari Date: Mon Mar 12 02:42:47 2012 New Revision: 232849 URL: http://svn.freebsd.org/changeset/base/232849 Log: Show PCI bus speed and width as well as running mode of PCI-X device in device attach. This would help to narrow down issue to a specific controller and operating mode

Re: svn commit: r232836 - head/sys/ufs/ffs

2012-03-11 Thread Bruce Evans
On Sun, 11 Mar 2012, Konstantin Belousov wrote: Log: Do schedule delayed writes for async mounts. While there, make some style adjustments, like missed () around return values. Submitted by: bde Reviewed by: mckusick Tested by: pho MFC after: 2 weeks Thanks for all these com

svn commit: r232848 - head/sys/dev/bge

2012-03-11 Thread Pyun YongHyeon
Author: yongari Date: Mon Mar 12 02:09:47 2012 New Revision: 232848 URL: http://svn.freebsd.org/changeset/base/232848 Log: Add workaround for PCI-X BCM5704 controller that live behind AMD-8131 PCI-X bridge. The bridge seems to reorder write access to mailbox registers such that it caused wa

Re: svn commit: r221780 - head/usr.sbin/freebsd-update

2012-03-11 Thread Andrew Thompson
On 12 May 2011 03:23, Colin Percival wrote: > Author: cperciva > Date: Wed May 11 15:23:27 2011 > New Revision: 221780 > URL: http://svn.freebsd.org/changeset/base/221780 > > Log: >  Make freebsd-update(8) smarter in how it handles $FreeBSD$ tags in >  configuration files. > >  Nagged by:    pgoll

svn commit: r232847 - head/sys/mips/atheros

2012-03-11 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Mar 12 01:23:09 2012 New Revision: 232847 URL: http://svn.freebsd.org/changeset/base/232847 Log: - Rename apb_intr to apb_filter since it's a filter handler - Pass interrupt trapframe for handlers dow the chain - Add PMC interrupt handler PMC interrupt is a spec

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

2012-03-11 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Mar 12 01:19:41 2012 New Revision: 232846 URL: http://svn.freebsd.org/changeset/base/232846 Log: Implement pmc_save_user_callchain and pmc_save_kernel_callchain for MIPS Modified: head/sys/dev/hwpmc/hwpmc_mips.c Modified: head/sys/dev/hwpmc/hwpmc_mips.c ==

svn commit: r232845 - head/sys/mips/conf

2012-03-11 Thread Adrian Chadd
Author: adrian Date: Mon Mar 12 01:15:58 2012 New Revision: 232845 URL: http://svn.freebsd.org/changeset/base/232845 Log: Begin modifying the PB92 config file to actually generate a flashable, bootable image. The kernel has to fit inside an 896KiB area in a 4MB SPI flash. So a bunch of

svn commit: r232844 - head/contrib/ntp/ntpd

2012-03-11 Thread Ed Maste
Author: emaste Date: Mon Mar 12 01:06:29 2012 New Revision: 232844 URL: http://svn.freebsd.org/changeset/base/232844 Log: Remove extraneous log message When ntp switched between PLL and FLL mode it produced a log message "kernel time sync status change %04x". This issue is reported in nt

svn commit: r232842 - head/sys/amd64/amd64

2012-03-11 Thread Alan Cox
Author: alc Date: Mon Mar 12 00:47:13 2012 New Revision: 232842 URL: http://svn.freebsd.org/changeset/base/232842 Log: Simplify the error checking in one branch of trap_pfault() and update the nearby comment. Add missing whitespace to a return statement in trap_pfault(). Submitted by

Re: svn commit: r232839 - head/tools/regression/bin/sh/expansion

2012-03-11 Thread Bjoern A. Zeeb
On 11. Mar 2012, at 22:12 , Jilles Tjoelker wrote: > Author: jilles > Date: Sun Mar 11 22:12:05 2012 > New Revision: 232839 > URL: http://svn.freebsd.org/changeset/base/232839 > > Log: > sh: Add a test for variables with underscores in arithmetic. > > Things like $((_x+1)) are broken in stabl

svn commit: r232841 - head/sbin/init

2012-03-11 Thread Ed Schouten
Author: ed Date: Sun Mar 11 22:30:06 2012 New Revision: 232841 URL: http://svn.freebsd.org/changeset/base/232841 Log: Fix whitespace. MFC after:1 week Modified: head/sbin/init/init.c Modified: head/sbin/init/init.c

svn commit: r232840 - head/sys/mips/conf

2012-03-11 Thread Juli Mallett
Author: jmallett Date: Sun Mar 11 22:17:01 2012 New Revision: 232840 URL: http://svn.freebsd.org/changeset/base/232840 Log: We've supported 64-bit PTEs for some time. Modified: head/sys/mips/conf/SWARM64 head/sys/mips/conf/SWARM64_SMP Modified: head/sys/mips/conf/SWARM64 ==

svn commit: r232839 - head/tools/regression/bin/sh/expansion

2012-03-11 Thread Jilles Tjoelker
Author: jilles Date: Sun Mar 11 22:12:05 2012 New Revision: 232839 URL: http://svn.freebsd.org/changeset/base/232839 Log: sh: Add a test for variables with underscores in arithmetic. Things like $((_x+1)) are broken in stable/8 sh but work in stable/9 and head. Added: head/tools/regres

svn commit: r232838 - stable/8/lib/libc/stdio

2012-03-11 Thread Gavin Atkinson
Author: gavin Date: Sun Mar 11 22:07:41 2012 New Revision: 232838 URL: http://svn.freebsd.org/changeset/base/232838 Log: Merge r216121 from head: Remove two unused variables, left over from the refactoring in r180104. PR: bin/152551 Submitted by: Henning Petersen Modified

svn commit: r232837 - head/sys/ufs/ffs

2012-03-11 Thread Konstantin Belousov
Author: kib Date: Sun Mar 11 21:25:42 2012 New Revision: 232837 URL: http://svn.freebsd.org/changeset/base/232837 Log: Remove superfluous brackets. Submitted by: alc MFC after:2 weeks Modified: head/sys/ufs/ffs/ffs_inode.c Modified: head/sys/ufs/ffs/ffs_inode.c ===

svn commit: r232836 - head/sys/ufs/ffs

2012-03-11 Thread Konstantin Belousov
Author: kib Date: Sun Mar 11 20:26:19 2012 New Revision: 232836 URL: http://svn.freebsd.org/changeset/base/232836 Log: Do schedule delayed writes for async mounts. While there, make some style adjustments, like missed () around return values. Submitted by: bde Reviewed by: mckusick

svn commit: r232835 - head/sys/ufs/ffs

2012-03-11 Thread Konstantin Belousov
Author: kib Date: Sun Mar 11 20:23:46 2012 New Revision: 232835 URL: http://svn.freebsd.org/changeset/base/232835 Log: Do not fall back to slow synchronous i/o when low on memory or buffers. The bawrite() schedules the write to happen immediately, and its use frees the current thread to do m

svn commit: r232834 - head/sys/ufs/ffs

2012-03-11 Thread Konstantin Belousov
Author: kib Date: Sun Mar 11 20:18:14 2012 New Revision: 232834 URL: http://svn.freebsd.org/changeset/base/232834 Log: In ffs_syncvnode(), pass boolean false as second argument of ffs_update(). Synchronous inode block update is not needed for MNT_LAZY callers (syncer), and since waitfor valu

svn commit: r232833 - head/sys/ufs/ffs

2012-03-11 Thread Konstantin Belousov
Author: kib Date: Sun Mar 11 20:15:12 2012 New Revision: 232833 URL: http://svn.freebsd.org/changeset/base/232833 Log: Remove not needed ARGSUSED lint command. Submitted by: bde MFC after:3 days Modified: head/sys/ufs/ffs/ffs_vnops.c Modified: head/sys/ufs/ffs/ffs_vnops.c

svn commit: r232832 - in head/lib/csu: . amd64 arm common i386-elf mips powerpc powerpc64 sparc64

2012-03-11 Thread Konstantin Belousov
Author: kib Date: Sun Mar 11 20:04:09 2012 New Revision: 232832 URL: http://svn.freebsd.org/changeset/base/232832 Log: Stop calling _init/_fini methods from crt1 for dynamic binaries. Do call preinit, init and fini arrays methods from crt1 for static binaries. Mark new crt1 with FreeBSD-

svn commit: r232831 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64

2012-03-11 Thread Konstantin Belousov
Author: kib Date: Sun Mar 11 20:03:09 2012 New Revision: 232831 URL: http://svn.freebsd.org/changeset/base/232831 Log: Add support for preinit, init and fini arrays. Some ABIs, in particular on ARM, do require working init arrays. Traditional FreeBSD crt1 calls _init and _fini of the bin

svn commit: r232830 - head/lib/csu/common

2012-03-11 Thread Konstantin Belousov
Author: kib Date: Sun Mar 11 19:56:58 2012 New Revision: 232830 URL: http://svn.freebsd.org/changeset/base/232830 Log: Add a header with definitions useful for constructing ELF notes. Reviewed by: kan MFC after: 3 weeks Added: head/lib/csu/common/notes.h (contents, props changed)

svn commit: r232828 - head/sys/kern

2012-03-11 Thread Konstantin Belousov
Author: kib Date: Sun Mar 11 19:38:49 2012 New Revision: 232828 URL: http://svn.freebsd.org/changeset/base/232828 Log: ELF image can have several PT_NOTE program headers. Look for the ELF brand note in each header, instead of using only first one. Reviewed by: kan Tested by:andrew

svn commit: r232827 - stable/8/etc

2012-03-11 Thread Gavin Atkinson
Author: gavin Date: Sun Mar 11 19:23:42 2012 New Revision: 232827 URL: http://svn.freebsd.org/changeset/base/232827 Log: Merge r226862 from head: Remove example for linking /dev/vga to /dev/ttyv0, this hasn't been required since X version 4.3.0. PR: conf/161847 Submitt

svn commit: r232826 - stable/9/etc

2012-03-11 Thread Gavin Atkinson
Author: gavin Date: Sun Mar 11 19:23:37 2012 New Revision: 232826 URL: http://svn.freebsd.org/changeset/base/232826 Log: Merge r226862 from head: Remove example for linking /dev/vga to /dev/ttyv0, this hasn't been required since X version 4.3.0. PR: conf/161847 Submitt

svn commit: r232825 - head/sys/netgraph

2012-03-11 Thread Adrian Chadd
Author: adrian Date: Sun Mar 11 19:08:56 2012 New Revision: 232825 URL: http://svn.freebsd.org/changeset/base/232825 Log: Upgrade the netgraph vlan node to support 802.1q, encapsulation type, PCP and CFI fields. * Ethernet_type for VLAN encapsulation is tunable, default is 0x8100; * PCP

svn commit: r232824 - head/sys/net

2012-03-11 Thread Luigi Rizzo
Author: luigi Date: Sun Mar 11 17:35:12 2012 New Revision: 232824 URL: http://svn.freebsd.org/changeset/base/232824 Log: - remove an extra parenthesis in a closing brace; - add the macro NETMAP_RING_FIRST_RESERVED() which returns the index of the first non-released buffer in the ring (

svn commit: r232823 - head/sys/fs/fifofs

2012-03-11 Thread Konstantin Belousov
Author: kib Date: Sun Mar 11 15:58:27 2012 New Revision: 232823 URL: http://svn.freebsd.org/changeset/base/232823 Log: Update comment. Submitted by: gianni Modified: head/sys/fs/fifofs/fifo_vnops.c Modified: head/sys/fs/fifofs/fifo_vnops.c ===

svn commit: r232822 - head/sys/boot/common

2012-03-11 Thread Marius Strobl
Author: marius Date: Sun Mar 11 13:39:19 2012 New Revision: 232822 URL: http://svn.freebsd.org/changeset/base/232822 Log: Fix a bug introduced in r223938; on big-endian machines coping a 32-bit quantum bytewise to the address of a 64-bit variable results in writing to the "wrong" 32-bit half

svn commit: r232821 - in head: . include sys/fs/cd9660 sys/fs/ext2fs sys/fs/fifofs sys/fs/nfs sys/fs/tmpfs sys/fs/udf sys/gnu/fs/xfs/FreeBSD sys/kern sys/nfsclient sys/sys sys/ufs/ufs

2012-03-11 Thread Konstantin Belousov
Author: kib Date: Sun Mar 11 12:19:58 2012 New Revision: 232821 URL: http://svn.freebsd.org/changeset/base/232821 Log: Remove fifo.h. The only used function declaration from the header is migrated to sys/vnode.h. Submitted by: gianni Deleted: head/sys/fs/fifofs/fifo.h Modified: head/

svn commit: r232820 - stable/8/lib/libc/sys

2012-03-11 Thread Konstantin Belousov
Author: kib Date: Sun Mar 11 09:29:02 2012 New Revision: 232820 URL: http://svn.freebsd.org/changeset/base/232820 Log: MFC r232180: Document SO_PROTOCOL socket option. Modified: stable/8/lib/libc/sys/getsockopt.2 Directory Properties: stable/8/lib/libc/ (props changed) stable/8/lib/li

svn commit: r232819 - in stable/8/sys: kern sys

2012-03-11 Thread Konstantin Belousov
Author: kib Date: Sun Mar 11 09:27:09 2012 New Revision: 232819 URL: http://svn.freebsd.org/changeset/base/232819 Log: MFC r232179: Add SO_PROTOCOL/SO_PROTOTYPE socket SOL_SOCKET-level option to get the socket protocol number. PR: kern/162352 Modified: stable/8/sys/kern/uipc_socket

svn commit: r232818 - stable/8/sys/kern

2012-03-11 Thread Konstantin Belousov
Author: kib Date: Sun Mar 11 09:22:05 2012 New Revision: 232818 URL: http://svn.freebsd.org/changeset/base/232818 Log: MFC r232178: Remove apparently redundand checks for socket so_proto being non-NULL from sosetopt() and sogetopt(). Modified: stable/8/sys/kern/uipc_socket.c Directory Pro

svn commit: r232817 - head/sys/conf

2012-03-11 Thread Juli Mallett
Author: jmallett Date: Sun Mar 11 08:12:30 2012 New Revision: 232817 URL: http://svn.freebsd.org/changeset/base/232817 Log: Reenable -Winline on MIPS now that we're not compiling Cavium's error decoding stuff, which is impossibly-huge. Modified: head/sys/conf/kern.mk Modified: head/sys/con