svn commit: r210597 - head/sys/dev/pci

2010-07-29 Thread Neel Natu
Author: neel Date: Thu Jul 29 06:27:41 2010 New Revision: 210597 URL: http://svn.freebsd.org/changeset/base/210597 Log: Fix 'pciconf -a' by providing an implementation of PCIOCATTACHED. Reviewed by: imp MFC after:1 week Pointed out by: Heymian Wong (heymian at mit.alum.edu)

svn commit: r210598 - stable/8/lib/libc/compat-43

2010-07-29 Thread Konstantin Belousov
Author: kib Date: Thu Jul 29 09:20:08 2010 New Revision: 210598 URL: http://svn.freebsd.org/changeset/base/210598 Log: MFC r210370: Verify return value of the sigset manipulation functions to catch invalid signal numbers. Modified: stable/8/lib/libc/compat-43/sigcompat.c Directory

svn commit: r210599 - head/sys/netinet

2010-07-29 Thread Randall Stewart
Author: rrs Date: Thu Jul 29 11:37:04 2010 New Revision: 210599 URL: http://svn.freebsd.org/changeset/base/210599 Log: PR SCTP Bugs. Basically a full sized frame of PR SCTP FWD-TSN's would not be sent and thus cause a stalled connection. Also the rwnd Calculation was also off on the

svn commit: r210600 - head/sys/netinet

2010-07-29 Thread Randall Stewart
Author: rrs Date: Thu Jul 29 12:01:59 2010 New Revision: 210600 URL: http://svn.freebsd.org/changeset/base/210600 Log: Fix the comment block that has the nice table to really have the nice table :-) MFC after:1 month Modified: head/sys/netinet/sctp_output.c Modified:

svn commit: r210601 - in head/sys: conf sparc64/include sparc64/sparc64 sun4v/include sun4v/sun4v

2010-07-29 Thread Alexander Motin
Author: mav Date: Thu Jul 29 12:08:46 2010 New Revision: 210601 URL: http://svn.freebsd.org/changeset/base/210601 Log: Adapt sparc64 and sun4v timer code for the new event timers infrastructure. Reviewed by: marius@ Modified: head/sys/conf/files.sparc64 head/sys/conf/files.sun4v

Re: svn commit: r210578 - head/usr.bin/grep

2010-07-29 Thread Jilles Tjoelker
On Thu, Jul 29, 2010 at 12:11:14AM +, Gabor Kovesdan wrote: Author: gabor Date: Thu Jul 29 00:11:14 2010 New Revision: 210578 URL: http://svn.freebsd.org/changeset/base/210578 Log: - Some improvements on the exiting code, like replacing memcpy with strlcpy/strcpy Hmm, I don't

svn commit: r210604 - head/sys/dev/ipmi

2010-07-29 Thread John Baldwin
Author: jhb Date: Thu Jul 29 13:46:37 2010 New Revision: 210604 URL: http://svn.freebsd.org/changeset/base/210604 Log: Fix test for double-nul characters that terminate the string table at the end of each SMBIOS/DMI structure. Submitted by: Dmitrij Tejblum @ yandex.ru MFC after:3

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

2010-07-29 Thread Jayachandran C.
Author: jchandra Date: Thu Jul 29 13:52:46 2010 New Revision: 210605 URL: http://svn.freebsd.org/changeset/base/210605 Log: Fix RQB_FFS for 64 bit, we need to use ffsl() for 64bit. Use 'ifdef __mips_n64' instead of 'if defined' to be consistant with other usage. Modified:

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

2010-07-29 Thread Jayachandran C.
Author: jchandra Date: Thu Jul 29 14:04:29 2010 New Revision: 210606 URL: http://svn.freebsd.org/changeset/base/210606 Log: Update MIPS _stdint.h for 64 bit. Initial 64 bit changes for profile.h. Modified: head/sys/mips/include/_stdint.h head/sys/mips/include/profile.h Modified:

svn commit: r210608 - stable/8/sys/compat/linux

2010-07-29 Thread Alexander Leidinger
Author: netchild Date: Thu Jul 29 14:23:58 2010 New Revision: 210608 URL: http://svn.freebsd.org/changeset/base/210608 Log: MFC r200107,200109-200110,202364,202376,205678,207569: Merge linux emulation parts for video4linux support (requires a native v4l device, e.g. something which works

svn commit: r210609 - head/sbin/devd

2010-07-29 Thread Ulf Lilleengen
Author: lulf Date: Thu Jul 29 16:01:10 2010 New Revision: 210609 URL: http://svn.freebsd.org/changeset/base/210609 Log: - Remove unused instance of string. Modified: head/sbin/devd/devd.cc Modified: head/sbin/devd/devd.cc

