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

2010-08-17 Thread Adrian Chadd
Author: adrian Date: Wed Aug 18 00:26:14 2010 New Revision: 211440 URL: http://svn.freebsd.org/changeset/base/211440 Log: Import initial AR91XX and AR724X CPU register definitions. Obtained from:Linux Added: head/sys/mips/atheros/ar724xreg.h (contents, props changed) head/sys

svn commit: r211439 - head/sys/kern

2010-08-17 Thread John Baldwin
Author: jhb Date: Tue Aug 17 21:34:19 2010 New Revision: 211439 URL: http://svn.freebsd.org/changeset/base/211439 Log: Keep the process locked when calling ktrops() or ktrsetchildren() instead of dropping the lock only to immediately reacquire it. Modified: head/sys/kern/kern_ktrace.c Modi

svn commit: r211438 - in stable/7/etc: . rc.d

2010-08-17 Thread John Baldwin
Author: jhb Date: Tue Aug 17 21:28:40 2010 New Revision: 211438 URL: http://svn.freebsd.org/changeset/base/211438 Log: MFC 175682,175683,175686: Generally, anything that runs rc.d scripts internally should start using the quiet prefix (i.e. quietstart, quietstop, etc...). Modified: stable

Re: svn commit: r211436 - head

2010-08-17 Thread Max Laier
On Tuesday 17 August 2010 22:26:17 Dag-Erling Smorgrav wrote: > Author: des > Date: Tue Aug 17 20:26:17 2010 > New Revision: 211436 > URL: http://svn.freebsd.org/changeset/base/211436 > > Log: > Split kernel stage 3.2 (build everything) into 3.2 (build the kernel) > and 3.3 (build the modules)

svn commit: r211437 - in head: share/mk sys/conf sys/dev/aic7xxx/aicasm sys/i386/acpica

2010-08-17 Thread Rui Paulo
Author: rpaulo Date: Tue Aug 17 20:39:28 2010 New Revision: 211437 URL: http://svn.freebsd.org/changeset/base/211437 Log: For every instance of '.if ${CC} == "foo"' or '.if ${CC} != "foo"' in Makefiles or *.mk files, use ${CC:T:Mfoo} instead, so only the basename of the compiler command (exc

svn commit: r211436 - head

2010-08-17 Thread Dag-Erling Smorgrav
Author: des Date: Tue Aug 17 20:26:17 2010 New Revision: 211436 URL: http://svn.freebsd.org/changeset/base/211436 Log: Split kernel stage 3.2 (build everything) into 3.2 (build the kernel) and 3.3 (build the modules). IMHO, this makes it a little easier to track the progress of a kernel bui

Re: svn commit: r210175 - head/usr.sbin/sysinstall

2010-08-17 Thread b. f.
Peter Jeremy wrote: >On 2010-Aug-16 00:06:35 +0200, Marc Fonvieille wrote: >>We still support PLIP (with a laplink cable) since a plip0 interface >>is displayed on this screen during installation if you have a parallel >>port on the motherboard. > >Has anyone actually verified that it still works?

Re: svn commit: r210175 - head/usr.sbin/sysinstall

2010-08-17 Thread John Baldwin
On Tuesday, August 17, 2010 3:23:20 pm Peter Jeremy wrote: > On 2010-Aug-16 00:06:35 +0200, Marc Fonvieille wrote: > >We still support PLIP (with a laplink cable) since a plip0 interface > >is displayed on this screen during installation if you have a parallel > >port on the motherboard. > > Has

Re: svn commit: r211318 - head/usr.sbin/sysinstall

2010-08-17 Thread Alexey Dokuchaev
On Sat, Aug 14, 2010 at 09:48:22PM +, Jens Schweikhardt wrote: > Author: schweikh > Date: Sat Aug 14 21:48:22 2010 > New Revision: 211318 > URL: http://svn.freebsd.org/changeset/base/211318 > > Log: > Correctly spell janice and jimmy as janis and jimi (assuming > the famous rock stars mean

Re: svn commit: r210175 - head/usr.sbin/sysinstall

2010-08-17 Thread Marc Fonvieille
On Wed, Aug 18, 2010 at 05:23:20AM +1000, Peter Jeremy wrote: > On 2010-Aug-16 00:06:35 +0200, Marc Fonvieille wrote: > >We still support PLIP (with a laplink cable) since a plip0 interface > >is displayed on this screen during installation if you have a parallel > >port on the motherboard. > > H

Re: svn commit: r210175 - head/usr.sbin/sysinstall

