svn commit: r210912 - head/sbin/hastctl

2010-08-06 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 6 06:04:27 2010 New Revision: 210912 URL: http://svn.freebsd.org/changeset/base/210912 Log: Force commit to remind me about MFCing r210909. MFC after:1 month Modified: head/sbin/hastctl/hastctl.c Modified: head/sbin/hastctl/hastctl.c

svn commit: r210913 - head/sys/mips/sibyte

2010-08-06 Thread Neel Natu
Author: neel Date: Fri Aug 6 07:03:22 2010 New Revision: 210913 URL: http://svn.freebsd.org/changeset/base/210913 Log: Remove redundant declaration of 'pcib_driver' class from sb_zbpci.c. This causes a compilation error. The declaration is provided by sys/dev/pci/pcib_private.h starting

svn commit: r210914 - in head/sys/mips: include mips

2010-08-06 Thread Jayachandran C.
Author: jchandra Date: Fri Aug 6 07:32:33 2010 New Revision: 210914 URL: http://svn.freebsd.org/changeset/base/210914 Log: Fix the issue reported by alc: pmap_page_wired_mappings() counts the number of pv entries for the specified page that have the pv entry wired flag set to TRUE.

svn commit: r210918 - head/sys/fs/devfs

2010-08-06 Thread Konstantin Belousov
Author: kib Date: Fri Aug 6 09:06:55 2010 New Revision: 210918 URL: http://svn.freebsd.org/changeset/base/210918 Log: Initialize VV_ISTTY vnode flag on the devfs vnode creation instead of doing it on each open. In collaboration with:pho MFC after:1 month Modified:

svn commit: r210921 - head/sys/fs/devfs

2010-08-06 Thread Konstantin Belousov
Author: kib Date: Fri Aug 6 09:23:47 2010 New Revision: 210921 URL: http://svn.freebsd.org/changeset/base/210921 Log: Enable shared locks for the devfs vnodes. Honor the locking mode requested by lookup(). This should be a nop at the moment. In collaboration with:pho MFC

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

2010-08-06 Thread Jayachandran C.
Author: jchandra Date: Fri Aug 6 09:25:42 2010 New Revision: 210922 URL: http://svn.freebsd.org/changeset/base/210922 Log: Fix issue reported by alc : MIPS doesn't really need to use atomic_cmpset_int() in situations like this because the software dirty bit emulation in trap.c

svn commit: r210924 - head/sys/kern

2010-08-06 Thread Konstantin Belousov
Author: kib Date: Fri Aug 6 09:44:01 2010 New Revision: 210924 URL: http://svn.freebsd.org/changeset/base/210924 Log: Add show cdev ddb command. In collaboration with:pho MFC after:1 month Modified: head/sys/kern/kern_conf.c Modified: head/sys/kern/kern_conf.c

svn commit: r210925 - head/sys/fs/devfs

2010-08-06 Thread Konstantin Belousov
Author: kib Date: Fri Aug 6 09:46:53 2010 New Revision: 210925 URL: http://svn.freebsd.org/changeset/base/210925 Log: Enable shared lookups and externed shared ops for devfs. In collaboration with:pho MFC after:1 month Modified: head/sys/fs/devfs/devfs_vfsops.c Modified:

svn commit: r210926 - head/sys/dev/null

2010-08-06 Thread Konstantin Belousov
Author: kib Date: Fri Aug 6 09:47:48 2010 New Revision: 210926 URL: http://svn.freebsd.org/changeset/base/210926 Log: Mark /dev/zero and /dev/null as eternal. In collaboration with:pho MFC after:1 month Modified: head/sys/dev/null/null.c Modified:

svn commit: r210927 - head/usr.bin/grep/nls

2010-08-06 Thread Gabor Kovesdan
Author: gabor Date: Fri Aug 6 10:34:48 2010 New Revision: 210927 URL: http://svn.freebsd.org/changeset/base/210927 Log: - Some fixes to Ukranian catalog Submitted by: avg, Alex Kozlov s...@rm-rf.kiev.ua Modified: head/usr.bin/grep/nls/uk_UA.UTF-8.msg Modified:

Re: svn commit: r210926 - head/sys/dev/null