svn commit: r210610 - head/sbin/devd

2010-07-29 Thread Ulf Lilleengen
Author: lulf Date: Thu Jul 29 16:06:40 2010 New Revision: 210610 URL: http://svn.freebsd.org/changeset/base/210610 Log: - Avoid calling the copy constructor when it is not necessary. Modified: head/sbin/devd/devd.cc Modified: head/sbin/devd/devd.cc

svn commit: r210611 - head/sys/kern

2010-07-29 Thread Rui Paulo
Author: rpaulo Date: Thu Jul 29 16:13:26 2010 New Revision: 210611 URL: http://svn.freebsd.org/changeset/base/210611 Log: Bump the witness pendlist to 768 to accomodate the increased number of spinlocks. Modified: head/sys/kern/subr_witness.c Modified: head/sys/kern/subr_witness.c

svn commit: r210612 - head/share/mk

2010-07-29 Thread Rui Paulo
Author: rpaulo Date: Thu Jul 29 16:30:27 2010 New Revision: 210612 URL: http://svn.freebsd.org/changeset/base/210612 Log: When building WITH_CTF=1, print the ctf executable that's going to be run. This makes the 'ctfconvert' and 'ctfmerge' programs show up during a build when compiling a

svn commit: r210613 - head/bin/kill

2010-07-29 Thread Jilles Tjoelker
Author: jilles Date: Thu Jul 29 16:40:45 2010 New Revision: 210613 URL: http://svn.freebsd.org/changeset/base/210613 Log: kill: Stop processing if a syntactically invalid pid is encountered. So a command like kill _HUP 1 now fails without sending SIGTERM to init. The behaviour

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

2010-07-29 Thread Jung-uk Kim
Author: jkim Date: Thu Jul 29 16:41:21 2010 New Revision: 210614 URL: http://svn.freebsd.org/changeset/base/210614 Log: Rename PCB_USER_FPU to PCB_USERFPU not to clash with a macro from fpu.h. Modified: head/sys/amd64/acpica/acpi_switch.S head/sys/amd64/amd64/cpu_switch.S

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

2010-07-29 Thread Jung-uk Kim
Author: jkim Date: Thu Jul 29 16:49:20 2010 New Revision: 210615 URL: http://svn.freebsd.org/changeset/base/210615 Log: Fix another fallout from r208833. savectx() is used to save CPU context for crash dump (dumppcb) and kdb (stoppcbs). For both cases, there cannot have a valid pointer in

svn commit: r210616 - stable/8/bin/sh

2010-07-29 Thread Jilles Tjoelker
Author: jilles Date: Thu Jul 29 16:55:27 2010 New Revision: 210616 URL: http://svn.freebsd.org/changeset/base/210616 Log: MFC r208881: sh: Pass through SIGINT if interactive and job control is enabled. This already worked if without job control. In either case, this depends on it

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

2010-07-29 Thread Jung-uk Kim
Author: jkim Date: Thu Jul 29 17:00:41 2010 New Revision: 210617 URL: http://svn.freebsd.org/changeset/base/210617 Log: MFamd64: r210615 Fix another fallout from r208833. savectx() is used to save CPU context for crash dump (dumppcb) and kdb (stoppcbs). For both cases, we cannot

svn commit: r210620 - head/sys/x86/acpica

2010-07-29 Thread John Baldwin
Author: jhb Date: Thu Jul 29 17:37:35 2010 New Revision: 210620 URL: http://svn.freebsd.org/changeset/base/210620 Log: When performing a sanity check on the SRAT table to ensure that each memory domain has an assigned CPU, ignore disabled CPUs. Previously disabled CPUs were counted as

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

2010-07-29 Thread George V. Neville-Neil
Author: gnn Date: Thu Jul 29 17:52:23 2010 New Revision: 210621 URL: http://svn.freebsd.org/changeset/base/210621 Log: Make sure that we clear the correct bits when we turn off a PMC. It was possible that we could have turned a bit on but never cleared it. Extend the calls to rdmsr()

svn commit: r210622 - in head/usr.bin/grep: . nls

2010-07-29 Thread Gabor Kovesdan
Author: gabor Date: Thu Jul 29 18:02:57 2010 New Revision: 210622 URL: http://svn.freebsd.org/changeset/base/210622 Log: - Some minor changes to the messages to increase usefulness of error msgs Reviewed by: hrs (Japanese catalogs), pluknet pluknet at gmail dot com

svn commit: r210623 - in head/sys: amd64/include i386/include ia64/include

