svn commit: r210837 - head/sys/kern

2010-08-03 Thread Alan Cox
Author: alc Date: Wed Aug 4 05:09:02 2010 New Revision: 210837 URL: http://svn.freebsd.org/changeset/base/210837 Log: In order for MAXVNODES_MAX to be an "int" on powerpc and sparc, we must cast PAGE_SIZE to an "int". (Powerpc and sparc, unlike the other architectures, define PAGE_SIZE as

Re: svn commit: r210834 - head/sys/nfsclient

2010-08-03 Thread Rick Macklem
> From: "Rick Macklem" > To: src-committ...@freebsd.org, svn-src-all@freebsd.org, > svn-src-h...@freebsd.org > Sent: Tuesday, August 3, 2010 9:19:11 PM > Subject: svn commit: r210834 - head/sys/nfsclient > Author: rmacklem > Date: Wed Aug 4 01:19:11 2010 > New Revision: 210834 > URL: http://svn.f

svn commit: r210836 - stable/8/sys/dev/arcmsr

2010-08-03 Thread Xin LI
Author: delphij Date: Wed Aug 4 01:36:48 2010 New Revision: 210836 URL: http://svn.freebsd.org/changeset/base/210836 Log: MFC r210358: Apply vendor version 1.20.00.17. This version adds support for ARC1880; additionally this version fixed an issue where all devices on a SAS port get

svn commit: r210835 - stable/7/sys/dev/arcmsr

2010-08-03 Thread Xin LI
Author: delphij Date: Wed Aug 4 01:34:35 2010 New Revision: 210835 URL: http://svn.freebsd.org/changeset/base/210835 Log: MFC r210358: Apply vendor version 1.20.00.17. This version adds support for ARC1880; additionally this version fixed an issue where all devices on a SAS port get

svn commit: r210834 - head/sys/nfsclient

2010-08-03 Thread Rick Macklem
Author: rmacklem Date: Wed Aug 4 01:19:11 2010 New Revision: 210834 URL: http://svn.freebsd.org/changeset/base/210834 Log: Add some mutex locking on the nfsnode to the regular NFS client. Reviewed by: jhb Modified: head/sys/nfsclient/nfs_node.c head/sys/nfsclient/nfs_vnops.c Modifie

svn commit: r210833 - head/sys/dev/coretemp

2010-08-03 Thread Xin LI
Author: delphij Date: Wed Aug 4 00:25:13 2010 New Revision: 210833 URL: http://svn.freebsd.org/changeset/base/210833 Log: Catch known CPUs before using IA32_TEMPERATURE_TARGET. This way we would have an opportunity to hide the Tj(target) value doesn't seem right stuff if we know it's not

svn commit: r210829 - in head: bin/sh tools/regression/bin/sh/builtins

2010-08-03 Thread Jilles Tjoelker
Author: jilles Date: Tue Aug 3 22:17:29 2010 New Revision: 210829 URL: http://svn.freebsd.org/changeset/base/210829 Log: sh: Return 0 from eval if no command was given. This makes a difference if there is a command substitution. To make this work, evalstring() has been changed to set

svn commit: r210828 - stable/7/sys/dev/usb

2010-08-03 Thread Gavin Atkinson
Author: gavin Date: Tue Aug 3 22:06:34 2010 New Revision: 210828 URL: http://svn.freebsd.org/changeset/base/210828 Log: Merge r210515,210516,210543 from head: Prevent ukbd(4) and uhid(4) from attaching when a WiSPY DBx Spectrum Analyzer is attached. [1] Prevent uhid(4) from at

svn commit: r210827 - head/games/grdc

2010-08-03 Thread Ulrich Spoerlein
Author: uqs Date: Tue Aug 3 20:56:23 2010 New Revision: 210827 URL: http://svn.freebsd.org/changeset/base/210827 Log: grdc(6): de-obfuscate the timekeeping of now/delay - 'now' only contains current time readings - delay is only used as parameter to nanosleep - prev_sec contains the ti

svn commit: r210826 - head/share/man/man5

