svn commit: r216390 - in head/sys/mips: conf rmi rmi/dev/iic

2010-12-11 Thread Jayachandran C.
Author: jchandra Date: Sun Dec 12 06:00:26 2010 New Revision: 216390 URL: http://svn.freebsd.org/changeset/base/216390 Log: I2C drivers for XLR/XLS processors. - Major update to xlr_i2c.c: do multi-byte ops correctly, remove unnecessary code, add mutex to protect bus operations, style(9

svn commit: r216387 - head/bin/sh

2010-12-11 Thread Jilles Tjoelker
Author: jilles Date: Sun Dec 12 00:07:27 2010 New Revision: 216387 URL: http://svn.freebsd.org/changeset/base/216387 Log: sh: Remove the herefd hack. The herefd hack wrote out partial here documents while expanding them. It seems unnecessary complication given that other expansions just a

svn commit: r216385 - head/sys/i386/xen

2010-12-11 Thread Colin Percival
Author: cperciva Date: Sat Dec 11 22:33:33 2010 New Revision: 216385 URL: http://svn.freebsd.org/changeset/base/216385 Log: Reduce the Xen timecounter from 1GHz to 2^-9 GHz, thereby increasing the timecounter period from 2^32 ns (~4.3s) to 2^41 ns (~36m39s). Some time sharing systems can sk

svn commit: r216384 - head/bin/sh

2010-12-11 Thread Jilles Tjoelker
Author: jilles Date: Sat Dec 11 22:13:29 2010 New Revision: 216384 URL: http://svn.freebsd.org/changeset/base/216384 Log: sh: Replace some macros and repeated code in expand.c with functions. No functional change is intended, but the binary is about 1K smaller on i386. Modified: head/b

svn commit: r216383 - head/sys/powerpc/aim

2010-12-11 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Dec 11 20:29:52 2010 New Revision: 216383 URL: http://svn.freebsd.org/changeset/base/216383 Log: Add some isync()s related to the 64-bit MMU scratch page to avoid race conditions on its invalidation. Modified: head/sys/powerpc/aim/mmu_oea64.c head/sys/powerpc/

svn commit: r216382 - head/sys/i386/xen

2010-12-11 Thread Colin Percival
Author: cperciva Date: Sat Dec 11 20:12:42 2010 New Revision: 216382 URL: http://svn.freebsd.org/changeset/base/216382 Log: Make the machdep.independent_wallclock sysctl do what it says on the box. Modified: head/sys/i386/xen/clock.c Modified: head/sys/i386/xen/clock.c ==

svn commit: r216381 - head/lib/libc/powerpc64/sys

2010-12-11 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Dec 11 17:57:42 2010 New Revision: 216381 URL: http://svn.freebsd.org/changeset/base/216381 Log: Fix stack alignment (required to be to 16 bytes) instead of ptrace and cerror on powerpc64. Modified: head/lib/libc/powerpc64/sys/cerror.S head/lib/libc/powerpc64/

svn commit: r216380 - head/bin/sh

2010-12-11 Thread Jilles Tjoelker
Author: jilles Date: Sat Dec 11 17:47:27 2010 New Revision: 216380 URL: http://svn.freebsd.org/changeset/base/216380 Log: sh: Use vsnprintf() rather than crafting our own in fmtstr(). Add INTOFF/INTON as longjmp out of vsnprintf may cause memory leaks or undefined behaviour. Modified: hea

Re: svn commit: r216295 - in head/usr.sbin/bsnmpd: . tools tools/bsnmptools tools/libbsnmptools

2010-12-11 Thread Shteryana Shopova
Hi, This is now fixed. However I wouldn't expect bsnmpd(1) compiled with clang to work - it didn't run last time I checked several months ago, and I still get the same error - udo /usr/sbin/bsnmpd -d -c /root/snmpd.config snmpd[80050]: lm_load: open /usr/lib/snmp_mibII.so: Undefined symbol "oid_z

svn commit: r216379 - head/tools/regression/sockets/sendfile

2010-12-11 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Dec 11 16:06:52 2010 New Revision: 216379 URL: http://svn.freebsd.org/changeset/base/216379 Log: Allow to specify path to a file we want to test with sendfile(2). This allows to specify selected file system and not only /tmp/. Modified: head/tools/regression/sockets/se