2010-08-06 Thread Peter Holm
On Fri, Aug 06, 2010 at 09:47:48AM +, Konstantin Belousov wrote: Author: kib Date: Fri Aug 6 09:47:48 2010 New Revision: 210926 URL: http://svn.freebsd.org/changeset/base/210926 Log: Mark /dev/zero and /dev/null as eternal. In collaboration with: pho MFC after: 1

svn commit: r210930 - head/usr.sbin/fifolog/lib

2010-08-06 Thread Ulrich Spoerlein
Author: uqs Date: Fri Aug 6 12:38:30 2010 New Revision: 210930 URL: http://svn.freebsd.org/changeset/base/210930 Log: Typo fixes PR: docs/149314 Submitted by: olgeni MFC after:3 days Modified: head/usr.sbin/fifolog/lib/fifolog.h Modified:

Re: svn commit: r210930 - head/usr.sbin/fifolog/lib

2010-08-06 Thread Ulrich Spoerlein
On Fri, 06.08.2010 at 12:38:30 +, Ulrich Spörlein wrote: Author: uqs Date: Fri Aug 6 12:38:30 2010 New Revision: 210930 URL: http://svn.freebsd.org/changeset/base/210930 Log: Typo fixes PR: docs/149314 Submitted by:olgeni MFC after: 3 days Forgot to

Re: svn commit: r210926 - head/sys/dev/null

2010-08-06 Thread Ed Schouten
* Konstantin Belousov k...@freebsd.org wrote: Log: Mark /dev/zero and /dev/null as eternal. So `eternal' means that these device nodes can never ever disappear? Maybe we can also mark /dev/ctty (tty_tty.c) like this as well? Greetings, -- Ed Schouten e...@80386.nl WWW: http://80386.nl/

Re: svn commit: r210926 - head/sys/dev/null

2010-08-06 Thread Kostik Belousov
On Fri, Aug 06, 2010 at 04:21:48PM +0200, Ed Schouten wrote: * Konstantin Belousov k...@freebsd.org wrote: Log: Mark /dev/zero and /dev/null as eternal. So `eternal' means that these device nodes can never ever disappear? Maybe we can also mark /dev/ctty (tty_tty.c) like this as well?

svn commit: r210933 - in head: lib/libc/net lib/libc/stdlib lib/libc/sys lib/libcam lib/libgpib lib/libpmc lib/libusb lib/libutil libexec/ypxfr sbin/fsck sbin/fsck_ffs sbin/geom/class/part sbin/geo...

2010-08-06 Thread Joel Dahl
Author: joel (doc committer) Date: Fri Aug 6 14:33:42 2010 New Revision: 210933 URL: http://svn.freebsd.org/changeset/base/210933 Log: Fix typos and spelling mistakes. Modified: head/lib/libc/net/sctp_recvmsg.3 head/lib/libc/net/sctp_sendmsg.3 head/lib/libc/stdlib/malloc.3

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

2010-08-06 Thread Jung-uk Kim
Author: jkim Date: Fri Aug 6 15:04:01 2010 New Revision: 210934 URL: http://svn.freebsd.org/changeset/base/210934 Log: Fix allocation of multiple pages, which forgot to increase page number. Particularly, it caused vm86_addpage: overlap panics under VirtualBox. Add a safety check before

svn commit: r210935 - head/sys/kern

2010-08-06 Thread Christian S.J. Peron
Author: csjp Date: Fri Aug 6 15:04:40 2010 New Revision: 210935 URL: http://svn.freebsd.org/changeset/base/210935 Log: Add Xen to the list of virtual vendors. In the non PV (HVM) case this fixes the virtualization detection successfully disabling the clflush instruction. This fixes

svn commit: r210936 - in head: contrib/bsnmp/snmp_mibII sbin/ifconfig usr.sbin/ndp usr.sbin/ppp

2010-08-06 Thread John Baldwin
Author: jhb Date: Fri Aug 6 15:09:21 2010 New Revision: 210936 URL: http://svn.freebsd.org/changeset/base/210936 Log: Ethernet vlan(4) interfaces have valid Ethernet link layer addresses but use a different interface type (IFT_L2VLAN vs IFT_ETHER). Treat IFT_L2VLAN interfaces like

svn commit: r210937 - head/sys/net

