svn commit: r201014 - stable/8/sys/sparc64/sparc64

2009-12-25 Thread Marcel Moolenaar
Author: marcel Date: Sat Dec 26 04:31:18 2009 New Revision: 201014 URL: http://svn.freebsd.org/changeset/base/201014 Log: MFC rev 200891: Calculate the average CPU clock frequency and export that through the hw.freq.cpu sysctl variable. Modified: stable/8/sys/sparc64/sparc64/identcpu.c Di

svn commit: r201013 - in stable/8/sys/ia64: ia64 include

2009-12-25 Thread Marcel Moolenaar
Author: marcel Date: Sat Dec 26 04:29:38 2009 New Revision: 201013 URL: http://svn.freebsd.org/changeset/base/201013 Log: MFC rev 200889: Export the bus, cpu and itc frequencies under the hw.freq sysctl node. Modified: stable/8/sys/ia64/ia64/clock.c stable/8/sys/ia64/ia64/machdep.c stab

svn commit: r201010 - head/usr.bin/killall

2009-12-25 Thread Xin LI
Author: delphij Date: Sat Dec 26 00:46:05 2009 New Revision: 201010 URL: http://svn.freebsd.org/changeset/base/201010 Log: Fix grammar and reduce ambiguity. Submitted by: b. f. Modified: head/usr.bin/killall/killall.1 Modified: head/usr.bin/killall/killall.1 ===

svn commit: r201009 - head/sys/dev/mc146818

2009-12-25 Thread Marius Strobl
Author: marius Date: Fri Dec 25 22:58:43 2009 New Revision: 201009 URL: http://svn.freebsd.org/changeset/base/201009 Log: Remove clause 3 from Izumi Tsutsui's licenses. Obtained from:NetBSD Modified: head/sys/dev/mc146818/mc146818.c head/sys/dev/mc146818/mc146818var.h Modified

svn commit: r201008 - in head/sys: dev/mc146818 sparc64/sparc64

2009-12-25 Thread Marius Strobl
Author: marius Date: Fri Dec 25 22:53:46 2009 New Revision: 201008 URL: http://svn.freebsd.org/changeset/base/201008 Log: Style changes Obtained from:NetBSD (mc146818reg.h) Modified: head/sys/dev/mc146818/mc146818.c head/sys/dev/mc146818/mc146818reg.h head/sys/dev/mc146818/mc

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

2009-12-25 Thread Marius Strobl
Author: marius Date: Fri Dec 25 22:04:00 2009 New Revision: 201007 URL: http://svn.freebsd.org/changeset/base/201007 Log: Correct my e-mail address. Modified: head/share/man/man4/gem.4 Modified: head/share/man/man4/gem.4 ===

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

2009-12-25 Thread Marius Strobl
Author: marius Date: Fri Dec 25 22:01:39 2009 New Revision: 201006 URL: http://svn.freebsd.org/changeset/base/201006 Log: Add a man page for mk48txx(4). Requested by: n_hibma Obtained from:NetBSD (original version) Added: head/share/man/man4/mk48txx.4 (contents, props changed

svn commit: r201005 - in head/sys: dev/mk48txx sparc64/sparc64

2009-12-25 Thread Marius Strobl
Author: marius Date: Fri Dec 25 21:53:20 2009 New Revision: 201005 URL: http://svn.freebsd.org/changeset/base/201005 Log: - Take advantage of bus_{read,write}_*(9). - Set dow = -1 in mk48txx_gettime() because some drivers (for example the NetBSD and OpenBSD mk48txx(4)) don't set it correct

svn commit: r201004 - head/sys/dev/mk48txx

2009-12-25 Thread Marius Strobl
Author: marius Date: Fri Dec 25 21:41:05 2009 New Revision: 201004 URL: http://svn.freebsd.org/changeset/base/201004 Log: Remove clause 3 and 4 from TNF licenses. Obtained from:NetBSD Modified: head/sys/dev/mk48txx/mk48txx.c head/sys/dev/mk48txx/mk48txxreg.h head/sys/dev/mk48

svn commit: r201003 - head/sys/dev/mk48txx

2009-12-25 Thread Marius Strobl
Author: marius Date: Fri Dec 25 21:32:26 2009 New Revision: 201003 URL: http://svn.freebsd.org/changeset/base/201003 Log: Style changes Modified: head/sys/dev/mk48txx/mk48txx.c head/sys/dev/mk48txx/mk48txxreg.h head/sys/dev/mk48txx/mk48txxvar.h Modified: head/sys/dev/mk48txx/mk48txx.c ==