2010-08-17 Thread Peter Jeremy
On 2010-Aug-16 00:06:35 +0200, Marc Fonvieille wrote: >We still support PLIP (with a laplink cable) since a plip0 interface >is displayed on this screen during installation if you have a parallel >port on the motherboard. Has anyone actually verified that it still works? I know I haven't used it

Re: svn commit: r211434 - head/sys/cam/scsi

2010-08-17 Thread Matthew Jacob
On 8/17/2010 10:59 AM, Scott Long wrote: This is violates the policy that CAM has effectively had for a long time that separates protocol error handling in the periph from transport error recovery in the SIM. I think it's better to encourage SIMs to register an AC_LOST_DEVICE event and handle

Re: svn commit: r211434 - head/sys/cam/scsi

2010-08-17 Thread Scott Long
This is violates the policy that CAM has effectively had for a long time that separates protocol error handling in the periph from transport error recovery in the SIM. I think it's better to encourage SIMs to register an AC_LOST_DEVICE event and handle command aborts themselves. Most drivers h

Re: svn commit: r211397 - in head: lib/libbluetooth lib/libc/gen lib/libc/net lib/libc/stdlib lib/libc/sys lib/libedit lib/libelf lib/libgeom lib/libgpib lib/libgssapi lib/libpmc lib/libradius lib/lib

2010-08-17 Thread Ulrich Spörlein
On Mon, 16.08.2010 at 15:18:30 +, Joel Dahl wrote: > Author: joel (doc committer) > Date: Mon Aug 16 15:18:30 2010 > New Revision: 211397 > URL: http://svn.freebsd.org/changeset/base/211397 > > Log: > Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while > translating t

svn commit: r211435 - head/sys/netinet6

2010-08-17 Thread Hajimu UMEMOTO
Author: ume Date: Tue Aug 17 17:30:56 2010 New Revision: 211435 URL: http://svn.freebsd.org/changeset/base/211435 Log: Make `ping6 -I' work with net.inet6.ip6.use_defaultzone=1. MFC after:2 weeks Modified: head/sys/netinet6/raw_ip6.c Modified: head/sys/netinet6/raw_ip6.c ===

Re: svn commit: r211397 - in head: lib/libbluetooth lib/libc/gen lib/libc/net lib/libc/stdlib lib/libc/sys lib/libedit lib/libelf lib/libgeom lib/libgpib lib/libgssapi lib/libpmc lib/libradius lib/lib

2010-08-17 Thread Bruce Evans
Hi Joel, On Mon, 16 Aug 2010, Joel Dahl wrote: Log: Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while translating these manual pages. Minor corrections by me. I noticed a few fixes missed nearby while checking the change in msun. Modified: head/lib/libbluetooth/bl

svn commit: r211434 - head/sys/cam/scsi

2010-08-17 Thread Matt Jacob
Author: mjacob Date: Tue Aug 17 17:11:15 2010 New Revision: 211434 URL: http://svn.freebsd.org/changeset/base/211434 Log: Now is as good a time as any to find out if we induce breakage by issueing aborts for any pending commands when we're decommssioning a disk. MFC after:3 months

svn commit: r211433 - head/sys/netinet

2010-08-17 Thread John Baldwin
Author: jhb Date: Tue Aug 17 16:41:16 2010 New Revision: 211433 URL: http://svn.freebsd.org/changeset/base/211433 Log: Ensure a minimum "slop" of 10 extra pcb structures when providing a memory size estimate to userland for pcb list sysctls. The previous behavior of a "slop" of n/8 does not

svn commit: r211432 - head/sys/dev/flash

2010-08-17 Thread Adrian Chadd
Author: adrian Date: Tue Aug 17 16:27:13 2010 New Revision: 211432 URL: http://svn.freebsd.org/changeset/base/211432 Log: Add s25sl064a, an 8mb SPI flash part. Modified: head/sys/dev/flash/mx25l.c Modified: head/sys/dev/flash/mx25l.c ==

svn commit: r211431 - stable/8/games/grdc

2010-08-17 Thread Ulrich Spoerlein
Author: uqs Date: Tue Aug 17 16:25:44 2010 New Revision: 211431 URL: http://svn.freebsd.org/changeset/base/211431 Log: MFC r203920,210755,210809,210827: - WARNS?=6 cleanup - fix timekeeping for user-supplied value n - de-obfuscate the timekeeping of now/delay Modified: stable/8/games

svn commit: r211430 - in head/sys/dev: acpica pci

2010-08-17 Thread John Baldwin
Author: jhb Date: Tue Aug 17 15:44:52 2010 New Revision: 211430 URL: http://svn.freebsd.org/changeset/base/211430 Log: Add a new method to the PCI bridge interface, PCIB_POWER_FOR_SLEEP(). This method is used by the PCI bus driver to query the power management system to determine the proper