2010-08-06 Thread John Baldwin
Author: jhb Date: Fri Aug 6 15:15:26 2010 New Revision: 210937 URL: http://svn.freebsd.org/changeset/base/210937 Log: Adjust the interface type in the link layer socket address for vlan(4) interfaces to be a vlan (IFT_L2VLAN) rather than an Ethernet interface (IFT_ETHER). The code already

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

2010-08-06 Thread Jung-uk Kim
Author: jkim Date: Fri Aug 6 15:24:37 2010 New Revision: 210938 URL: http://svn.freebsd.org/changeset/base/210938 Log: Consistently use architecture specific macros. Modified: head/sys/compat/x86bios/x86bios.c Modified: head/sys/compat/x86bios/x86bios.c

svn commit: r210939 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include i386/xen ia64/ia64 ia64/include kern mips/include mips/mips powerpc/include powerpc/powerpc sparc64/include sun4v...

2010-08-06 Thread John Baldwin
Author: jhb Date: Fri Aug 6 15:36:59 2010 New Revision: 210939 URL: http://svn.freebsd.org/changeset/base/210939 Log: Add a new ipi_cpu() function to the MI IPI API that can be used to send an IPI to a specific CPU by its cpuid. Replace calls to ipi_selected() that constructed a mask for

Re: svn commit: r210923 - in head/sys: fs/devfs kern sys vm

2010-08-06 Thread Gavin Atkinson
On Fri, 2010-08-06 at 09:42 +, Konstantin Belousov wrote: Author: kib Date: Fri Aug 6 09:42:15 2010 New Revision: 210923 URL: http://svn.freebsd.org/changeset/base/210923 Log: Add new make_dev_p(9) flag MAKEDEV_ETERNAL to inform devfs that created cdev will never be destroyed.

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

2010-08-06 Thread Jung-uk Kim
Author: jkim Date: Fri Aug 6 15:59:00 2010 New Revision: 210940 URL: http://svn.freebsd.org/changeset/base/210940 Log: Correct argument order of acpi_restorecpu(), which was forgotten in r210804. Modified: head/sys/amd64/acpica/acpi_wakeup.c Modified: head/sys/amd64/acpica/acpi_wakeup.c

svn commit: r210941 - head/share/man/man9

2010-08-06 Thread Stefan Farfeleder
Author: stefanf Date: Fri Aug 6 16:50:48 2010 New Revision: 210941 URL: http://svn.freebsd.org/changeset/base/210941 Log: Add links for destroy_dev_drain, destroy_dev_sched, destroy_dev_sched_cb, make_dev_cred and make_dev_credf. Modified: head/share/man/man9/Makefile Modified:

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

2010-08-06 Thread Jung-uk Kim
Author: jkim Date: Fri Aug 6 17:21:32 2010 New Revision: 210942 URL: http://svn.freebsd.org/changeset/base/210942 Log: Remove unnecessary casting and simplify code. We are not there yet. ;-) Modified: head/sys/amd64/acpica/acpi_wakeup.c Modified: head/sys/amd64/acpica/acpi_wakeup.c

svn commit: r210943 - head/sys/dev/mpt

2010-08-06 Thread Matt Jacob
Author: mjacob Date: Fri Aug 6 17:27:00 2010 New Revision: 210943 URL: http://svn.freebsd.org/changeset/base/210943 Log: Figure which is the IO and MEM bars- do not assume that they are in a fixed order. PR: 149220 Obtained from:John Baldwin MFC after:1 month

svn commit: r210947 - in head/sys: amd64/conf i386/conf

2010-08-06 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Aug 6 18:46:27 2010 New Revision: 210947 URL: http://svn.freebsd.org/changeset/base/210947 Log: Fix whitespace nits. PR: conf/148989 Submitted by: pluknet pluknet at gmail.com MFC after:3 days Modified: head/sys/amd64/conf/GENERIC

Re: svn commit: r210923 - in head/sys: fs/devfs kern sys vm

2010-08-06 Thread Kostik Belousov
On Fri, Aug 06, 2010 at 04:39:36PM +0100, Gavin Atkinson wrote: On Fri, 2010-08-06 at 09:42 +, Konstantin Belousov wrote: Author: kib Date: Fri Aug 6 09:42:15 2010 New Revision: 210923 URL: http://svn.freebsd.org/changeset/base/210923 Log: Add new make_dev_p(9) flag