svn commit: r201002 - in stable/7/bin: . pwait

2009-12-25 Thread Jilles Tjoelker
Author: jilles Date: Fri Dec 25 21:28:16 2009 New Revision: 201002 URL: http://svn.freebsd.org/changeset/base/201002 Log: MFC r199458: Add pwait utility, which waits for any process to terminate. This is similar to the Solaris utility of the same name. Some use cases: * rc.subr's wai

svn commit: r201001 - head

2009-12-25 Thread Ruslan Ermilov
Author: ru Date: Fri Dec 25 21:14:34 2009 New Revision: 201001 URL: http://svn.freebsd.org/changeset/base/201001 Log: Fixed two typos. Submitted by: Maxim Dounin Modified: head/UPDATING Modified: head/UPDATING

svn commit: r201000 - head/sys/kern

2009-12-25 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 25 21:14:05 2009 New Revision: 201000 URL: http://svn.freebsd.org/changeset/base/201000 Log: Remove extra spaces (no functional change). MFC after:3 days Modified: head/sys/kern/kern_rmlock.c Modified: head/sys/kern/kern_rmlock.c

svn commit: r200999 - in head/sys/fs: nfs nfsserver

2009-12-25 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 25 20:44:19 2009 New Revision: 200999 URL: http://svn.freebsd.org/changeset/base/200999 Log: Modify the experimental server so that it uses VOP_ACCESSX(). This is necessary in order to enable NFSv4 ACL support. The argument to nfsvno_accchk() was changed to an

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

2009-12-25 Thread Jilles Tjoelker
Author: jilles Date: Fri Dec 25 20:21:35 2009 New Revision: 200998 URL: http://svn.freebsd.org/changeset/base/200998 Log: sh: Do not run callers' exception handlers in subshells. Reset the exception handler in the child to main's. This avoids inappropriate double cleanups or shell dupl

svn commit: r200997 - head/usr.bin/rwho

2009-12-25 Thread Ed Schouten
Author: ed Date: Fri Dec 25 20:07:48 2009 New Revision: 200997 URL: http://svn.freebsd.org/changeset/base/200997 Log: Let the width of the username column depend on the rwho file format. Right now the code uses UT_NAMESIZE, but this makes little sense, because rwho(1) parses files generat

svn commit: r200996 - head/lib/libulog

2009-12-25 Thread Ed Schouten
Author: ed Date: Fri Dec 25 20:04:36 2009 New Revision: 200996 URL: http://svn.freebsd.org/changeset/base/200996 Log: Don't corrupt logout entries in utmp files. An older version of the code used a structure on the stack, instead of a pointer to the structure. It looks like I didn't adjus

svn commit: r200995 - head/sys/kern

2009-12-25 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 25 20:03:03 2009 New Revision: 200995 URL: http://svn.freebsd.org/changeset/base/200995 Log: Remove an unused global. MFC after:3 days Modified: head/sys/kern/kern_proc.c Modified: head/sys/kern/kern_proc.c ===

svn commit: r200994 - head/sys/dev/jme

2009-12-25 Thread Gavin Atkinson
Author: gavin Date: Fri Dec 25 19:57:28 2009 New Revision: 200994 URL: http://svn.freebsd.org/changeset/base/200994 Log: Set the locally-assigned bit in the randomly generated Ethernet address if we end up having to generate one. PR: kern/133239 Discussed with: yongari

svn commit: r200993 - head/sys/dev/ae

2009-12-25 Thread Gavin Atkinson
Author: gavin Date: Fri Dec 25 19:38:12 2009 New Revision: 200993 URL: http://svn.freebsd.org/changeset/base/200993 Log: Small spelling fix, "Ethetnet" -> "Ethernet" Approved by: ed (mentor) MFC after:1 week Modified: head/sys/dev/ae/if_ae.c Modified: head/sys/dev/ae/if_ae.c

svn commit: r200992 - head/lib/libc/posix1e

2009-12-25 Thread Markus Brueffer
Author: markus Date: Fri Dec 25 18:05:06 2009 New Revision: 200992 URL: http://svn.freebsd.org/changeset/base/200992 Log: Use a local copy of entry_d for finding matches. Otherwise, if entry_d pointed to an entry of 'acl', all ACL entries starting with entry_d would be deleted. Reviewed b