svn commit: r211429 - stable/8/usr.bin/uniq

2010-08-17 Thread Jaakko Heinonen
Author: jh Date: Tue Aug 17 15:07:23 2010 New Revision: 211429 URL: http://svn.freebsd.org/changeset/base/211429 Log: MFC r200633: Sync getline() with comm(1): - Prevent overflowing of the buffer length variable in getline() by limiting its maximum value. - Exit if reallocf(3)

svn commit: r211428 - in stable/8: tools/regression/usr.bin tools/regression/usr.bin/comm tools/regression/usr.bin/pkill usr.bin/comm

2010-08-17 Thread Jaakko Heinonen
Author: jh Date: Tue Aug 17 15:02:33 2010 New Revision: 211428 URL: http://svn.freebsd.org/changeset/base/211428 Log: MFC r200442: Don't read the newline character to line buffer because lines are passed to wcscoll(3). Newline characters could cause incorrect results when comparing line

svn commit: r211427 - head/share/mk

2010-08-17 Thread Rui Paulo
Author: rpaulo Date: Tue Aug 17 13:02:08 2010 New Revision: 211427 URL: http://svn.freebsd.org/changeset/base/211427 Log: Make sure any -U CFLAGS are not filtered out when calling mkdep, as gnu/usr.bin/cc/libiberty first defines the PREFIX macro, and then undefines it again, so mkdep with cl

svn commit: r211426 - stable/6/share/zoneinfo

2010-08-17 Thread Edwin Groothuis
Author: edwin Date: Tue Aug 17 12:17:42 2010 New Revision: 211426 URL: http://svn.freebsd.org/changeset/base/211426 Log: MFC of 211422, tzdata2010l - Fix start times of DST for Egypt. - clocks were set back one hour at 2010-08-11 00:00:00 local time in Gaza and the West Bank. Obt

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

2010-08-17 Thread Pietro Cerutti
Author: gahr (ports committer) Date: Tue Aug 17 12:17:24 2010 New Revision: 211424 URL: http://svn.freebsd.org/changeset/base/211424 Log: - The iMac9,1 needs the PAT workaround as well Approved by: cognet Modified: head/sys/amd64/amd64/pmap.c head/sys/i386/i386/pmap.c Modified: head/

svn commit: r211425 - stable/7/share/zoneinfo

2010-08-17 Thread Edwin Groothuis
Author: edwin Date: Tue Aug 17 12:17:32 2010 New Revision: 211425 URL: http://svn.freebsd.org/changeset/base/211425 Log: MFC of 211422, tzdata2010l - Fix start times of DST for Egypt. - clocks were set back one hour at 2010-08-11 00:00:00 local time in Gaza and the West Bank. Obt

svn commit: r211423 - stable/8/share/zoneinfo

2010-08-17 Thread Edwin Groothuis
Author: edwin Date: Tue Aug 17 12:16:06 2010 New Revision: 211423 URL: http://svn.freebsd.org/changeset/base/211423 Log: MFC of 211422, tzdata2010l - Fix start times of DST for Egypt. - clocks were set back one hour at 2010-08-11 00:00:00 local time in Gaza and the West Bank. Obt

svn commit: r211422 - head/contrib/tzdata

2010-08-17 Thread Edwin Groothuis
Author: edwin Date: Tue Aug 17 12:10:35 2010 New Revision: 211422 URL: http://svn.freebsd.org/changeset/base/211422 Log: MFV of r211420, tzdata2010l - Fix start times of DST for Egypt. - clocks were set back one hour at 2010-08-11 00:00:00 local time in Gaza and the West Bank. Ob

svn commit: r211421 - vendor/tzdata/tzdata2010l

2010-08-17 Thread Edwin Groothuis
Author: edwin Date: Tue Aug 17 12:05:48 2010 New Revision: 211421 URL: http://svn.freebsd.org/changeset/base/211421 Log: Tag of tzdata2010l Added: vendor/tzdata/tzdata2010l/ - copied from r211420, vendor/tzdata/dist/ ___ svn-src-all@freebsd.org

svn commit: r211420 - vendor/tzdata/dist

2010-08-17 Thread Edwin Groothuis
Author: edwin Date: Tue Aug 17 12:04:17 2010 New Revision: 211420 URL: http://svn.freebsd.org/changeset/base/211420 Log: Vendor import of tzdata2010l - Fix start times of DST for Egypt. - clocks were set back one hour at 2010-08-11 00:00:00 local time in Gaza and the West Bank. O

Re: svn commit: r211417 - head/usr.sbin/sysinstall