Re: svn commit: r210946 - head/contrib/bsnmp/snmp_mibII

2010-08-06 Thread John Baldwin
On Friday, August 06, 2010 2:44:07 pm Pyun YongHyeon wrote: Author: yongari Date: Fri Aug 6 18:44:07 2010 New Revision: 210946 URL: http://svn.freebsd.org/changeset/base/210946 Log: Fix a typo introduced in r210936 which broke build. Modified: head/contrib/bsnmp/snmp_mibII/mibII.c

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

2010-08-06 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 6 19:16:20 2010 New Revision: 210951 URL: http://svn.freebsd.org/changeset/base/210951 Log: Implement two new syscalls: bind(2) and connect(2) for operating on UNIX domain sockets. Modified: head/tools/regression/fstest/fstest.c Modified:

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

2010-08-06 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 6 19:16:48 2010 New Revision: 210952 URL: http://svn.freebsd.org/changeset/base/210952 Log: Add missing -U argument to usage. Modified: head/tools/regression/fstest/fstest.c Modified: head/tools/regression/fstest/fstest.c

svn commit: r210955 - head/tools/regression/fstest/tests/open

2010-08-06 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 6 19:20:35 2010 New Revision: 210955 URL: http://svn.freebsd.org/changeset/base/210955 Log: Test for EACCES also when opening FIFO or directory. Modified: head/tools/regression/fstest/tests/open/06.t Modified: head/tools/regression/fstest/tests/open/06.t

svn commit: r210956 - head/tools/regression/fstest/tests/open

2010-08-06 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 6 19:22:42 2010 New Revision: 210956 URL: http://svn.freebsd.org/changeset/base/210956 Log: open(2) returns EOPNOTSUPP when trying to open a socket. Added: head/tools/regression/fstest/tests/open/24.t (contents, props changed) Added:

svn commit: r210957 - head/include

2010-08-06 Thread Ed Schouten
Author: ed Date: Fri Aug 6 19:35:40 2010 New Revision: 210957 URL: http://svn.freebsd.org/changeset/base/210957 Log: Remove stale reference to UT_NAMESIZE from stdio.h. Spotted by: bde@ Modified: head/include/stdio.h Modified: head/include/stdio.h

svn commit: r210958 - in head: . lib/libcompat lib/libcompat/4.1 lib/libcompat/4.3

2010-08-06 Thread Ed Schouten
/ObsoleteFiles.inc Fri Aug 6 20:13:36 2010(r210958) @@ -14,6 +14,11 @@ # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last. # +# 20100806: removal of unused libcompat routines +OLD_FILES+=usr/share/man/man3/ascftime.3.gz +OLD_FILES+=usr/share/man/man3/cfree.3.gz +OLD_FILES

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

2010-08-06 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Aug 6 20:18:16 2010 New Revision: 210959 URL: http://svn.freebsd.org/changeset/base/210959 Log: Obviously the option is known as COMPAT_LINUX32 on amd64. PR: docs/149182 Pointed out by: Fernando fernando.apesteguia at gmail.com MFC after:

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

2010-08-06 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 6 20:48:10 2010 New Revision: 210965 URL: http://svn.freebsd.org/changeset/base/210965 Log: Add mknod(2) support. Submitted by: Jan Senolt seno...@centrum.cz Submitted by: Milan Cermak milan.cer...@sun.com Modified: head/tools/regression/fstest/fstest.c

svn commit: r210968 - head/sys/dev/e1000

2010-08-06 Thread Jack F Vogel
Author: jfv Date: Fri Aug 6 20:55:49 2010 New Revision: 210968 URL: http://svn.freebsd.org/changeset/base/210968 Log: Put the early setting of the MAC type back, its removal resulted in broken code in MSIX setup. Modified: head/sys/dev/e1000/if_igb.c Modified: head/sys/dev/e1000/if_igb.c

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

2010-08-06 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 6 21:02:53 2010 New Revision: 210969 URL: http://svn.freebsd.org/changeset/base/210969 Log: Convert file system type to upper case. Modified: head/tools/regression/fstest/tests/conf Modified: head/tools/regression/fstest/tests/conf

Re: svn commit: r210969 - head/tools/regression/fstest/tests

