svn commit: r212723 - head/sys/compat/linprocfs

2010-09-16 Thread Dag-Erling Smorgrav
Author: des Date: Thu Sep 16 07:56:34 2010 New Revision: 212723 URL: http://svn.freebsd.org/changeset/base/212723 Log: Implement proc/$$/environment. Submitted by: Fernando Apesteguía fernando.apesteg...@gmail.com MFC after:3 weeks Modified: head/sys/compat/linprocfs/linprocfs.c

svn commit: r212724 - head/sbin/fdisk

2010-09-16 Thread Brian Somers
Author: brian Date: Thu Sep 16 08:16:53 2010 New Revision: 212724 URL: http://svn.freebsd.org/changeset/base/212724 Log: Add support for identifying a journaled root filesystem. Fix support for identifying the given /dev/vinum/root example. MFC after:3 weeks Modified:

Re: svn commit: r212374 - head/usr.bin/printf

2010-09-16 Thread David O'Brien
On Thu, Sep 09, 2010 at 12:51:11PM -0700, Juli Mallett wrote: On Thu, Sep 9, 2010 at 12:27, David E. O'Brien obr...@freebsd.org wrote: Author: obrien Date: Thu Sep ?9 19:27:40 2010 New Revision: 212374 URL: http://svn.freebsd.org/changeset/base/212374 Log: ?Note bug in trying to

svn commit: r212725 - in head/sys: dev/gem modules/gem

2010-09-16 Thread Marius Strobl
Author: marius Date: Thu Sep 16 09:29:48 2010 New Revision: 212725 URL: http://svn.freebsd.org/changeset/base/212725 Log: Merge r207585 from cas(4): - Don't probe for PHYs if we already know to use a SERDES. Unlike as with cas(4) this only serves to speed up the the device attach though

svn commit: r212726 - head/sbin/sysctl

2010-09-16 Thread Marko Zec
Author: zec Date: Thu Sep 16 10:53:01 2010 New Revision: 212726 URL: http://svn.freebsd.org/changeset/base/212726 Log: Make the format of Real Memory and Virtual Memory lines more consistent with the rest of sysctl vm.vmtotal output. MFC after:3 days Modified:

svn commit: r212727 - head/usr.bin/kdump

2010-09-16 Thread Rui Paulo
Author: rpaulo Date: Thu Sep 16 11:33:31 2010 New Revision: 212727 URL: http://svn.freebsd.org/changeset/base/212727 Log: When generating functions to print the arguments of system calls with bitwise parameters (e.g. mmap), print the syscall parameter value first. The resulting output looks

Re: svn commit: r212374 - head/usr.bin/printf

2010-09-16 Thread Bruce Evans
On Thu, 16 Sep 2010, David O'Brien wrote: On Thu, Sep 09, 2010 at 12:51:11PM -0700, Juli Mallett wrote: On Thu, Sep 9, 2010 at 12:27, David E. O'Brien obr...@freebsd.org wrote: Author: obrien Date: Thu Sep ?9 19:27:40 2010 New Revision: 212374 URL: http://svn.freebsd.org/changeset/base/212374

svn commit: r212728 - head/usr.bin/kdump

2010-09-16 Thread Rui Paulo
Author: rpaulo Date: Thu Sep 16 11:40:41 2010 New Revision: 212728 URL: http://svn.freebsd.org/changeset/base/212728 Log: Fix indenting of the previous commit. Modified: head/usr.bin/kdump/mksubr Modified: head/usr.bin/kdump/mksubr

svn commit: r212729 - head/sys/boot/sparc64/boot1

2010-09-16 Thread Marius Strobl
Author: marius Date: Thu Sep 16 12:05:00 2010 New Revision: 212729 URL: http://svn.freebsd.org/changeset/base/212729 Log: Merge from powerpc: - Change putc_func_t to use a char instead of an int for the character. - Make functions and variables not used outside of this source file static.

svn commit: r212731 - head/sys/netinet