svn commit: r216378 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-12-11 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Dec 11 13:35:25 2010 New Revision: 216378 URL: http://svn.freebsd.org/changeset/base/216378 Log: Remove redundant semicolon and empty like. Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/f

svn commit: r216377 - head/usr.sbin/bsnmpd/tools/libbsnmptools

2010-12-11 Thread Shteryana Shopova
Author: syrinx Date: Sat Dec 11 13:24:01 2010 New Revision: 216377 URL: http://svn.freebsd.org/changeset/base/216377 Log: Remove unnecessary debug/error CFLAGS. Reported by : pawel.worach (at) gmail (dot) com Modified: head/usr.sbin/bsnmpd/tools/libbsnmptools/Makefile Modified: head/u

svn commit: r216376 - head/sys/dev/acpi_support

2010-12-11 Thread Andriy Gapon
Author: avg Date: Sat Dec 11 10:55:18 2010 New Revision: 216376 URL: http://svn.freebsd.org/changeset/base/216376 Log: acpi_fujitsu: update for P8010 PR: kern/121102 Submitted by: Anish Mistry MFC after:3 weeks Modified: head/sys/dev/acpi_support/acpi_fujitsu.c Modifi

Re: svn commit: r216375 - head/sys/mips/rmi/dev/xlr

2010-12-11 Thread Andriy Gapon
on 11/12/2010 12:21 Andriy Gapon said the following: > Author: avg > Date: Sat Dec 11 10:21:38 2010 > New Revision: 216375 > URL: http://svn.freebsd.org/changeset/base/216375 > > Log: > fix atomic_set_xxx misuse in rge > > It seems that atomic_set_xxx and atomic_store_xxx were confused. Pl

svn commit: r216375 - head/sys/mips/rmi/dev/xlr

2010-12-11 Thread Andriy Gapon
Author: avg Date: Sat Dec 11 10:21:38 2010 New Revision: 216375 URL: http://svn.freebsd.org/changeset/base/216375 Log: fix atomic_set_xxx misuse in rge It seems that atomic_set_xxx and atomic_store_xxx were confused. Reviewed by: jhb (general issue) MFC after:3 weeks Modified:

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

2010-12-11 Thread Andriy Gapon
Author: avg Date: Sat Dec 11 10:18:05 2010 New Revision: 216374 URL: http://svn.freebsd.org/changeset/base/216374 Log: fix atomic_set_xxx misuse in drm It seems that atomic_set_xxx and atomic_store_xxx were confused. Reviewed by: jhb MFC after:3 weeks Modified: head/sys/dev/d

svn commit: r216373 - head/sys/dev/cxgb/ulp/tom

2010-12-11 Thread Andriy Gapon
Author: avg Date: Sat Dec 11 10:14:08 2010 New Revision: 216373 URL: http://svn.freebsd.org/changeset/base/216373 Log: fix incorrect use of atomic_set_xxx in cxgb There is no need to use an atomic operation at structure initialization time. Note that the file changed is not connected to

svn commit: r216372 - in head/usr.sbin: config gpioctl iostat lpr/common_source lpr/filters lpr/lpc lpr/lpd lpr/lpq lpr/lpr lpr/lprm lpr/lptest lpr/pac timed/timed timed/timedc traceroute6

2010-12-11 Thread Joel Dahl
Author: joel (doc committer) Date: Sat Dec 11 09:38:12 2010 New Revision: 216372 URL: http://svn.freebsd.org/changeset/base/216372 Log: Remove the advertising clause from UCB copyrighted files in usr.sbin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/

svn commit: r216371 - head/sys/kern

2010-12-11 Thread Hans Petter Selasky
Author: hselasky Date: Sat Dec 11 08:44:10 2010 New Revision: 216371 URL: http://svn.freebsd.org/changeset/base/216371 Log: Fix race in devfs by using LIST_FIRST() instead of LIST_FOREACH_SAFE() when freeing the devfs private data entries. Reviewed by: kib MFC after:3 days Appr

svn commit: r216369 - head/lib/libipsec

2010-12-11 Thread Kevin Lo
Author: kevlo Date: Sat Dec 11 08:07:21 2010 New Revision: 216369 URL: http://svn.freebsd.org/changeset/base/216369 Log: The use of snprintf() to append to a buffer is not valid according to C99 Modified: head/lib/libipsec/ipsec_dump_policy.c Modified: head/lib/libipsec/ipsec_dump_policy.c =