svn commit: r203815 - head/lib/libusb

2010-02-13 Thread Wojciech A. Koszek
Author: wkoszek Date: Sat Feb 13 09:45:50 2010 New Revision: 203815 URL: http://svn.freebsd.org/changeset/base/203815 Log: Resort includes to match style(9) a bit more. No functional change is expected after this commit. Tested by:make buildworld Reviewed by: hps (patch without .h

svn commit: r203816 - head/sbin/restore

2010-02-13 Thread Jaakko Heinonen
Author: jh Date: Sat Feb 13 10:22:07 2010 New Revision: 203816 URL: http://svn.freebsd.org/changeset/base/203816 Log: Don't try to determine tape block size when the -P option is used. This was missed in r203157. PR: bin/121502 Modified: head/sbin/restore/tape.c Modified: he

svn commit: r203818 - head/sys/ufs/ffs

2010-02-13 Thread Konstantin Belousov
Author: kib Date: Sat Feb 13 10:34:50 2010 New Revision: 203818 URL: http://svn.freebsd.org/changeset/base/203818 Log: When ffs_realloccg() failed to allocate bigger fragment and, because pending blocks are scheduled for removal, goes to retry the (re)allocation, clear the bp pointer. It mig

svn commit: r203822 - head/sys/fs/msdosfs

2010-02-13 Thread Konstantin Belousov
Author: kib Date: Sat Feb 13 11:34:25 2010 New Revision: 203822 URL: http://svn.freebsd.org/changeset/base/203822 Log: Remove unused macros. MFC after:1 week Modified: head/sys/fs/msdosfs/denode.h Modified: head/sys/fs/msdosfs/denode.h ===

svn commit: r203823 - head/gnu/usr.bin/gdb/kgdb

2010-02-13 Thread Andriy Gapon
Author: avg Date: Sat Feb 13 11:47:04 2010 New Revision: 203823 URL: http://svn.freebsd.org/changeset/base/203823 Log: kgdb: initialize n_type field of nlist entry for kvm_nlist call kvm_nlist skips lookup for entries that have n_type != N_UNDF. N_UNDF happens to be zero, so n_type typica

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

2010-02-13 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Feb 13 11:54:01 2010 New Revision: 203824 URL: http://svn.freebsd.org/changeset/base/203824 Log: Fix VBAD description. Modified: head/share/man/man9/vnode.9 Modified: head/share/man/man9/vnode.9 =

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

2010-02-13 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Feb 13 12:03:03 2010 New Revision: 203825 URL: http://svn.freebsd.org/changeset/base/203825 Log: Remove list of locking primitives, which is kind of redundant, move information about witness(9) to the section about interactions, and expand 'contexts' table. Modified:

svn commit: r203826 - head/sys/fs/msdosfs

2010-02-13 Thread Konstantin Belousov
Author: kib Date: Sat Feb 13 12:11:03 2010 New Revision: 203826 URL: http://svn.freebsd.org/changeset/base/203826 Log: Use M_ZERO instead of calling bzero(). Fix function name in the comment. MFC after:1 week Modified: head/sys/fs/msdosfs/msdosfs_denode.c Modified: head/sys/fs/msd

Re: svn commit: r203826 - head/sys/fs/msdosfs

