CVS commit: src/sys/dev/usb

2010-01-14 Thread Matthias Pfaller
Module Name:src
Committed By:   matthias
Date:   Thu Jan 14 09:30:39 UTC 2010

Modified Files:
src/sys/dev/usb: ums.c usbdevs usbdevs.h usbdevs_data.h

Log Message:
Make ums.c work with a Microsoft Natural Ergonomic Desktop 7000 mouse.
XXX The tilt function still doesn't work for me.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/dev/usb/ums.c
cvs rdiff -u -r1.539 -r1.540 src/sys/dev/usb/usbdevs
cvs rdiff -u -r1.534 -r1.535 src/sys/dev/usb/usbdevs.h
cvs rdiff -u -r1.535 -r1.536 src/sys/dev/usb/usbdevs_data.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists/base

2010-01-14 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Jan 14 10:04:19 UTC 2010

Modified Files:
src/distrib/sets/lists/base: ad.mips64eb ad.mips64el md.amd64
md.sparc64 mi rescue.mi shl.mi

Log Message:
Consistency: set for obsolete files should be foo-obsolete,
tags only obsolete.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/distrib/sets/lists/base/ad.mips64eb \
src/distrib/sets/lists/base/ad.mips64el
cvs rdiff -u -r1.82 -r1.83 src/distrib/sets/lists/base/md.amd64
cvs rdiff -u -r1.75 -r1.76 src/distrib/sets/lists/base/md.sparc64
cvs rdiff -u -r1.850 -r1.851 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.29 -r1.30 src/distrib/sets/lists/base/rescue.mi
cvs rdiff -u -r1.514 -r1.515 src/distrib/sets/lists/base/shl.mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/cats/pci

2010-01-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Jan 14 10:32:49 UTC 2010

Modified Files:
src/sys/arch/cats/pci: pcib.c

Log Message:
s/PCI_PRODUCT_ALI_M1543/PCI_PRODUCT_ALI_M1533/ now that dsl@ has fixed
pcidevs.

Hi dsl!


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/cats/pci/pcib.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/ld.elf_so/arch

2010-01-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Jan 14 11:57:06 UTC 2010

Modified Files:
src/libexec/ld.elf_so/arch/alpha: alpha_reloc.c
src/libexec/ld.elf_so/arch/arm: mdreloc.c
src/libexec/ld.elf_so/arch/hppa: hppa_reloc.c
src/libexec/ld.elf_so/arch/mips: mips_reloc.c

Log Message:
Shut gcc up.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/libexec/ld.elf_so/arch/alpha/alpha_reloc.c
cvs rdiff -u -r1.31 -r1.32 src/libexec/ld.elf_so/arch/arm/mdreloc.c
cvs rdiff -u -r1.31 -r1.32 src/libexec/ld.elf_so/arch/hppa/hppa_reloc.c
cvs rdiff -u -r1.57 -r1.58 src/libexec/ld.elf_so/arch/mips/mips_reloc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/ld.elf_so/arch

2010-01-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Jan 14 11:58:32 UTC 2010

Modified Files:
src/libexec/ld.elf_so/arch/alpha: alpha_reloc.c
src/libexec/ld.elf_so/arch/i386: mdreloc.c
src/libexec/ld.elf_so/arch/m68k: mdreloc.c

Log Message:
Wrap a few long lines.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/libexec/ld.elf_so/arch/alpha/alpha_reloc.c
cvs rdiff -u -r1.30 -r1.31 src/libexec/ld.elf_so/arch/i386/mdreloc.c
cvs rdiff -u -r1.25 -r1.26 src/libexec/ld.elf_so/arch/m68k/mdreloc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists/comp

2010-01-14 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Jan 14 12:01:58 UTC 2010

Modified Files:
src/distrib/sets/lists/comp: ad.mips64el md.amd64 md.sparc64 mi shl.mi

