svn commit: r211092 - stable/8/usr.sbin/fifolog/lib

2010-08-09 Thread Ulrich Spoerlein
Author: uqs Date: Mon Aug 9 07:58:32 2010 New Revision: 211092 URL: http://svn.freebsd.org/changeset/base/211092 Log: MFC r210930: Typo fixes PR: docs/149314 Submitted by: olgeni Modified: stable/8

Re: svn commit: r211023 - head/usr.sbin/syslogd

2010-08-09 Thread Bruce Evans
On Mon, 9 Aug 2010, Jilles Tjoelker wrote: On Sun, Aug 08, 2010 at 03:36:08PM -0600, M. Warner Losh wrote: The casting that syslogd does with struct sockaddrFOO is what triggers it. I'm not sure how to fix it, so there's about 6 or 8 programs in the tree that have WARNS lowered to 3 because

Re: svn commit: r211023 - head/usr.sbin/syslogd

2010-08-09 Thread Dag-Erling Smørgrav
Jilles Tjoelker writes: > In other cases, I propose adding a cast to void * in between, like > (struct sockaddr_in *)(void *)ai->ai_addr Better to cast through uintptr_t. Perhaps we should have a __DECONST-like macro for this? #define __ALIGNED_CAST(t, v) ((t)(uintptr_t)(v)) DES -- Dag-Erli

svn commit: r211094 - head/games/fortune/datfiles

2010-08-09 Thread Max Khon
Author: fjoe Date: Mon Aug 9 09:26:17 2010 New Revision: 211094 URL: http://svn.freebsd.org/changeset/base/211094 Log: "whereis netscape" gives empty output for quite a long time already. Suggest to use "whereis firefox" instead. Modified: head/games/fortune/datfiles/freebsd-tips Modified

Re: svn commit: r208165 - in head/sys: kern mips/conf mips/include mips/mips mips/rmi mips/rmi/dev/xlr

2010-08-09 Thread Attilio Rao
2010/8/9 Jayachandran C. : > On Mon, Aug 9, 2010 at 5:31 AM, Attilio Rao wrote: >> 2010/5/16 Randall Stewart : >>> Author: rrs >>> Date: Sun May 16 19:43:48 2010 >>> New Revision: 208165 >>> URL: http://svn.freebsd.org/changeset/base/208165 >>> >>> Log: >>>  This pushes all of JC's patches that I

Re: svn commit: r211021 - head/sys/dev/usb

2010-08-09 Thread Gavin Atkinson
On Sun, 8 Aug 2010, M. Warner Losh wrote: > In message: > Gavin Atkinson writes: > : On Sat, 7 Aug 2010, M. Warner Losh wrote: > : > In message: <201008071608.o77g8bnn088...@svn.freebsd.org> > : > Gavin Atkinson writes: > : > : Author: gavin > : > : Date: Sat Aug 7 16:08

svn commit: r211095 - in head: sbin/iscontrol sys/dev/iscsi/initiator

2010-08-09 Thread Dag-Erling Smorgrav
Author: des Date: Mon Aug 9 12:36:36 2010 New Revision: 211095 URL: http://svn.freebsd.org/changeset/base/211095 Log: - Add full support for header / data digests. - Increase target limit from 4 to 64; this limit will be removed entirely at a later time. - Improve recovery from lost net

svn commit: r211096 - stable/8/usr.sbin/pmcstat

2010-08-09 Thread Fabien Thomas
Author: fabient Date: Mon Aug 9 14:25:58 2010 New Revision: 211096 URL: http://svn.freebsd.org/changeset/base/211096 Log: MFC r210766: Fix the calltree top view that incorrectly filter out some nodes. Modified: stable/8/usr.sbin/pmcstat/pmcpl_calltree.c Directory Properties: stable/8/usr

svn commit: r211097 - stable/7/usr.sbin/pmcstat

2010-08-09 Thread Fabien Thomas
Author: fabient Date: Mon Aug 9 14:26:52 2010 New Revision: 211097 URL: http://svn.freebsd.org/changeset/base/211097 Log: MFC r210766: Fix the calltree top view that incorrectly filter out some nodes. Modified: stable/7/usr.sbin/pmcstat/pmcpl_calltree.c Directory Properties: stable/7/usr

Re: svn commit: r208165 - in head/sys: kern mips/conf mips/include mips/mips mips/rmi mips/rmi/dev/xlr