2010-08-03 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Tue Aug 3 19:25:58 2010 New Revision: 210826 URL: http://svn.freebsd.org/changeset/base/210826 Log: Correctly sort usbconfig(8) within the SEE ALSO section. Noticed by: dougb MFC after: 3 days Modified: head/share/man/man5/rc.conf.5 Modified

Re: svn commit: r210812 - head/share/man/man5

2010-08-03 Thread Doug Barton
On 08/03/10 12:07, Benedict Reuschling wrote: On 08/03/10 09:21, Benedict Reuschling wrote: .Xr sh 1 , -.Xr usbconfig 1 , +.Xr usbconfig 8 , .Xr vi 1 , I was going to comment on this bit, but you beat me to it. :) The usbconfig entry needs to be sorted down with the other 8's. The .Xr's

Re: svn commit: r210812 - head/share/man/man5

2010-08-03 Thread Benedict Reuschling
> On 08/03/10 09:21, Benedict Reuschling wrote: >> .Xr sh 1 , >> -.Xr usbconfig 1 , >> +.Xr usbconfig 8 , >> .Xr vi 1 , > > I was going to comment on this bit, but you beat me to it. :) The > usbconfig entry needs to be sorted down with the other 8's. The .Xr's in > the "SEE ALSO" section get

svn commit: r210825 - head/lib/libarchive

2010-08-03 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Aug 3 18:29:58 2010 New Revision: 210825 URL: http://svn.freebsd.org/changeset/base/210825 Log: Fix typo. Modified: head/lib/libarchive/libarchive_internals.3 Modified: head/lib/libarchive/libarchive_internals.3

svn commit: r210824 - in stable/8/sys/dev/usb: . quirk

2010-08-03 Thread Gavin Atkinson
Author: gavin Date: Tue Aug 3 17:47:27 2010 New Revision: 210824 URL: http://svn.freebsd.org/changeset/base/210824 Log: Merge r210515,210516,210543 from head: Prevent ukbd(4) and uhid(4) from attaching when a WiSPY DBx Spectrum Analyzer is attached. [1] Prevent uhid(4) from at

svn commit: r210823 - in head/lib: libbluetooth libdevstat libefi libelf libmemstat libpmc librtld_db libusb libutil

2010-08-03 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Aug 3 17:40:09 2010 New Revision: 210823 URL: http://svn.freebsd.org/changeset/base/210823 Log: Spelling fixes. Modified: head/lib/libbluetooth/bluetooth.3 head/lib/libdevstat/devstat.3 head/lib/libefi/libefi.3 head/lib/libelf/elf_strptr.3 head/

Re: svn commit: r210812 - head/share/man/man5

2010-08-03 Thread Doug Barton
On 08/03/10 09:21, Benedict Reuschling wrote: .Xr sh 1 , -.Xr usbconfig 1 , +.Xr usbconfig 8 , .Xr vi 1 , I was going to comment on this bit, but you beat me to it. :) The usbconfig entry needs to be sorted down with the other 8's. The .Xr's in the "SEE ALSO" section get sorted by sectio

svn commit: r210822 - stable/7/sys/sys

2010-08-03 Thread Fabien Thomas
Author: fabient Date: Tue Aug 3 16:37:29 2010 New Revision: 210822 URL: http://svn.freebsd.org/changeset/base/210822 Log: MFC r209196: Set the comment at the right place for PMC uncore classes. Modified: stable/7/sys/sys/pmc.h Directory Properties: stable/7/sys/ (props changed) stabl

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

2010-08-03 Thread Fabien Thomas
Author: fabient Date: Tue Aug 3 16:35:12 2010 New Revision: 210821 URL: http://svn.freebsd.org/changeset/base/210821 Log: MFC r209196: Set the comment at the right place for PMC uncore classes. Modified: stable/8/sys/sys/pmc.h Directory Properties: stable/8/sys/ (props changed) stabl

svn commit: r210820 - in stable/7/sys: dev/hwpmc sys

2010-08-03 Thread Fabien Thomas
Author: fabient Date: Tue Aug 3 16:31:18 2010 New Revision: 210820 URL: http://svn.freebsd.org/changeset/base/210820 Log: MFC r208861: Convert pm_runcount to int to correctly check for negative value. Remove uncessary check for error. Found with: Coverity Prevent(tm) Modified:

svn commit: r210819 - head/sys/dev/drm

2010-08-03 Thread Oliver Fromme
Author: olli Date: Tue Aug 3 16:30:56 2010 New Revision: 210819 URL: http://svn.freebsd.org/changeset/base/210819 Log: Add support for ATI Radeon HD 4250. PR: kern/149041 Submitted by: olli Reviewed by: rnoland Approved by: des (mentor) MFC after:1 week Modified:

svn commit: r210818 - in stable/8/sys: dev/hwpmc sys

2010-08-03 Thread Fabien Thomas
Author: fabient Date: Tue Aug 3 16:29:54 2010 New Revision: 210818 URL: http://svn.freebsd.org/changeset/base/210818 Log: MFC r208861: Convert pm_runcount to int to correctly check for negative value. Remove uncessary check for error. Found with: Coverity Prevent(tm) Modified:

svn commit: r210817 - stable/7/lib/libpmc

2010-08-03 Thread Fabien Thomas
Author: fabient Date: Tue Aug 3 16:27:13 2010 New Revision: 210817 URL: http://svn.freebsd.org/changeset/base/210817 Log: MFC r208860: Fix memory leak on error. Found with: Coverity Prevent(tm) Modified: stable/7/lib/libpmc/pmclog.c Directory Properties: stable/7/lib/libpmc/

svn commit: r210816 - stable/8/lib/libpmc

2010-08-03 Thread Fabien Thomas
Author: fabient Date: Tue Aug 3 16:26:09 2010 New Revision: 210816 URL: http://svn.freebsd.org/changeset/base/210816 Log: MFC r208860: Fix memory leak on error. Found with: Coverity Prevent(tm) Modified: stable/8/lib/libpmc/pmclog.c Directory Properties: stable/8/lib/libpmc/

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

2010-08-03 Thread Fabien Thomas
Author: fabient Date: Tue Aug 3 16:23:46 2010 New Revision: 210814 URL: http://svn.freebsd.org/changeset/base/210814 Log: MFC r208858: Fix warnings found by Coverity. Found with: Coverity Prevent(tm) Modified: stable/7/usr.sbin/pmcstat/pmcpl_calltree.c stable/7/usr.sbin/pmcstat

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

2010-08-03 Thread Fabien Thomas
Author: fabient Date: Tue Aug 3 16:21:49 2010 New Revision: 210813 URL: http://svn.freebsd.org/changeset/base/210813 Log: MFC r208858: Fix warnings found by Coverity. Found with: Coverity Prevent(tm) Modified: stable/8/usr.sbin/pmcstat/pmcpl_calltree.c stable/8/usr.sbin/pmcstat

svn commit: r210812 - head/share/man/man5

2010-08-03 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Tue Aug 3 16:21:48 2010 New Revision: 210812 URL: http://svn.freebsd.org/changeset/base/210812 Log: Update references from nonexistent usbconfig(1) to usbconfig(8). PR: docs/149221 Submitted by: Lars Hartmann (lars at chaotika dot org) MF

svn commit: r210810 - head/sys/amd64/acpica

2010-08-03 Thread Jung-uk Kim
Author: jkim Date: Tue Aug 3 16:08:58 2010 New Revision: 210810 URL: http://svn.freebsd.org/changeset/base/210810 Log: Remove an unnecessary register load. Modified: head/sys/amd64/acpica/acpi_switch.S Modified: head/sys/amd64/acpica/acpi_switch.S ===

svn commit: r210809 - head/games/grdc

2010-08-03 Thread Ulrich Spoerlein
Author: uqs Date: Tue Aug 3 16:02:57 2010 New Revision: 210809 URL: http://svn.freebsd.org/changeset/base/210809 Log: grdc(6): Partial backout of r210755 The previous revision was flawed in numerous ways: - the if condition would depend on garbage stack values - grdc(6) would loop n ti

svn commit: r210805 - head/sys/net