Log Message:
Consistency: set for obsolete files should be foo-obsolete.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/distrib/sets/lists/comp/ad.mips64el
cvs rdiff -u -r1.60 -r1.61 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.51 -r1.52 src/distrib/sets/lists/comp/md.sparc64
cvs rdiff -u -r1.1360 -r1.1361 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.96 -r1.97 src/distrib/sets/lists/comp/shl.mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists/man

2010-01-14 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Jan 14 12:05:15 UTC 2010

Modified Files:
src/distrib/sets/lists/man: mi

Log Message:
Consistency: set for obsolete files should be foo-obsolete.


To generate a diff of this commit:
cvs rdiff -u -r1.1181 -r1.1182 src/distrib/sets/lists/man/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists/misc

2010-01-14 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Jan 14 12:05:37 UTC 2010

Modified Files:
src/distrib/sets/lists/misc: mi

Log Message:
Consistency: set for obsolete files should be foo-obsolete.


To generate a diff of this commit:
cvs rdiff -u -r1.164 -r1.165 src/distrib/sets/lists/misc/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists/xbase

2010-01-14 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Jan 14 12:07:23 UTC 2010

Modified Files:
src/distrib/sets/lists/xbase: mi

Log Message:
Consistency: set for obsolete files should be foo-obsolete.


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/distrib/sets/lists/xbase/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists/comp

2010-01-14 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Jan 14 12:10:37 UTC 2010

Modified Files:
src/distrib/sets/lists/comp: ad.mips64eb

Log Message:
Consistency: set for obsolete files should be foo-obsolete.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/distrib/sets/lists/comp/ad.mips64eb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/ld.elf_so/arch/arm

2010-01-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Jan 14 12:12:07 UTC 2010

Modified Files:
src/libexec/ld.elf_so/arch/arm: mdreloc.c

Log Message:
Make DEBUG build compile.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/libexec/ld.elf_so/arch/arm/mdreloc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/ld.elf_so/arch/x86_64

2010-01-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Jan 14 12:14:49 UTC 2010

Modified Files:
src/libexec/ld.elf_so/arch/x86_64: mdreloc.c

Log Message:
Make DEBUG build compile.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/libexec/ld.elf_so/arch/x86_64/mdreloc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets

2010-01-14 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Thu Jan 14 13:45:51 UTC 2010

Modified Files:
src/distrib/sets: sets.subr

Log Message:
In addition to setting module=no if ${MKKMOD} is no, also
set kmod=no.  This should get evbppc building correctly again.


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/distrib/sets/sets.subr

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists

2010-01-14 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Jan 14 13:47:42 UTC 2010

Modified Files:
src/distrib/sets/lists/comp: mi shl.mi
src/distrib/sets/lists/man: mi
src/distrib/sets/lists/xetc: mi
src/distrib/sets/lists/xfont: mi
src/distrib/sets/lists/xserver: md.netwinder

Log Message:
More consistency with obsolete tag:
it should be only be accompanied by gcc={3,4} or {xorg,x11}, and only
if they are necessary, i.e. if the same line exists for the other setting
of gcc or xorg/x11.
Make it so.


To generate a diff of this commit:
cvs rdiff -u -r1.1361 -r1.1362 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.97 -r1.98 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.1182 -r1.1183 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.16 -r1.17 src/distrib/sets/lists/xetc/mi
cvs rdiff -u -r1.37 -r1.38 src/distrib/sets/lists/xfont/mi
cvs rdiff -u -r1.22 -r1.23 src/distrib/sets/lists/xserver/md.netwinder

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/puffs

2010-01-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 14 14:44:13 UTC 2010

Modified Files:
src/sys/fs/puffs: puffs_vnops.c

Log Message:
Since VOP_GETATTR() does not require a locked vnode, resolve and
reference the puffs_node before sending the request to the file
server.  This diminishes the window where the inode can be reclaimed
and be invalidated before it is accessed (but does not completely
eliminate the race, as that is a caller problem which we cannot
fix here).