2010-08-09 Thread Jayachandran C.
On Mon, Aug 9, 2010 at 5:35 PM, Attilio Rao wrote: > 2010/8/9 Jayachandran C. : >> On Mon, Aug 9, 2010 at 5:31 AM, Attilio Rao wrote: >>> 2010/5/16 Randall Stewart : Author: rrs Date: Sun May 16 19:43:48 2010 New Revision: 208165 URL: http://svn.freebsd.org/changeset/base/2081

svn commit: r211098 - stable/8/usr.sbin/pmcstat

2010-08-09 Thread Fabien Thomas
Author: fabient Date: Mon Aug 9 14:29:23 2010 New Revision: 211098 URL: http://svn.freebsd.org/changeset/base/211098 Log: MFC r210794: Allow file as a top source, it works with socket now. This will allow top monitoring using socket/ssh tunnelling of system without local symbols. cli

svn commit: r211099 - stable/7/usr.sbin/pmcstat

2010-08-09 Thread Fabien Thomas
Author: fabient Date: Mon Aug 9 14:30:45 2010 New Revision: 211099 URL: http://svn.freebsd.org/changeset/base/211099 Log: MFC r210794: Allow file as a top source, it works with socket now. This will allow top monitoring using socket/ssh tunnelling of system without local symbols. cli

svn commit: r211100 - stable/8/usr.sbin/pmcstat

2010-08-09 Thread Fabien Thomas
Author: fabient Date: Mon Aug 9 14:32:45 2010 New Revision: 211100 URL: http://svn.freebsd.org/changeset/base/211100 Log: MFC r210797: - Do not use the runtime mask when logfile is specified. - Revert the fix on rtld path that is not necessary. Modified: stable/8/usr.sbin/pmcstat/pmcs

svn commit: r211101 - stable/7/usr.sbin/pmcstat

2010-08-09 Thread Fabien Thomas
Author: fabient Date: Mon Aug 9 14:33:25 2010 New Revision: 211101 URL: http://svn.freebsd.org/changeset/base/211101 Log: MFC r210797: - Do not use the runtime mask when logfile is specified. - Revert the fix on rtld path that is not necessary. Modified: stable/7/usr.sbin/pmcstat/pmcs

svn commit: r211102 - head/sys/kern

2010-08-09 Thread Gavin Atkinson
Author: gavin Date: Mon Aug 9 14:48:31 2010 New Revision: 211102 URL: http://svn.freebsd.org/changeset/base/211102 Log: Add descriptions to a handful of sysctl nodes. PR: kern/148580 Submitted by: Galimov Albert MFC after:1 week Modified: head/sys/kern/init_main.c h

Re: svn commit: r211023 - head/usr.sbin/syslogd

2010-08-09 Thread M. Warner Losh
In message: <86tyn4tbuc@ds4.des.no> Dag-Erling Smørgrav writes: : Jilles Tjoelker writes: : > In other cases, I propose adding a cast to void * in between, like : > (struct sockaddr_in *)(void *)ai->ai_addr : : Better to cast through uintptr_t. Perhaps we should have a : __DEC

Re: svn commit: r211021 - head/sys/dev/usb

2010-08-09 Thread M. Warner Losh
In message: Gavin Atkinson writes: : On Sun, 8 Aug 2010, M. Warner Losh wrote: : > In message: : > Gavin Atkinson writes: : > : On Sat, 7 Aug 2010, M. Warner Losh wrote: : > : > In message: <201008071608.o77g8bnn088...@svn.freebsd.org> : > : > Gavin Atkinson

svn commit: r211103 - head/sys/dev/mii

2010-08-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 9 17:22:14 2010 New Revision: 211103 URL: http://svn.freebsd.org/changeset/base/211103 Log: Add F1 PHY found on Atheros AR8151 v2.0 PCIe gigabit ethernet controller. Modified: head/sys/dev/mii/atphy.c head/sys/dev/mii/miidevs Modified: head/sys/dev/mii/atph

svn commit: r211104 - head/sys/dev/usb

2010-08-09 Thread Gavin Atkinson
Author: gavin Date: Mon Aug 9 17:27:27 2010 New Revision: 211104 URL: http://svn.freebsd.org/changeset/base/211104 Log: Add entries for some devices I have locally. Modified: head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/usbdevs

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

2010-08-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 9 17:28:08 2010 New Revision: 211105 URL: http://svn.freebsd.org/changeset/base/211105 Log: Add support for Atheros AR8151/AR8152 PCIe gigabit/fast ethernet controller. These controllers are known as L1D(AR8151) and L2CB/B2(AR8152). This change adds supports fo

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