2010-02-13 Thread Ed Schouten
Hello Kostik, * Konstantin Belousov wrote: > /* > - * Do the MALLOC before the getnewvnode since doing so afterward > + * Do the malloc before the getnewvnode since doing so afterward >* might cause a bogus v_data pointer to get dereferenced >* elsewhere if MALLOC

svn commit: r203827 - head/sys/fs/msdosfs

2010-02-13 Thread Konstantin Belousov
Author: kib Date: Sat Feb 13 12:41:07 2010 New Revision: 203827 URL: http://svn.freebsd.org/changeset/base/203827 Log: - Add idempotency guards so the structures can be used in other utilities. - Update bpb structs with reserved fields. - In direntry struct join deName with deExtension. Alth

svn commit: r203828 - head/sys/fs/msdosfs

2010-02-13 Thread Konstantin Belousov
Author: kib Date: Sat Feb 13 12:50:09 2010 New Revision: 203828 URL: http://svn.freebsd.org/changeset/base/203828 Log: Fix function name in the comment in the second location too. Submitted by: ed MFC after:1 week Modified: head/sys/fs/msdosfs/msdosfs_denode.c Modified: head/sys/f

svn commit: r203829 - in head/sys: boot/sparc64/loader sparc64/include sun4v/include

2010-02-13 Thread Marius Strobl
Author: marius Date: Sat Feb 13 14:13:39 2010 New Revision: 203829 URL: http://svn.freebsd.org/changeset/base/203829 Log: - Assert that HEAPSZ is a multiple of PAGE_SIZE as at least the firmware of Sun Fire V1280 doesn't round up the size itself but instead lets claiming of non page-size

svn commit: r203830 - head/sys/boot/sparc64/loader

2010-02-13 Thread Marius Strobl
Author: marius Date: Sat Feb 13 14:40:42 2010 New Revision: 203830 URL: http://svn.freebsd.org/changeset/base/203830 Log: Use the SUNW,{d,i}tlb-load methods for entering locked TLB entries like OpenBSD and OpenSolaris do instead of fiddling with the MMUs ourselves. Unlike direct access the f

svn commit: r203831 - head/sys/boot/sparc64/loader

2010-02-13 Thread Marius Strobl
Author: marius Date: Sat Feb 13 15:12:46 2010 New Revision: 203831 URL: http://svn.freebsd.org/changeset/base/203831 Log: Correct the panic strings introduced in r203830 to match their arguments. Modified: head/sys/boot/sparc64/loader/main.c Modified: head/sys/boot/sparc64/loader/main.c

svn commit: r203833 - head/sys/sparc64/sparc64

2010-02-13 Thread Marius Strobl
Author: marius Date: Sat Feb 13 15:36:33 2010 New Revision: 203833 URL: http://svn.freebsd.org/changeset/base/203833 Log: - At least the trap table of the Sun Fire V1280 firmware apparently has no cleanwindows handler so just remove trying to trigger it from _start and the AP trampoline

svn commit: r203834 - in head/sys: dev/cxgb dev/e1000 dev/ixgbe dev/mxge net

2010-02-13 Thread Max Laier
Author: mlaier Date: Sat Feb 13 16:04:58 2010 New Revision: 203834 URL: http://svn.freebsd.org/changeset/base/203834 Log: Fix drbr and altq interaction: - introduce drbr_needs_enqueue that returns whether the interface/br needs an enqueue operation: returns true if altq is enabled or the

Re: svn commit: r203825 - head/share/man/man9

2010-02-13 Thread Ben Kaduk
On Sat, Feb 13, 2010 at 7:03 AM, Edward Tomasz Napierala wrote: > Author: trasz > Date: Sat Feb 13 12:03:03 2010 > New Revision: 203825 > URL: http://svn.freebsd.org/changeset/base/203825 > > Log: >  Remove list of locking primitives, which is kind of redundant, move >  information about witness(9

Re: svn commit: r203834 - in head/sys: dev/cxgb dev/e1000 dev/ixgbe dev/mxge net

2010-02-13 Thread Max Laier
On Saturday 13 February 2010 17:04:58 Max Laier wrote: > Author: mlaier > Date: Sat Feb 13 16:04:58 2010 > New Revision: 203834 > URL: http://svn.freebsd.org/changeset/base/203834 > > Log: > Fix drbr and altq interaction: >- introduce drbr_needs_enqueue that returns whether the interface/br

svn commit: r203835 - head/sbin/growfs

2010-02-13 Thread Gavin Atkinson
Author: gavin Date: Sat Feb 13 16:22:08 2010 New Revision: 203835 URL: http://svn.freebsd.org/changeset/base/203835 Log: When growing a UFS1 filesystem, we need to initialise all inodes in any new cylinder groups that are created. When the filesystem is first created, newfs always initialis

svn commit: r203838 - in head/sys/sparc64: include sparc64

2010-02-13 Thread Marius Strobl
Author: marius Date: Sat Feb 13 16:52:33 2010 New Revision: 203838 URL: http://svn.freebsd.org/changeset/base/203838 Log: - Search the whole OFW device tree instead of only the children of the root nexus device for the CPUs as starting with UltraSPARC IV the 'cpu' nodes hang off of from

svn commit: r203839 - head/sys/sparc64/sparc64

2010-02-13 Thread Marius Strobl
Author: marius Date: Sat Feb 13 17:05:57 2010 New Revision: 203839 URL: http://svn.freebsd.org/changeset/base/203839 Log: Style fixes Modified: head/sys/sparc64/sparc64/pmap.c Modified: head/sys/sparc64/sparc64/pmap.c ==

svn commit: r203843 - head/sys/sparc64/include

2010-02-13 Thread Marius Strobl
Author: marius Date: Sat Feb 13 18:18:45 2010 New Revision: 203843 URL: http://svn.freebsd.org/changeset/base/203843 Log: Resurrect nexusvar.h from r167307. Added: head/sys/sparc64/include/nexusvar.h - copied unchanged from r167307, head/sys/sparc64/include/nexusvar.h Copied: head/sys/s

svn commit: r203844 - in head/sys/sparc64: include sparc64

2010-02-13 Thread Marius Strobl
Author: marius Date: Sat Feb 13 18:51:49 2010 New Revision: 203844 URL: http://svn.freebsd.org/changeset/base/203844 Log: - Add the 'cmp' and 'core' pseudo-busses which are used to group CPU cores to the exclusion lists as the CPU nodes aren't handled as regular devices either. Also add

svn commit: r203845 - in head/sys: conf sparc64/sparc64

2010-02-13 Thread Marius Strobl
Author: marius Date: Sat Feb 13 19:05:34 2010 New Revision: 203845 URL: http://svn.freebsd.org/changeset/base/203845 Log: Add ssm(4), which serves as a glue device allowing devices beneath the scalable shared memory node, which is used in large UltraSPARC III based machines to group snooping

svn commit: r203846 - head/sys/sparc64/include

2010-02-13 Thread Marius Strobl
Author: marius Date: Sat Feb 13 19:17:06 2010 New Revision: 203846 URL: http://svn.freebsd.org/changeset/base/203846 Log: Predict KASSERTs to be true. Modified: head/sys/sparc64/include/asmacros.h Modified: head/sys/sparc64/include/asmacros.h =

svn commit: r203847 - head/sys/netinet

2010-02-13 Thread Michael Tuexen
Author: tuexen Date: Sat Feb 13 21:38:15 2010 New Revision: 203847 URL: http://svn.freebsd.org/changeset/base/203847 Log: Add missing SCTP_PACKED. Spotted by Irene Ruengeler. MFC after: 1 week Modified: head/sys/netinet/sctp_header.h Modified: head/sys/netinet/sctp_header.h

svn commit: r203848 - head/sys/fs/nfsserver

2010-02-13 Thread Rick Macklem
Author: rmacklem Date: Sat Feb 13 23:56:19 2010 New Revision: 203848 URL: http://svn.freebsd.org/changeset/base/203848 Log: This fixes the experimental NFS server so that it won't crash in the caching code for IPv6 by fixing a typo that used the incorrect variable. It also fixes the indentat

svn commit: r203849 - head/sys/fs/nfsserver

2010-02-13 Thread Rick Macklem
Author: rmacklem Date: Sun Feb 14 00:18:32 2010 New Revision: 203849 URL: http://svn.freebsd.org/changeset/base/203849 Log: Change the default value for vfs.newnfs.enable_locallocks to 0 for the experimental NFS server, since local locking is known to be broken and the patch to fix it is sti

svn commit: r203852 - head/sys/arm/include

2010-02-13 Thread Kevin Lo
Author: kevlo Date: Sun Feb 14 05:02:08 2010 New Revision: 203852 URL: http://svn.freebsd.org/changeset/base/203852 Log: Correct cpu id for FA526. While I'm here, add cpu id for FA626TE. Modified: head/sys/arm/include/armreg.h Modified: head/sys/arm/include/armreg.h ===