To generate a diff of this commit:
cvs rdiff -u -r1.141 -r1.142 src/sys/fs/puffs/puffs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/installboot

2010-01-14 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Jan 14 16:27:49 UTC 2010

Modified Files:
src/usr.sbin/installboot: ext2fs.c ffs.c fstypes.c installboot.c
machines.c sum.c
src/usr.sbin/installboot/arch: amiga.c sparc64.c

Log Message:
Remove if defined(__RCSID) around __RCSID() macro.
#include nbtool_config.h is enough for tools.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/installboot/ext2fs.c
cvs rdiff -u -r1.28 -r1.29 src/usr.sbin/installboot/ffs.c
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/installboot/fstypes.c
cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/installboot/installboot.c
cvs rdiff -u -r1.35 -r1.36 src/usr.sbin/installboot/machines.c
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/installboot/sum.c
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/installboot/arch/amiga.c
cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/installboot/arch/sparc64.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/xlint/lint2

2010-01-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 14 16:58:27 UTC 2010

Modified Files:
src/usr.bin/xlint/lint2: chk.c main2.c

Log Message:
Add a list of functions where we usually don't care about their return
code. Can be bypassed by -hh


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/xlint/lint2/chk.c
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/xlint/lint2/main2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/mount_puffs

2010-01-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 14 21:25:49 UTC 2010

Added Files:
src/sbin/mount_puffs: Makefile mount_puffs.8 mount_puffs.c

Log Message:
Add a generic puffs kernel utility for querying mount arguments.
E.g.:
golem dtfs -r 'chr 15 25' dtfs /puffs
golem mount_puffs -o getargs dtfs /puffs
version=26, flags=0x10, root cookie=0xbb90c0c0, root type=VCHR, root 
size=0, root rdev=0xf19


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sbin/mount_puffs/Makefile \
src/sbin/mount_puffs/mount_puffs.8 src/sbin/mount_puffs/mount_puffs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tools/compat

2010-01-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 14 21:26:56 UTC 2010

Modified Files:
src/tools/compat: compat_defs.h

Log Message:
provide __arraycount for those that don't have it.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/tools/compat/compat_defs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists

2010-01-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 14 21:35:57 UTC 2010

Modified Files:
src/distrib/sets/lists/base: mi
src/distrib/sets/lists/comp: mi
src/distrib/sets/lists/man: mi

Log Message:
add mount_puffs


To generate a diff of this commit:
cvs rdiff -u -r1.851 -r1.852 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.1362 -r1.1363 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.1183 -r1.1184 src/distrib/sets/lists/man/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tools/compat

2010-01-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 14 21:38:19 UTC 2010

Modified Files:
src/tools/compat: compat_defs.h

Log Message:
undef and redefine instead of checking if it is define, from joerg


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/tools/compat/compat_defs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/mount_puffs

2010-01-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 14 22:06:54 UTC 2010

Modified Files:
src/sbin/mount_puffs: mount_puffs.c

Log Message:
from main with return 0;
(Why did I manage to succesfully build n times, including a full
distribution build, without tripping this before ?!?)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sbin/mount_puffs/mount_puffs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2010-01-14 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Jan 14 22:41:53 UTC 2010

Modified Files:
src/sys/kern: vfs_subr.c

Log Message:
Remove KASSERT(vp-v_usecount == 1) in getnewvnode() and ungetnewvnode().
Another process could be vget()ing the vnode and bump v_usecount while
getcleanvnode() is vclean()ing it (as vclean drops the interlock).
vget() will then wait for VI_XLOCK or VI_FREEING to clear; and we could test
this assertion while the other process is still slepping. We could even
end up in ungetnewvnode() before this other process got a chance to run.


To generate a diff of this commit:
cvs rdiff -u -r1.395 -r1.396 src/sys/kern/vfs_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Re: CVS commit: src/sys/kern