2010-08-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 9 17:33:03 2010 New Revision: 211106 URL: http://svn.freebsd.org/changeset/base/211106 Log: Document newly added controller AR8151 and AR8152. Modified: head/share/man/man4/alc.4 Modified: head/share/man/man4/alc.4 ==

svn commit: r211107 - head/tools/regression/fstest/tests

2010-08-09 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Aug 9 17:34:57 2010 New Revision: 211107 URL: http://svn.freebsd.org/changeset/base/211107 Log: No need to use grep to check if path start with /. Suggested by: ed Modified: head/tools/regression/fstest/tests/misc.sh Modified: head/tools/regression/fstest/tests/mi

svn commit: r211108 - head/tools/regression/fstest/tests

2010-08-09 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Aug 9 17:37:29 2010 New Revision: 211108 URL: http://svn.freebsd.org/changeset/base/211108 Log: Small tweaks. Modified: head/tools/regression/fstest/tests/conf head/tools/regression/fstest/tests/misc.sh Modified: head/tools/regression/fstest/tests/conf ==

Re: svn commit: r208165 - in head/sys: kern mips/conf mips/include mips/mips mips/rmi mips/rmi/dev/xlr

2010-08-09 Thread M. Warner Losh
In message: "Jayachandran C." writes: :        top->cg_level = CG_SHARE_NONE; : : >>> : >>> ... and this is why I particulary hate big commits with complete lack : >>> of technical details. : >>> : >>> This particulary chunk was supposed to fix a nasty and completely MI : >>

svn commit: r211109 - head/tools/regression/fstest/tests

2010-08-09 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Aug 9 17:40:59 2010 New Revision: 211109 URL: http://svn.freebsd.org/changeset/base/211109 Log: Fix file system type detection on Solaris. Modified: head/tools/regression/fstest/tests/conf Modified: head/tools/regression/fstest/tests/conf ==

svn commit: r211110 - head/tools/regression/fstest

2010-08-09 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Aug 9 17:42:04 2010 New Revision: 20 URL: http://svn.freebsd.org/changeset/base/20 Log: Fix bind(2) and connect(2) support on Solaris. Modified: head/tools/regression/fstest/fstest.c Modified: head/tools/regression/fstest/fstest.c ==

svn commit: r211111 - head/sys/dev/usb/serial

2010-08-09 Thread Gavin Atkinson
Author: gavin Date: Mon Aug 9 17:42:05 2010 New Revision: 21 URL: http://svn.freebsd.org/changeset/base/21 Log: Attempt to autodetect the cype of chipset, rather than storing this within the device table. This code uses the same algorithm as used in the Linux, NetBSD and DragonflyB

svn commit: r211112 - head/sys/compat/x86bios

2010-08-09 Thread Jung-uk Kim
Author: jkim Date: Mon Aug 9 17:54:26 2010 New Revision: 22 URL: http://svn.freebsd.org/changeset/base/22 Log: Reduce diffs between VM86 and X86EMU wrappers for x86bios_alloc() and x86bios_free(). Add strict sanity checks for VM86 wrapper and add strict page table locking for X86EM

svn commit: r211113 - head/sys/teken

2010-08-09 Thread Ed Schouten
Author: ed Date: Mon Aug 9 18:07:15 2010 New Revision: 23 URL: http://svn.freebsd.org/changeset/base/23 Log: Make ^L with cons25 and origin mode bit more sane. Even though cons25 normally doesn't support origin regions, this emulator does allow you to do it. It makes more sense t

svn commit: r211114 - head/sys/compat/x86bios

2010-08-09 Thread Jung-uk Kim
Author: jkim Date: Mon Aug 9 18:10:32 2010 New Revision: 24 URL: http://svn.freebsd.org/changeset/base/24 Log: Initialize a variable just before its use. Modified: head/sys/compat/x86bios/x86bios.c Modified: head/sys/compat/x86bios/x86bios.c =

svn commit: r211115 - head/sys/netinet6

2010-08-09 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 9 19:53:24 2010 New Revision: 25 URL: http://svn.freebsd.org/changeset/base/25 Log: MFp4 CH180235: Add proto spacers to inet6sw like we have for legacy IP. This allows us to dynamically pf_proto_register() for INET6 from modules, needed by upcoming CARP

svn commit: r211116 - head/tools/regression/fstest