2010-07-29 Thread John Baldwin
Author: jhb Date: Thu Jul 29 18:44:10 2010 New Revision: 210623 URL: http://svn.freebsd.org/changeset/base/210623 Log: Mark the __curthread() functions as __pure2 and remove the volatile keyword from the inline assembly. This allows the compiler to cache invocations of curthread since it's

svn commit: r210624 - in head/sys: amd64/include dev/coretemp i386/include

2010-07-29 Thread Xin LI
Author: delphij Date: Thu Jul 29 19:08:22 2010 New Revision: 210624 URL: http://svn.freebsd.org/changeset/base/210624 Log: Improve cputemp(4) driver wrt newer Intel processors, especially Xeon 5500/5600 series: - Utilize IA32_TEMPERATURE_TARGET, a.k.a. Tj(target) in place of

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

2010-07-29 Thread Jayachandran C.
Author: jchandra Date: Thu Jul 29 19:14:06 2010 New Revision: 210625 URL: http://svn.freebsd.org/changeset/base/210625 Log: MIPS 64 bit support. Define fuword64() for n64 compilation, fuword() should be fuword64() in 64 bit. Modified: head/sys/mips/mips/support.S Modified:

Re: svn commit: r210623 - in head/sys: amd64/include i386/include ia64/include

2010-07-29 Thread John Baldwin
On Thursday, July 29, 2010 2:44:10 pm John Baldwin wrote: Author: jhb Date: Thu Jul 29 18:44:10 2010 New Revision: 210623 URL: http://svn.freebsd.org/changeset/base/210623 Log: Mark the __curthread() functions as __pure2 and remove the volatile keyword from the inline assembly. This

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

2010-07-29 Thread Jayachandran C.
Author: jchandra Date: Thu Jul 29 19:47:15 2010 New Revision: 210626 URL: http://svn.freebsd.org/changeset/base/210626 Log: Add fuiword() in n64 for completeness. Modified: head/sys/mips/mips/support.S Modified: head/sys/mips/mips/support.S

svn commit: r210632 - head/sys/dev/pci

2010-07-29 Thread Pyun YongHyeon
Author: yongari Date: Thu Jul 29 20:42:38 2010 New Revision: 210632 URL: http://svn.freebsd.org/changeset/base/210632 Log: Consistently check header type after reading PCIR_HDRTYPE register. While I'm here use defined macro instead of using magic numbers for header type. Reviewed by:

Re: svn commit: r210578 - head/usr.bin/grep

2010-07-29 Thread Gabor Kovesdan
Em 2010.07.29. 22:20, M. Warner Losh escreveu: In message:20100729122034.ga28...@stack.nl Jilles Tjoelkerjil...@stack.nl writes: : On Thu, Jul 29, 2010 at 12:11:14AM +, Gabor Kovesdan wrote: : Author: gabor : Date: Thu Jul 29 00:11:14 2010 : New Revision: 210578 : URL:

Re: svn commit: r210578 - head/usr.bin/grep

2010-07-29 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Jilles, Thanks for your comments. On 2010/07/29 05:20, Jilles Tjoelker wrote: On Thu, Jul 29, 2010 at 12:11:14AM +, Gabor Kovesdan wrote: Author: gabor Date: Thu Jul 29 00:11:14 2010 New Revision: 210578 URL:

Re: svn commit: r210616 - stable/8/bin/sh

2010-07-29 Thread jhell
So what has been commited here is implicitly stating that instead of using ( trap 'exit 1' 2 ) in a script to catch SIGINT and exit it is now being done on behalf of the user with no way for them to control it ? Basically this has the same effect on a script that uses ( ) and to which now have

Re: svn commit: r210564 - in head/sys: amd64/conf conf i386/conf ia64/conf kern pc98/conf powerpc/conf sparc64/conf sun4v/conf sys

2010-07-29 Thread Nathan Whitehorn
On 07/28/10 17:36, Matthew D Fleming wrote: Author: mdf Date: Wed Jul 28 15:36:12 2010 New Revision: 210564 URL: http://svn.freebsd.org/changeset/base/210564 Log: Add MALLOC_DEBUG_MAXZONES debug malloc(9) option to use multiple uma zones for each malloc bucket size. The purpose is to

Re: svn commit: r210612 - head/share/mk

2010-07-29 Thread Anonymous
Rui Paulo rpa...@freebsd.org writes: Author: rpaulo Date: Thu Jul 29 16:30:27 2010 New Revision: 210612 URL: http://svn.freebsd.org/changeset/base/210612 Log: When building WITH_CTF=1, print the ctf executable that's going to be run. This makes the 'ctfconvert' and 'ctfmerge' programs