2010-08-17 Thread Kostik Belousov
On Tue, Aug 17, 2010 at 09:39:06AM +, Bruce Cran wrote: > Author: brucec > Date: Tue Aug 17 09:39:06 2010 > New Revision: 211417 > URL: http://svn.freebsd.org/changeset/base/211417 > > Log: > To restart, sysinstall calls execl. Since it will create a new process, we execl(3) does not create

svn commit: r211419 - head/contrib/top

2010-08-17 Thread Bruce Cran
Author: brucec Date: Tue Aug 17 09:51:08 2010 New Revision: 211419 URL: http://svn.freebsd.org/changeset/base/211419 Log: Since top displays the uptime including seconds, there is no need to add 30 onto it, which may have been used for rounding purposes in other utilities. PR: bin/14793

svn commit: r211418 - head/tools/test/auxinfo

2010-08-17 Thread Konstantin Belousov
Author: kib Date: Tue Aug 17 09:42:50 2010 New Revision: 211418 URL: http://svn.freebsd.org/changeset/base/211418 Log: Add simple test to check the functioning of retrieval of pagesize()/pagesizes() after change to use aux vector. Note that public function getosreldate() is different from li

svn commit: r211417 - head/usr.sbin/sysinstall

2010-08-17 Thread Bruce Cran
Author: brucec Date: Tue Aug 17 09:39:06 2010 New Revision: 211417 URL: http://svn.freebsd.org/changeset/base/211417 Log: To restart, sysinstall calls execl. Since it will create a new process, we can't check to see if sysinstall is running as init just by checking if the PID is 0. Introduce

svn commit: r211416 - in head/lib/libc: gen include stdlib sys

2010-08-17 Thread Konstantin Belousov
Author: kib Date: Tue Aug 17 09:13:26 2010 New Revision: 211416 URL: http://svn.freebsd.org/changeset/base/211416 Log: Use aux vector to get values for SSP canary, pagesize, pagesizes array, number of host CPUs and osreldate. This eliminates the last sysctl(2) calls from the dynamically l

svn commit: r211415 - head/usr.sbin/powerd

2010-08-17 Thread Bruce Cran
Author: brucec Date: Tue Aug 17 09:11:38 2010 New Revision: 211415 URL: http://svn.freebsd.org/changeset/base/211415 Log: Add -m and -M options to control the minimum and maximum frequency. PR: bin/145063 Submitted by: Boris Kochergin Reviewed by: cperciva Approved by: rrs (mento

svn commit: r211414 - head/libexec/rtld-elf

2010-08-17 Thread Konstantin Belousov
Author: kib Date: Tue Aug 17 09:08:28 2010 New Revision: 211414 URL: http://svn.freebsd.org/changeset/base/211414 Log: Provide the starting image with the pointer to ELF aux vector. It is written into the __elf_aux_vector variable, if the symbol is present. Idea from:kan Tested by:

svn commit: r211413 - head/libexec/rtld-elf

2010-08-17 Thread Konstantin Belousov
Author: kib Date: Tue Aug 17 09:05:39 2010 New Revision: 211413 URL: http://svn.freebsd.org/changeset/base/211413 Log: Use the newly provided aux vectors to get pagesize and osreldate information. Use local version of getpagesize(), rtld_getpagesize() in private allocator. Override the __get

svn commit: r211412 - in head/sys: amd64/include arm/include compat/freebsd32 i386/include ia64/include kern mips/include powerpc/include sparc64/include sun4v/include sys

2010-08-17 Thread Konstantin Belousov
Author: kib Date: Tue Aug 17 08:55:45 2010 New Revision: 211412 URL: http://svn.freebsd.org/changeset/base/211412 Log: Supply some useful information to the started image using ELF aux vectors. In particular, provide pagesize and pagesizes array, the canary value for SSP use, number of host

svn commit: r211411 - stable/8/sys/netinet6

2010-08-17 Thread Bjoern A. Zeeb
Author: bz Date: Tue Aug 17 07:58:10 2010 New Revision: 211411 URL: http://svn.freebsd.org/changeset/base/211411 Log: MFC r211301: In rip6_input(), in case of multicast, we might skip the normal processing and go to the next iteration early if multicast filtering would decide that

Re: svn commit: r211396 - head/sys/vm

2010-08-17 Thread Ed Schouten
* Andre Oppermann wrote: > + if (keg->uk_maxpages) > + nitems = keg->uk_maxpages * keg->uk_ipers; > + else > + nitems = 0; So what's the actual meaning of the if-statement here? If keg->uk_maxpages == 0, the multiplication will always yield 0 as well, right? --