2010-08-09 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Aug 9 20:16:52 2010 New Revision: 26 URL: http://svn.freebsd.org/changeset/base/26 Log: Linux has no strlcpy(). Modified: head/tools/regression/fstest/fstest.c Modified: head/tools/regression/fstest/fstest.c =

svn commit: r211117 - in head/sys: amd64/amd64 i386/i386

2010-08-09 Thread Attilio Rao
Author: attilio Date: Mon Aug 9 20:25:06 2010 New Revision: 27 URL: http://svn.freebsd.org/changeset/base/27 Log: Simplify the logic for handling ipi_selected() and ipi_cpu() in the amd64/i386 case. Reviewed by: jhb Tested by:gianni MFC after:1 month X-MFC:

Re: svn commit: r211023 - head/usr.sbin/syslogd

2010-08-09 Thread Dag-Erling Smørgrav
"M. Warner Losh" writes: > I like the idea of a macro. Why is a cast through uintptr_t better? Without the uintptr_t cast, you'll get an error, or at least a warning, if the pointer is qualified (const and / or volatile). DES -- Dag-Erling Smørgrav - d...@des.no ___

svn commit: r211120 - head/sys/compat/x86bios

2010-08-09 Thread Jung-uk Kim
Author: jkim Date: Mon Aug 9 22:06:08 2010 New Revision: 211120 URL: http://svn.freebsd.org/changeset/base/211120 Log: Tidy up printf() calls for debugging. Modified: head/sys/compat/x86bios/x86bios.c Modified: head/sys/compat/x86bios/x86bios.c ==

svn commit: r211123 - head/sys/kern

2010-08-09 Thread Ivan Voras
Author: ivoras Date: Mon Aug 9 22:22:46 2010 New Revision: 211123 URL: http://svn.freebsd.org/changeset/base/211123 Log: Elaborate on how hirunningspace was chosen. Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c ==

svn commit: r211126 - head/sys/kern

2010-08-09 Thread Ivan Voras
Author: ivoras Date: Mon Aug 9 22:56:10 2010 New Revision: 211126 URL: http://svn.freebsd.org/changeset/base/211126 Log: Bumping the read-ahead count once more, to value equivalent to 512 KiB on most system, based on benchmark results on a low-end fibre channel SAN under VMWare: vfs.re

svn commit: r211129 - head/sys/kern

2010-08-09 Thread Ivan Voras
Author: ivoras Date: Mon Aug 9 23:32:37 2010 New Revision: 211129 URL: http://svn.freebsd.org/changeset/base/211129 Log: Fix (hopefully) the spelling of "queuing." Submitted by: bf1783 at gmail com Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c

svn commit: r211130 - head/libexec/rtld-elf/mips

2010-08-09 Thread Neel Natu
Author: neel Date: Tue Aug 10 05:15:35 2010 New Revision: 211130 URL: http://svn.freebsd.org/changeset/base/211130 Log: Fix compilation error for 64-bit little endian build: libexec/rtld-elf/mips/reloc.c:196: warning: right shift count >= width of type When the expression '(r_info) >> 32'

svn commit: r211131 - head/sys/compat/x86bios

2010-08-09 Thread Jung-uk Kim
Author: jkim Date: Tue Aug 10 06:25:08 2010 New Revision: 211131 URL: http://svn.freebsd.org/changeset/base/211131 Log: Tidy up locking and memory allocation for the real mode emulator wrapper. Now we use a regular mutex instead of a spin mutex. When we enter and exit the emulator, spinlock

Re: svn commit: r211130 - head/libexec/rtld-elf/mips

2010-08-09 Thread Stefan Farfeleder
On Tue, Aug 10, 2010 at 05:15:35AM +, Neel Natu wrote: > Author: neel > Date: Tue Aug 10 05:15:35 2010 > New Revision: 211130 > URL: http://svn.freebsd.org/changeset/base/211130 > > Log: > Fix compilation error for 64-bit little endian build: > libexec/rtld-elf/mips/reloc.c:196: warning: r

svn commit: r211132 - head/usr.bin/indent

2010-08-09 Thread Kevin Lo
Author: kevlo Date: Tue Aug 10 06:58:12 2010 New Revision: 211132 URL: http://svn.freebsd.org/changeset/base/211132 Log: Use NULL instead of 0 when setting up pointer. Modified: head/usr.bin/indent/indent.c Modified: head/usr.bin/indent/indent.c ==