svn commit: r200991 - head/sys/dev/twe

2009-12-25 Thread Alexander Motin
Author: mav Date: Fri Dec 25 17:34:43 2009 New Revision: 200991 URL: http://svn.freebsd.org/changeset/base/200991 Log: Teach twe driver to report array stripe size to GEOM. Modified: head/sys/dev/twe/twe.c head/sys/dev/twe/twe_freebsd.c head/sys/dev/twe/twevar.h Modified: head/sys/dev/tw

Re: svn commit: r200979 - head/contrib/top

2009-12-25 Thread Bruce Evans
On Fri, 25 Dec 2009, Ed Schouten wrote: Log: Let top(1) use MAXLOGNAME instead of UT_NAMESIZE. The maximum user login length should have nothing to do with . top was trying to be portable. Its portable parts cannot use MAXLOGNAME, since that is not in POSIX (I guess it is a BSDism). Modi

svn commit: r200988 - head/bin/sh

2009-12-25 Thread Jilles Tjoelker
Author: jilles Date: Fri Dec 25 15:29:18 2009 New Revision: 200988 URL: http://svn.freebsd.org/changeset/base/200988 Log: sh: Do not consider a tilde-prefix with expansions in it. That is, do not do tilde expansion if any of the CTL* bytes (\201-\210), not only CTLESC and CTLQUOTEMARK, ar

svn commit: r200987 - head/sys/sparc64/pci

2009-12-25 Thread Marius Strobl
Author: marius Date: Fri Dec 25 15:03:05 2009 New Revision: 200987 URL: http://svn.freebsd.org/changeset/base/200987 Log: - Hook up the default implementations of the MSI/MSI-X pcib_if methods so requests may bubble up to a host-PCI bridge driver. - Distinguish between PCI and PCIe bridges

svn commit: r200983 - head/libexec/talkd

2009-12-25 Thread Ed Schouten
Author: ed Date: Fri Dec 25 11:12:05 2009 New Revision: 200983 URL: http://svn.freebsd.org/changeset/base/200983 Log: Let talkd use utmpx instead of utmp. Because strings are null terminated now, there is no need to copy ut_line into a separate buffer first. Also enable WARNS. Modified:

svn commit: r200982 - head/libexec/atrun

2009-12-25 Thread Ed Schouten
Author: ed Date: Fri Dec 25 10:30:54 2009 New Revision: 200982 URL: http://svn.freebsd.org/changeset/base/200982 Log: Don't use UT_NAMESIZE here to determine the maximum username length. Modified: head/libexec/atrun/atrun.c Modified: head/libexec/atrun/atrun.c ===

svn commit: r200981 - head/usr.bin/killall

2009-12-25 Thread Xin LI
Author: delphij Date: Fri Dec 25 10:01:35 2009 New Revision: 200981 URL: http://svn.freebsd.org/changeset/base/200981 Log: Document the difference between FreeBSD and traditional System V killall commands. MFC after:1 month Modified: head/usr.bin/killall/killall.1 Modified: head/u

svn commit: r200980 - head/usr.sbin/service

2009-12-25 Thread Christian Brueffer
Author: brueffer Date: Fri Dec 25 09:58:19 2009 New Revision: 200980 URL: http://svn.freebsd.org/changeset/base/200980 Log: Provide a better short description and fix SEE ALSO section entries. Modified: head/usr.sbin/service/service.8 Modified: head/usr.sbin/service/service.8 ===

svn commit: r200979 - head/contrib/top

2009-12-25 Thread Ed Schouten
Author: ed Date: Fri Dec 25 09:02:41 2009 New Revision: 200979 URL: http://svn.freebsd.org/changeset/base/200979 Log: Let top(1) use MAXLOGNAME instead of UT_NAMESIZE. The maximum user login length should have nothing to do with . Modified: head/contrib/top/username.c Modified: head/con

svn commit: r200978 - stable/8/sys/cam/scsi

2009-12-25 Thread Alexander Motin
Author: mav Date: Fri Dec 25 08:06:35 2009 New Revision: 200978 URL: http://svn.freebsd.org/changeset/base/200978 Log: MFC r200668: Remove duplicate devstat_start_transaction_bio() call. It is already called from geom_disk. Dulicate call causes wrong queue depth and busy accounting. Modifie