2010-08-03 Thread Konstantin Belousov
Author: kib Date: Tue Aug 3 15:40:42 2010 New Revision: 210805 URL: http://svn.freebsd.org/changeset/base/210805 Log: Properly set ifi_datalen for compat32 struct if_data32. PR: kern/149240 Submitted by: Stef Walter MFC after:1 weeks Modified: head/sys/net/rtsock.c Modified:

svn commit: r210804 - in head/sys/amd64: acpica amd64

2010-08-03 Thread Jung-uk Kim
Author: jkim Date: Tue Aug 3 15:32:08 2010 New Revision: 210804 URL: http://svn.freebsd.org/changeset/base/210804 Log: savectx() has not been used for fork(2) for about 15 years. [1] Do not clobber FPU thread's PCB as it is more harmful. When we resume CPU, unconditionally reload FPU state

svn commit: r210803 - stable/7/sys/dev/e1000

2010-08-03 Thread George V. Neville-Neil
Author: gnn Date: Tue Aug 3 15:07:38 2010 New Revision: 210803 URL: http://svn.freebsd.org/changeset/base/210803 Log: MFC: 209241, 209512, 210428, 210452 Move statistics into the sysctl tree making it easier to find and use them. Add previously hidden statistics, some of which include

svn commit: r210802 - stable/8/sys/dev/e1000

2010-08-03 Thread George V. Neville-Neil
Author: gnn Date: Tue Aug 3 15:06:31 2010 New Revision: 210802 URL: http://svn.freebsd.org/changeset/base/210802 Log: MFC: 209512 Make sure that all the exposed counters and variables are actually being updated. Pointed out by: jfv Modified: stable/8/sys/dev/e1000/if_igb.c

svn commit: r210797 - head/usr.sbin/pmcstat

2010-08-03 Thread Fabien Thomas
Author: fabient Date: Tue Aug 3 13:46:25 2010 New Revision: 210797 URL: http://svn.freebsd.org/changeset/base/210797 Log: - Do not use the runtime mask when logfile is specified. - Revert the fix on rtld path that is not necessary. MFC after:1 week Modified: head/usr.sbin/pmcstat/

svn commit: r210796 - head/sys/compat/freebsd32

2010-08-03 Thread Konstantin Belousov
Author: kib Date: Tue Aug 3 11:23:44 2010 New Revision: 210796 URL: http://svn.freebsd.org/changeset/base/210796 Log: When compat32 recvmsg(2) does not need to copy out control messages, set msg_controllen to 0. PR: kern/149227 Submitted by: Stef Walter MFC after:1 weeks Modi

svn commit: r210795 - head/sys/geom/sched

2010-08-03 Thread Andrey V. Elsukov
Author: ae Date: Tue Aug 3 11:21:17 2010 New Revision: 210795 URL: http://svn.freebsd.org/changeset/base/210795 Log: Check that gsp is not NULL before access. It can be NULL for some cases. Approved by: kib (mentor) MFC after:1 week Modified: head/sys/geom/sched/g_sched.c Modi

svn commit: r210794 - head/usr.sbin/pmcstat

2010-08-03 Thread Fabien Thomas
Author: fabient Date: Tue Aug 3 09:23:53 2010 New Revision: 210794 URL: http://svn.freebsd.org/changeset/base/210794 Log: 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. client: pmcstat

svn commit: r210793 - head/sbin/fsck_ffs

2010-08-03 Thread Bjoern A. Zeeb
Author: bz Date: Tue Aug 3 09:21:13 2010 New Revision: 210793 URL: http://svn.freebsd.org/changeset/base/210793 Log: One question mark per question; everything else is just exaggerating. reply() will output a '?', when printing the question along with [yn], so no need to have another here.

svn commit: r210792 - head/sys/geom/part

2010-08-03 Thread Andrey V. Elsukov
Author: ae Date: Tue Aug 3 09:10:48 2010 New Revision: 210792 URL: http://svn.freebsd.org/changeset/base/210792 Log: Check that table is not NULL before access, it can be NULL for some cases. Approved by: mav (mentor) MFC after:2 weeks Modified: head/sys/geom/part/g_part.c Mod