2010-08-06 Thread Ed Schouten
Hi Pawel, * Pawel Jakub Dawidek p...@freebsd.org wrote: + fs=`mount | egrep ^${pattern} | awk -F '[(,]' '{print $2}' | tr '[:lower:]' '[:upper:]'` ... + fs=`df -PT . | tail -1 | awk '{print $2}' | tr '[:lower:]' '[:upper:]'` Maybe this can be solved using '{ print toupper($2) }'?

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

2010-08-06 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 6 21:53:50 2010 New Revision: 210970 URL: http://svn.freebsd.org/changeset/base/210970 Log: For FreeBSD and Linux use awk's toupper() function. Suggested by: ed Modified: head/tools/regression/fstest/tests/conf Modified:

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

2010-08-06 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 6 21:56:32 2010 New Revision: 210971 URL: http://svn.freebsd.org/changeset/base/210971 Log: Check first todo() argument against operating system name and operating system name plus file system name. Modified: head/tools/regression/fstest/tests/misc.sh Modified:

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

2010-08-06 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 6 21:58:53 2010 New Revision: 210973 URL: http://svn.freebsd.org/changeset/base/210973 Log: ${GREP} can only be used after loading 'conf'. Modified: head/tools/regression/fstest/tests/misc.sh Modified: head/tools/regression/fstest/tests/misc.sh

svn commit: r210975 - head/usr.sbin/jail

2010-08-06 Thread Jamie Gritton
Author: jamie Date: Fri Aug 6 22:06:12 2010 New Revision: 210975 URL: http://svn.freebsd.org/changeset/base/210975 Log: Note that a jail without a command parameter will be persistent, instead of explicitly requiring one of command or persist. MFC after:3 days Modified:

Re: svn commit: r210969 - head/tools/regression/fstest/tests

2010-08-06 Thread Pawel Jakub Dawidek
On Fri, Aug 06, 2010 at 11:06:04PM +0200, Ed Schouten wrote: Hi Pawel, * Pawel Jakub Dawidek p...@freebsd.org wrote: + fs=`mount | egrep ^${pattern} | awk -F '[(,]' '{print $2}' | tr '[:lower:]' '[:upper:]'` ... + fs=`df -PT . | tail -1 | awk '{print $2}' | tr '[:lower:]'

svn commit: r210977 - head/sys/dev/acpica

2010-08-06 Thread Jung-uk Kim
Author: jkim Date: Fri Aug 6 23:35:33 2010 New Revision: 210977 URL: http://svn.freebsd.org/changeset/base/210977 Log: When EC burst mode is activated and multiple bytes are accessed, do not disable and enable repeatedly, just do it once per call. It also reduces code duplication. Check

svn commit: r210984 - in head/tools/regression/fstest/tests: chmod chown granular link mkdir mkfifo open rename rmdir symlink truncate unlink

2010-08-06 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 6 23:58:54 2010 New Revision: 210984 URL: http://svn.freebsd.org/changeset/base/210984 Log: Various cleanups, mostly to make the test work on FreeBSD/ZFS. Modified: head/tools/regression/fstest/tests/chmod/08.t head/tools/regression/fstest/tests/chmod/09.t

svn commit: r210986 - in head/sys/mips: include mips

2010-08-06 Thread Neel Natu
Author: neel Date: Sat Aug 7 01:49:44 2010 New Revision: 210986 URL: http://svn.freebsd.org/changeset/base/210986 Log: - Consolidate the the cache coherence attribute definitions in a single place. Adapted from Juli's changes to pte.h in the octeon branch:

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

2010-08-06 Thread Jung-uk Kim
Author: jkim Date: Sat Aug 7 03:45:45 2010 New Revision: 210992 URL: http://svn.freebsd.org/changeset/base/210992 Log: Optimize interrupt vector lookup. There is no need to check the page table. Modified: head/sys/compat/x86bios/x86bios.c Modified: head/sys/compat/x86bios/x86bios.c

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

2010-08-06 Thread Jung-uk Kim
Author: jkim Date: Sat Aug 7 04:05:58 2010 New Revision: 210993 URL: http://svn.freebsd.org/changeset/base/210993 Log: Do not block any I/O port on amd64. Modified: head/sys/compat/x86bios/x86bios.c Modified: head/sys/compat/x86bios/x86bios.c