2010-09-16 Thread Andre Oppermann
Author: andre Date: Thu Sep 16 12:13:06 2010 New Revision: 212731 URL: http://svn.freebsd.org/changeset/base/212731 Log: Improve comment to TCP_MINMSS by taking the wording from lstewart (with a small difference in the last paragraph though) as suggested by jhb. Clarify that the

svn commit: r212732 - in head/sys/dev: ahci mvs siis

2010-09-16 Thread Alexander Motin
Author: mav Date: Thu Sep 16 12:39:50 2010 New Revision: 212732 URL: http://svn.freebsd.org/changeset/base/212732 Log: Fix panic, when due to some kind of congestion on FIS-based switching port multiplier some command triggers false positive timeout, but then completes normally. MFC

Re: svn commit: r212661 - head/sys/dev/aac

2010-09-16 Thread Bruce Evans
On Wed, 15 Sep 2010, Kostik Belousov wrote: On Wed, Sep 15, 2010 at 04:57:15PM +0200, Attilio Rao wrote: 2010/9/15 Kostik Belousov kostik...@gmail.com: On Wed, Sep 15, 2010 at 02:24:21PM +, Attilio Rao wrote: ... Log: ? Fix bogus busying mechanism from cdevsw callbacks: ? - D_TRACKCLOSE

svn commit: r212749 - head/usr.sbin/pciconf

2010-09-16 Thread John Baldwin
Author: jhb Date: Thu Sep 16 16:03:12 2010 New Revision: 212749 URL: http://svn.freebsd.org/changeset/base/212749 Log: Only attempt to list extended capabilities for devices that have a PCI-express capabilities. Non-PCI-express PCI devices may simply ignore the upper bits in a config

svn commit: r212750 - in head/sys: dev/cxgb kern sys vm

2010-09-16 Thread Matthew D Fleming
Author: mdf Date: Thu Sep 16 16:13:12 2010 New Revision: 212750 URL: http://svn.freebsd.org/changeset/base/212750 Log: Re-add r212370 now that the LOR in powerpc64 has been resolved: Add a drain function for struct sysctl_req, and use it for a variety of handlers, some of which had to do

svn commit: r212754 - head/sys/geom/concat

2010-09-16 Thread Alexander Motin
Author: mav Date: Thu Sep 16 17:24:25 2010 New Revision: 212754 URL: http://svn.freebsd.org/changeset/base/212754 Log: Add support for dumping kernel to gconcat. Dumping goes to the component, where dump partition begins. Modified: head/sys/geom/concat/g_concat.c Modified:

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

2010-09-16 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 16 17:32:37 2010 New Revision: 212755 URL: http://svn.freebsd.org/changeset/base/212755 Log: Fix incorrect RX BD producer updates. The producer index was already updated after allocating mbuf so driver had to use the last index instead of using next producer

svn commit: r212757 - head/sys/net

2010-09-16 Thread Jung-uk Kim
Author: jkim Date: Thu Sep 16 18:37:33 2010 New Revision: 212757 URL: http://svn.freebsd.org/changeset/base/212757 Log: Fix a typo in a comment. Submitted by: afiveg Modified: head/sys/net/bpf.c Modified: head/sys/net/bpf.c

svn commit: r212758 - in head/sys/mips/rmi: . dev/nlge dev/xlr

2010-09-16 Thread Jayachandran C.
Author: jchandra Date: Thu Sep 16 19:13:55 2010 New Revision: 212758 URL: http://svn.freebsd.org/changeset/base/212758 Log: Network driver updates. - Move RMI MIPS extension to atomic increment word (LDADDWU) to common header file sys/mips/rmi/rmi_mips_exts.h - Fix xlr_ldaddwu() for

svn commit: r212759 - head/sys/mips/rmi/dev/xlr

2010-09-16 Thread Jayachandran C.
Author: jchandra Date: Thu Sep 16 19:25:24 2010 New Revision: 212759 URL: http://svn.freebsd.org/changeset/base/212759 Log: Update rge.h for r212758 - stats incremented using xlr_ldaddwu should be unsigned int. Modified: head/sys/mips/rmi/dev/xlr/rge.h Modified:

svn commit: r212761 - in head: sys/conf sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/debugger sys/contrib/dev/acpica/events sys/contri...

2010-09-16 Thread Jung-uk Kim
Author: jkim Date: Thu Sep 16 20:08:00 2010 New Revision: 212761 URL: http://svn.freebsd.org/changeset/base/212761 Log: Merge ACPICA 20100915. Added: head/sys/contrib/dev/acpica/hardware/hwpci.c - copied, changed from r212760, vendor-sys/acpica/dist/hardware/hwpci.c

svn commit: r212762 - head/sys/dev/acpi_support

2010-09-16 Thread Jung-uk Kim
Author: jkim Date: Thu Sep 16 20:11:40 2010 New Revision: 212762 URL: http://svn.freebsd.org/changeset/base/212762 Log: Remove an unnecessary hack from ACPICA 20100915 (r212761). Modified: head/sys/dev/acpi_support/acpi_wmi.c Modified: head/sys/dev/acpi_support/acpi_wmi.c

svn commit: r212763 - in head/sys/mips/rmi: . dev/sec

2010-09-16 Thread Jayachandran C.
Author: jchandra Date: Thu Sep 16 20:23:22 2010 New Revision: 212763 URL: http://svn.freebsd.org/changeset/base/212763 Log: RMI security accelerator driver update. - Compile fixes for 9.0, the previous version of this driver was for FreeBSD 6. - Add virtual address field in

svn commit: r212764 - head/sys/dev/alc

2010-09-16 Thread Xin LI
Author: delphij Date: Thu Sep 16 21:06:23 2010 New Revision: 212764 URL: http://svn.freebsd.org/changeset/base/212764 Log: status bits should be 'ed against status to be really functional. Reported by: Jike Song Reviewed by: yongari MFC after:1 week Modified:

Re: svn commit: r212374 - head/usr.bin/printf

2010-09-16 Thread M. Warner Losh
In message: aanlktimjfexdp_9caoqbg3wpxpbglrutdzbw+xm6v...@mail.gmail.com Juli Mallett jmall...@freebsd.org writes: : On Thu, Sep 16, 2010 at 04:36, Bruce Evans b...@optusnet.com.au wrote: : WHat about the lesser burder on a character or two for putting -- in the : synopsis where it

svn commit: r212769 - head/share/man/man4

2010-09-16 Thread Andre Oppermann
Author: andre Date: Thu Sep 16 22:11:55 2010 New Revision: 212769 URL: http://svn.freebsd.org/changeset/base/212769 Log: The inflight bandwidth limiter was removed in r212765. Modified: head/share/man/man4/tcp.4 Modified: head/share/man/man4/tcp.4

svn commit: r212770 - head/usr.bin/script

2010-09-16 Thread David E. O'Brien
Author: obrien Date: Thu Sep 16 22:31:03 2010 New Revision: 212770 URL: http://svn.freebsd.org/changeset/base/212770 Log: + Add the SCRIPT environmental variable to the sub-shell. Its value is the name of the typescript file. + Add the 'command' argument (if supplied on the command line)

svn commit: r212771 - head/usr.bin/ruptime

2010-09-16 Thread David E. O'Brien
Author: obrien Date: Thu Sep 16 22:38:27 2010 New Revision: 212771 URL: http://svn.freebsd.org/changeset/base/212771 Log: Increase the hostname display width. Many machines are named with 12 characters. This still allows for 80 column output with load averages of 99.99, 99.99, 99.99.

Re: svn commit: r212374 - head/usr.bin/printf

2010-09-16 Thread Jilles Tjoelker
On Thu, Sep 16, 2010 at 01:10:33PM -0700, Juli Mallett wrote: On Thu, Sep 16, 2010 at 04:36, Bruce Evans b...@optusnet.com.au wrote: WHat about the lesser burder on a character or two for putting -- in the synopsis where it is more visible:        printf [--] format [arguments ...]

svn commit: r212772 - head/sys/dev/mps