2010-01-14 Thread Antti Kantee
On Thu Jan 14 2010 at 22:41:53 +, Manuel Bouyer wrote:
 Module Name:  src
 Committed By: bouyer
 Date: Thu Jan 14 22:41:53 UTC 2010
 
 Modified Files:
   src/sys/kern: vfs_subr.c
 
 Log Message:
 Remove KASSERT(vp-v_usecount == 1) in getnewvnode() and ungetnewvnode().
 Another process could be vget()ing the vnode and bump v_usecount while
 getcleanvnode() is vclean()ing it (as vclean drops the interlock).
 vget() will then wait for VI_XLOCK or VI_FREEING to clear; and we could test
 this assertion while the other process is still slepping. We could even
 end up in ungetnewvnode() before this other process got a chance to run.

Why doesn't the v_usecount == 1 check in getcleanvnode() work?


CVS commit: [matt-nb5-mips64] src/sys/arch

2010-01-14 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Jan 15 06:47:00 UTC 2010

Modified Files:
src/sys/arch/arc/arc [matt-nb5-mips64]: bus_space_sparse.c
src/sys/arch/hpcmips/hpcmips [matt-nb5-mips64]: bus_space.c
src/sys/arch/mips/include [matt-nb5-mips64]: asm.h cpu.h locore.h
mips3_pte.h pmap.h
src/sys/arch/mips/mips [matt-nb5-mips64]: db_interface.c genassym.cf
locore_mips1.S mipsX_subr.S mips_machdep.c pmap.c pmap_segtab.c
trap.c wired_map.c

Log Message:
Get rid of most of the studly caps.
First to MULTIPROCESSOR support for pmap: move some pmap globals to cpu_info.
Define per-cpu ASID number spaces.
Remove some mips1/!mips1 difference in db_interface.c
Add mips32/64 knowledge to stacktrace.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.15.18.1 src/sys/arch/arc/arc/bus_space_sparse.c
cvs rdiff -u -r1.26 -r1.26.18.1 src/sys/arch/hpcmips/hpcmips/bus_space.c
cvs rdiff -u -r1.40.38.9 -r1.40.38.10 src/sys/arch/mips/include/asm.h
cvs rdiff -u -r1.90.16.11 -r1.90.16.12 src/sys/arch/mips/include/cpu.h
cvs rdiff -u -r1.78.36.1.2.7 -r1.78.36.1.2.8 \
src/sys/arch/mips/include/locore.h
cvs rdiff -u -r1.23.38.3 -r1.23.38.4 src/sys/arch/mips/include/mips3_pte.h
cvs rdiff -u -r1.54.26.4 -r1.54.26.5 src/sys/arch/mips/include/pmap.h
cvs rdiff -u -r1.64.16.11 -r1.64.16.12 src/sys/arch/mips/mips/db_interface.c
cvs rdiff -u -r1.44.12.7 -r1.44.12.8 src/sys/arch/mips/mips/genassym.cf
cvs rdiff -u -r1.64.26.1.2.2 -r1.64.26.1.2.3 \
src/sys/arch/mips/mips/locore_mips1.S
cvs rdiff -u -r1.26.36.1.2.16 -r1.26.36.1.2.17 \
src/sys/arch/mips/mips/mipsX_subr.S
cvs rdiff -u -r1.205.4.1.2.1.2.24 -r1.205.4.1.2.1.2.25 \
src/sys/arch/mips/mips/mips_machdep.c
cvs rdiff -u -r1.179.16.9 -r1.179.16.10 src/sys/arch/mips/mips/pmap.c
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/mips/mips/pmap_segtab.c
cvs rdiff -u -r1.217.12.13 -r1.217.12.14 src/sys/arch/mips/mips/trap.c
cvs rdiff -u -r1.4 -r1.4.62.1 src/sys/arch/mips/mips/wired_map.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.