2010-09-16 Thread Kenneth D. Merry
Author: ken Date: Thu Sep 16 22:54:56 2010 New Revision: 212772 URL: http://svn.freebsd.org/changeset/base/212772 Log: MFp4 (//depot/projects/mps/...): According to the MPT2 spec, task management commands are serialized, and so no I/O should start while task management commands are

svn commit: r212773 - head/sys/dev/aac

2010-09-16 Thread Ed Maste
Author: emaste Date: Thu Sep 16 23:33:24 2010 New Revision: 212773 URL: http://svn.freebsd.org/changeset/base/212773 Log: Use device_printf where possible, and otherwise at least include the driver name in printf strings. Reported by: Mark Johnston Modified: head/sys/dev/aac/aac.c

Re: svn commit: r212374 - head/usr.bin/printf

2010-09-16 Thread David O'Brien
On Thu, Sep 09, 2010 at 09:53:02PM +0200, Jilles Tjoelker wrote: On Thu, Sep 09, 2010 at 07:27:40PM +, David E. O'Brien wrote: +.Pp +Trying to print a dash (-) as the first character causes +.Nm +to interpet the dash as a program argument. +.Nm -- +must be used before +.Ar

Re: svn commit: r212374 - head/usr.bin/printf

2010-09-16 Thread David O'Brien
On Thu, Sep 16, 2010 at 09:36:43PM +1000, Bruce Evans wrote: On Thu, 16 Sep 2010, David O'Brien wrote: Is a sentence or two a burden to the man page vs. saving someone the time I spent trying to figure out why printf(1) kept throwing up errors? WHat about the lesser burder on a character or

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

2010-09-16 Thread Andrew Thompson
Author: thompsa Date: Fri Sep 17 01:13:48 2010 New Revision: 212775 URL: http://svn.freebsd.org/changeset/base/212775 Log: Make a note of which platforms the mac strings come from. Suggested by: adrian Modified: head/sys/mips/atheros/ar71xx_machdep.c Modified:

svn commit: r212776 - head/sys/mips/include

2010-09-16 Thread Neel Natu
Author: neel Date: Fri Sep 17 02:14:21 2010 New Revision: 212776 URL: http://svn.freebsd.org/changeset/base/212776 Log: Get rid of unused macros. Modified: head/sys/mips/include/cpuregs.h Modified: head/sys/mips/include/cpuregs.h

svn commit: r212777 - in head/sys/mips: include mips

2010-09-16 Thread Neel Natu
Author: neel Date: Fri Sep 17 02:20:12 2010 New Revision: 212777 URL: http://svn.freebsd.org/changeset/base/212777 Log: Get rid of the unnecessary redirection of 'is_cacheable_mem()' to 'is_physical_memory()' through a macro. Implement 'is_cacheable_mem()' directly instead. Modified:

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

2010-09-16 Thread Carlos A. M. dos Santos
On Thu, Sep 16, 2010 at 5:44 AM, Brian Somers br...@freebsd.org wrote: On Tue, 14 Sep 2010 18:04:05 + (UTC) Kirk McKusick mckus...@freebsd.org wrote: Author: mckusick Date: Tue Sep 14 18:04:05 2010 New Revision: 212617 URL: http://svn.freebsd.org/changeset/base/212617 Log:   Update

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

2010-09-16 Thread Doug Barton
On 9/16/2010 7:29 PM, Carlos A. M. dos Santos wrote: On Thu, Sep 16, 2010 at 5:44 AM, Brian Somersbr...@freebsd.org wrote: If INVARIANTS is not defined, the above i++ will not happen. Which does not cause any harm, since i is a local variable, not used anywhere else in the function. A picky

svn commit: r212778 - head/sys/x86/isa

2010-09-16 Thread Alexander Motin
Author: mav Date: Fri Sep 17 04:48:50 2010 New Revision: 212778 URL: http://svn.freebsd.org/changeset/base/212778 Log: Add one-shot mode support to attimer (i8254) event timer. Unluckily, using one-shot mode is impossible, when same hardware used for time counting. Introduce new tunable