CVS commit: src/sys/netinet

2010-03-31 Thread Thor Lancelot Simon
Module Name:src
Committed By:   tls
Date:   Wed Mar 31 07:31:15 UTC 2010

Modified Files:
src/sys/netinet: ip_input.c

Log Message:
Don't hold kernel lock across call to ip_input() -- it blocked *all*
hardware interrupts for the length of time it took for all dequeued
packets to flow up the stack (on multiprocessors only).  Initial testing
shows performance impact is minimal -- since this temporary fix actually
means taking/releasing the kernel lock per-packet, that seems
acceptable.

Holding the kernel lock across the ip_input() call duplicated the
exclusion intended to be provided by the socket locks/softnet lock
(same lock, for INET/INET6 sockets) and could mask serious bugs.  Several
hours' testing didn't turn any up but I'd be surprised if some don't now
appear.

Damon Permezel noticed the problem.  Temporary fix suggested by m...@.


To generate a diff of this commit:
cvs rdiff -u -r1.284 -r1.285 src/sys/netinet/ip_input.c

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



CVS commit: src/external/bsd/dhcpcd/dist

2010-03-31 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Wed Mar 31 09:14:56 UTC 2010

Update of /cvsroot/src/external/bsd/dhcpcd/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv17611

Log Message:
Import dhcpcd-5.2.2 with the following changes:
* Don't send a maximum DHCP message size beyond what we can handle.
* ip_id is now randomized.
* IPTOS_LOWDELAY and IP_DF flags are no longer set.

Status:

Vendor Tag: roy
Release Tags:   dhcpcd-5-2-2

U src/external/bsd/dhcpcd/dist/arp.c
U src/external/bsd/dhcpcd/dist/bind.c
U src/external/bsd/dhcpcd/dist/common.c
U src/external/bsd/dhcpcd/dist/control.c
U src/external/bsd/dhcpcd/dist/dhcp.c
U src/external/bsd/dhcpcd/dist/dhcpcd.c
U src/external/bsd/dhcpcd/dist/duid.c
U src/external/bsd/dhcpcd/dist/eloop.c
U src/external/bsd/dhcpcd/dist/if-options.c
U src/external/bsd/dhcpcd/dist/if-pref.c
U src/external/bsd/dhcpcd/dist/ipv4ll.c
U src/external/bsd/dhcpcd/dist/net.c
U src/external/bsd/dhcpcd/dist/signals.c
U src/external/bsd/dhcpcd/dist/configure.c
U src/external/bsd/dhcpcd/dist/bpf.c
U src/external/bsd/dhcpcd/dist/if-bsd.c
U src/external/bsd/dhcpcd/dist/platform-bsd.c
U src/external/bsd/dhcpcd/dist/dhcpcd.conf
U src/external/bsd/dhcpcd/dist/dhcpcd-run-hooks.8.in
U src/external/bsd/dhcpcd/dist/dhcpcd-run-hooks.in
U src/external/bsd/dhcpcd/dist/dhcpcd.8.in
U src/external/bsd/dhcpcd/dist/dhcpcd.conf.5.in
U src/external/bsd/dhcpcd/dist/arp.h
U src/external/bsd/dhcpcd/dist/bind.h
U src/external/bsd/dhcpcd/dist/bpf-filter.h
U src/external/bsd/dhcpcd/dist/common.h
U src/external/bsd/dhcpcd/dist/config.h
U src/external/bsd/dhcpcd/dist/configure.h
U src/external/bsd/dhcpcd/dist/control.h
U src/external/bsd/dhcpcd/dist/defs.h
U src/external/bsd/dhcpcd/dist/dhcp.h
U src/external/bsd/dhcpcd/dist/dhcpcd.h
U src/external/bsd/dhcpcd/dist/duid.h
U src/external/bsd/dhcpcd/dist/eloop.h
U src/external/bsd/dhcpcd/dist/if-options.h
U src/external/bsd/dhcpcd/dist/if-pref.h
U src/external/bsd/dhcpcd/dist/ipv4ll.h
U src/external/bsd/dhcpcd/dist/net.h
U src/external/bsd/dhcpcd/dist/platform.h
U src/external/bsd/dhcpcd/dist/signals.h
U src/external/bsd/dhcpcd/dist/compat/getline.c
U src/external/bsd/dhcpcd/dist/compat/getline.h
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/01-test
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/10-mtu
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/20-resolv.conf
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/29-lookup-hostname
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/30-hostname
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ntp.conf
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ypbind

No conflicts created by this import



CVS commit: src/doc

2010-03-31 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Wed Mar 31 09:21:44 UTC 2010

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
Note import of dhcpcd-5.2.2


To generate a diff of this commit:
cvs rdiff -u -r1.754 -r1.755 src/doc/3RDPARTY
cvs rdiff -u -r1.1372 -r1.1373 src/doc/CHANGES

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



CVS commit: src/sys/rump/librump/rumpkern

2010-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 31 11:35:33 UTC 2010

Modified Files:
src/sys/rump/librump/rumpkern: rump.c

Log Message:
* initialize msgbuf
* for banner, use aprint_verbose instead of if (verbose) printf


To generate a diff of this commit:
cvs rdiff -u -r1.155 -r1.156 src/sys/rump/librump/rumpkern/rump.c

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



CVS commit: src/sys/rump/librump/rumpkern

2010-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 31 12:16:15 UTC 2010

Modified Files:
src/sys/rump/librump/rumpkern: rump.c

Log Message:
set kernel boottime


To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 src/sys/rump/librump/rumpkern/rump.c

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



CVS commit: src/sys/net

2010-03-31 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Mar 31 12:17:01 UTC 2010

Modified Files:
src/sys/net: if_ieee1394subr.c

Log Message:
Now that fw_port.h is gone, we need to directly include 

Fixes build break reported by myself.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/net/if_ieee1394subr.c

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



CVS commit: src/sys/arch

2010-03-31 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Mar 31 12:56:14 UTC 2010

Modified Files:
src/sys/arch/hp700/hp700: genassym.cf intr.c locore.S
src/sys/arch/hp700/include: cpu.h intr.h
src/sys/arch/hppa/hppa: machdep.h trap.c

Log Message:
Make cpl, ipending, and intr_depth per CPU values.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/hp700/hp700/genassym.cf
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/hp700/hp700/intr.c
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/hp700/hp700/locore.S
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/hp700/include/cpu.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/hp700/include/intr.h
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/hppa/hppa/machdep.h
cvs rdiff -u -r1.84 -r1.85 src/sys/arch/hppa/hppa/trap.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_fdesc

2010-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 31 13:10:10 UTC 2010

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

Log Message:
initialize canon_dev


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sbin/mount_fdesc/mount_fdesc.c

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



CVS commit: src/sys/arch/atari/atari

2010-03-31 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Mar 31 13:15:52 UTC 2010

Modified Files:
src/sys/arch/atari/atari: be_bus.c bus.c

Log Message:
ANSIfy, some KNF.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/atari/atari/be_bus.c
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/atari/atari/bus.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_kernfs

2010-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 31 13:33:14 UTC 2010

Modified Files:
src/sbin/mount_kernfs: mount_kernfs.c
Added Files:
src/sbin/mount_kernfs: mount_kernfs.h

Log Message:
convert to parseargs


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sbin/mount_kernfs/mount_kernfs.c
cvs rdiff -u -r0 -r1.1 src/sbin/mount_kernfs/mount_kernfs.h

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



CVS commit: src/sys/rump/librump/rumpkern

2010-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 31 14:08:33 UTC 2010

Modified Files:
src/sys/rump/librump/rumpkern: emul.c

Log Message:
We don't have a real rootdev (by default at least), so set it to NODEV.


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 src/sys/rump/librump/rumpkern/emul.c

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



CVS commit: src/sys/rump/fs

2010-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 31 14:12:33 UTC 2010

Modified Files:
src/sys/rump/fs: Makefile.rumpfs

Log Message:
separate vfs-like components from actual drivers
(no functional change)


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/rump/fs/Makefile.rumpfs

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



CVS commit: src/sys/arch/atari/atari

2010-03-31 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Mar 31 14:12:55 UTC 2010

Modified Files:
src/sys/arch/atari/atari: disksubr.c intr.c machdep.c

Log Message:
Misc KNF and cosmetics.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/atari/atari/disksubr.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/atari/atari/intr.c
cvs rdiff -u -r1.165 -r1.166 src/sys/arch/atari/atari/machdep.c

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



CVS commit: src/sys/rump/fs

2010-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 31 14:18:33 UTC 2010

Modified Files:
src/sys/rump/fs: Makefile.rumpfs
Added Files:
src/sys/rump/fs/lib/libkernfs: Makefile shlib_version

Log Message:
support kernfs


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/rump/fs/Makefile.rumpfs
cvs rdiff -u -r0 -r1.1 src/sys/rump/fs/lib/libkernfs/Makefile \
src/sys/rump/fs/lib/libkernfs/shlib_version

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-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 31 14:21:23 UTC 2010

Modified Files:
src/distrib/sets/lists/base: shl.elf shl.mi
src/distrib/sets/lists/comp: mi shl.mi

Log Message:
+rumpfs_kernfs


To generate a diff of this commit:
cvs rdiff -u -r1.209 -r1.210 src/distrib/sets/lists/base/shl.elf
cvs rdiff -u -r1.530 -r1.531 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.1421 -r1.1422 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.111 -r1.112 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/usr.sbin/puffs

2010-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 31 14:22:27 UTC 2010

Modified Files:
src/usr.sbin/puffs: Makefile
Added Files:
src/usr.sbin/puffs/rump_kernfs: Makefile rump_kernfs.c

Log Message:
Add kernfs server.

Don't build & install it by default, since it represents the state
of the rump virtual kernel and not the host kernel.  However, it's
useful for debugging kernfs.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/puffs/Makefile
cvs rdiff -u -r0 -r1.1 src/usr.sbin/puffs/rump_kernfs/Makefile \
src/usr.sbin/puffs/rump_kernfs/rump_kernfs.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/puffs/rump_kernfs

2010-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 31 14:33:38 UTC 2010

Added Files:
src/usr.sbin/puffs/rump_kernfs: rump_kernfs.8

Log Message:
generate


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/usr.sbin/puffs/rump_kernfs/rump_kernfs.8

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



CVS commit: src/usr.sbin/puffs

2010-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 31 14:45:59 UTC 2010

Modified Files:
src/usr.sbin/puffs: makerumpmanpages.sh

Log Message:
Add note saying that the manual page is autogenerated and all parts
may not apply to this particular server.

TODO: have three different texts, one for device backed file systems
(e.g. ffs), another for network backed (e.g. nfs), and a third for
fictional (e.g. kernfs)


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/puffs/makerumpmanpages.sh

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



CVS commit: src/usr.sbin/puffs/rump_nqmfs

2010-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 31 14:49:02 UTC 2010

Modified Files:
src/usr.sbin/puffs/rump_nqmfs: rump_nqmfs.c

Log Message:
MAP_COPY is available only in _KERNEL  uh, so don't use it here.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/puffs/rump_nqmfs/rump_nqmfs.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/puffs

2010-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 31 14:49:47 UTC 2010

Modified Files:
src/usr.sbin/puffs/rump_cd9660: rump_cd9660.8
src/usr.sbin/puffs/rump_efs: rump_efs.8
src/usr.sbin/puffs/rump_ext2fs: rump_ext2fs.8
src/usr.sbin/puffs/rump_fdesc: rump_fdesc.8
src/usr.sbin/puffs/rump_ffs: rump_ffs.8
src/usr.sbin/puffs/rump_hfs: rump_hfs.8
src/usr.sbin/puffs/rump_kernfs: rump_kernfs.8
src/usr.sbin/puffs/rump_lfs: rump_lfs.8
src/usr.sbin/puffs/rump_msdos: rump_msdos.8
src/usr.sbin/puffs/rump_nfs: rump_nfs.8
src/usr.sbin/puffs/rump_ntfs: rump_ntfs.8
src/usr.sbin/puffs/rump_smbfs: rump_smbfs.8
src/usr.sbin/puffs/rump_sysvbfs: rump_sysvbfs.8
src/usr.sbin/puffs/rump_tmpfs: rump_tmpfs.8
src/usr.sbin/puffs/rump_udf: rump_udf.8

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/puffs/rump_cd9660/rump_cd9660.8
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/puffs/rump_efs/rump_efs.8
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/puffs/rump_ext2fs/rump_ext2fs.8
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/puffs/rump_fdesc/rump_fdesc.8
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/puffs/rump_ffs/rump_ffs.8
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/puffs/rump_hfs/rump_hfs.8
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/puffs/rump_kernfs/rump_kernfs.8
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/puffs/rump_lfs/rump_lfs.8
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/puffs/rump_msdos/rump_msdos.8
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/puffs/rump_nfs/rump_nfs.8
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/puffs/rump_ntfs/rump_ntfs.8
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/puffs/rump_smbfs/rump_smbfs.8
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/puffs/rump_sysvbfs/rump_sysvbfs.8
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/puffs/rump_tmpfs/rump_tmpfs.8
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/puffs/rump_udf/rump_udf.8

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



CVS commit: src/usr.sbin/puffs/rump_nqmfs

2010-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 31 14:54:07 UTC 2010

Modified Files:
src/usr.sbin/puffs/rump_nqmfs: rump_nqmfs.c

Log Message:
fix typo (at least it was in an error string instead of a comment)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/puffs/rump_nqmfs/rump_nqmfs.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/head

2010-03-31 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Mar 31 15:01:02 UTC 2010

Modified Files:
src/usr.bin/head: head.c

Log Message:
ANSIfy. Sprinkle static.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/head/head.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/head

2010-03-31 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Mar 31 15:01:51 UTC 2010

Modified Files:
src/usr.bin/head: head.c

Log Message:
Make eval a local variable.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/head/head.c

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



CVS commit: src/share/man/man1

2010-03-31 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed Mar 31 16:52:03 UTC 2010

Modified Files:
src/share/man/man1: ld.so.1

Log Message:
Add the "Linkers and Loaders" to SEE ALSO.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man1/ld.so.1

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



CVS commit: src/sys/arch/hp700/hp700

2010-03-31 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Mar 31 17:46:21 UTC 2010

Modified Files:
src/sys/arch/hp700/hp700: intr.c

Log Message:
2 RCSIDs are enough for anyone.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/hp700/hp700/intr.c

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



CVS commit: src/sys/dev/i2c

2010-03-31 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Wed Mar 31 18:07:13 UTC 2010

Modified Files:
src/sys/dev/i2c: dbcool.c dbcool_reg.h

Log Message:
Add preliminary support for the ADM1031 found in the Sun Blade 2500 and similar
machines. For now we treat it like an ADM1030 - the only difference is the
device ID and a few previously reserved registers.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/i2c/dbcool.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/dbcool_reg.h

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



CVS commit: src/tests/fs

2010-03-31 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Mar 31 18:37:06 UTC 2010

Modified Files:
src/tests/fs: Atffile

Log Message:
The Atffile tp/tp-glob keys does not allow more than one word. Put new
union value on its own line.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/fs/Atffile

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



CVS commit: src/tests/fs

2010-03-31 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Mar 31 18:40:27 UTC 2010

Modified Files:
src/tests/fs/ffs: Atffile
src/tests/fs/nullfs: Atffile
src/tests/fs/umapfs: Atffile
src/tests/fs/union: Atffile

Log Message:
Use tp-glob keys when requesting for test pattern.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/fs/ffs/Atffile
cvs rdiff -u -r1.1 -r1.2 src/tests/fs/nullfs/Atffile
cvs rdiff -u -r1.1 -r1.2 src/tests/fs/umapfs/Atffile
cvs rdiff -u -r1.1 -r1.2 src/tests/fs/union/Atffile

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



CVS commit: src/sys/rump/librump/rumpkern

2010-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 31 18:56:07 UTC 2010

Modified Files:
src/sys/rump/librump/rumpkern: rump.c

Log Message:
Create kern.hostname sysctl node.  Using init_sysctl.c for creating
the nodes requires some weeding, so don't try to use it yet.


To generate a diff of this commit:
cvs rdiff -u -r1.157 -r1.158 src/sys/rump/librump/rumpkern/rump.c

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



CVS commit: src/sys/arch/x86/x86

2010-03-31 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Wed Mar 31 19:07:33 UTC 2010

Modified Files:
src/sys/arch/x86/x86: pmap.c

Log Message:
KNF FTW


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/arch/x86/x86/pmap.c

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



CVS commit: src/tests/fs

2010-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 31 19:14:30 UTC 2010

Modified Files:
src/tests/fs: Makefile
Added Files:
src/tests/fs/kernfs: Atffile Makefile t_basic.c

Log Message:
Add some basic tests for kernfs (getdents & changing hostname).

Per a "mad \"scientist\"" experiment, on i386 load kernfs support
from the installed kernel module instead of linking the driver in.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/fs/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/fs/kernfs/Atffile \
src/tests/fs/kernfs/Makefile src/tests/fs/kernfs/t_basic.c

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



CVS commit: src

2010-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar 31 19:18:39 UTC 2010

Modified Files:
src/distrib/sets/lists/tests: mi
src/etc/mtree: NetBSD.dist.base

Log Message:
add necessary build bucatini for kernfs tests


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.14 -r1.15 src/etc/mtree/NetBSD.dist.base

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-03-31 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Wed Mar 31 19:59:39 UTC 2010

Modified Files:
src/sys/kern: kern_mutex_obj.c kern_rwlock_obj.c

Log Message:
Fix copyrights.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/kern/kern_mutex_obj.c \
src/sys/kern/kern_rwlock_obj.c

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



CVS commit: src/sys/dev/ic

2010-03-31 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Wed Mar 31 21:01:04 UTC 2010

Modified Files:
src/sys/dev/ic: pcf8584.c

Log Message:
remove a now useless bus_space_barrier()


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/ic/pcf8584.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/head

2010-03-31 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Mar 31 21:52:11 UTC 2010

Modified Files:
src/usr.bin/head: head.c

Log Message:
Remove 2**31 limit on the number of lines or bytes to process.
For the byte operations, process in blocks of 64KB.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.bin/head/head.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/head

2010-03-31 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Mar 31 21:55:23 UTC 2010

Modified Files:
src/usr.bin/head: head.c

Log Message:
Just ignore the errno of strtoimax, it doesn't provide much value.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/usr.bin/head/head.c

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



CVS commit: src/sys/netinet

2010-03-31 Thread Thor Lancelot Simon
Module Name:src
Committed By:   tls
Date:   Thu Apr  1 00:24:41 UTC 2010

Modified Files:
src/sys/netinet: ip_flow.c tcp_input.c

Log Message:
After discussion with ad@: it appears that KERNEL_LOCK also protects
the driver output path (that is, ifp->if_output()).  In the case of
entry through the socket code, we are fine, because pru_usrreq takes
KERNEL_LOCK.  However, there are a few other ways to cause output
which require protection:

1) direct calls to tcp_output() in tcp_input()
2) fast-forwarding code (ip_flow) -- protected elsewise
   against itself by the softnet lock.
3) *Possibly* the ARP code.  I have currently persuaded
   myself that it is safe because of how it's called.
4) Possibly the ICMP code.

This change addresses #1 and #2.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/netinet/ip_flow.c
cvs rdiff -u -r1.300 -r1.301 src/sys/netinet/tcp_input.c

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



CVS commit: src/sys/dev/pci

2010-03-31 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Apr  1 01:11:53 UTC 2010

Modified Files:
src/sys/dev/pci: if_bge.c

Log Message:
Fix the code for 5822 B0 errata. Use pci_conf_read() and access at
32bit alignment.


To generate a diff of this commit:
cvs rdiff -u -r1.180 -r1.181 src/sys/dev/pci/if_bge.c

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



CVS commit: src/sys/netinet

2010-03-31 Thread Thor Lancelot Simon
Module Name:src
Committed By:   tls
Date:   Thu Apr  1 01:23:32 UTC 2010

Modified Files:
src/sys/netinet: ip_input.c

Log Message:
As suggested by at least 3 different people (the guilty parties know who
they are) avoid repeated kernel_lock/unlock by using an intrq on the stack.

About 5%-10% better from run to run, on my *very* simpleminded test.  Can't
possibly be worse.


To generate a diff of this commit:
cvs rdiff -u -r1.285 -r1.286 src/sys/netinet/ip_input.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/puffs/mount_psshfs

2010-03-31 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Apr  1 02:34:09 UTC 2010

Modified Files:
src/usr.sbin/puffs/mount_psshfs: fs.c node.c psshfs.h subr.c

Log Message:
In case we create a file, reclaim the vnode, and lookup the file
without the directory timeout expiring, we get vattr_null as the
attributes for that file.  Ensure that we always report sane
attributes by getting them from the server if this is the case.
(also, sprinkle some const)

Fixes problem reported by dyoung.   But wait!  The bug's medallion
begins to glow!  The bug looks much better!  I crumble to dust.

There's probably another similar bug related to "lazy open".  It
will trigger if we reclaim a node before the response to the open
arrives.  Even the comments (typoless) know about this bug ...
But verifying it exists and fixing it will have to wait for another
day.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/puffs/mount_psshfs/fs.c
cvs rdiff -u -r1.60 -r1.61 src/usr.sbin/puffs/mount_psshfs/node.c
cvs rdiff -u -r1.39 -r1.40 src/usr.sbin/puffs/mount_psshfs/psshfs.h
cvs rdiff -u -r1.49 -r1.50 src/usr.sbin/puffs/mount_psshfs/subr.c

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



CVS commit: src

2010-03-31 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Apr  1 04:04:11 UTC 2010

Modified Files:
src/share/man/man4: nca.4 pci.4
src/sys/arch/i386/conf: ALL
src/sys/dev/pci: files.pci
Added Files:
src/sys/dev/pci: nca_pci.c

Log Message:
Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/nca.4
cvs rdiff -u -r1.91 -r1.92 src/share/man/man4/pci.4
cvs rdiff -u -r1.251 -r1.252 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.327 -r1.328 src/sys/dev/pci/files.pci
cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/nca_pci.c

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



CVS commit: src/sys/dev/i2c

2010-03-31 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Apr  1 04:29:35 UTC 2010

Modified Files:
src/sys/dev/i2c: dbcool.c dbcool_reg.h

Log Message:
add some more ADM1031 support:
- additional temperature and fan speed sensors work now
- limits on should work on all temperature sensors
Controlling fan behaviour doesn't work yet, the ADM1031 uses the same
register for both fans which doesn't quite fit with the way the dbcool
driver works.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/i2c/dbcool.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/dbcool_reg.h

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



CVS commit: src/doc

2010-03-31 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Apr  1 05:08:46 UTC 2010

Modified Files:
src/doc: CHANGES

Log Message:
mention ADM1031 support in dbcool


To generate a diff of this commit:
cvs rdiff -u -r1.1373 -r1.1374 src/doc/CHANGES

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



CVS commit: src/share/man/man4

2010-03-31 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Apr  1 05:10:52 UTC 2010

Modified Files:
src/share/man/man4: dbcool.4

Log Message:
mention adm1031 support


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man4/dbcool.4

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



CVS commit: src/sys/dev/i2c

2010-03-31 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Apr  1 05:26:48 UTC 2010

Modified Files:
src/sys/dev/i2c: dbcool.c

Log Message:
don't divide by zero. ever.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/i2c/dbcool.c

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



CVS commit: src/sys/dev/cardbus

2010-03-31 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Thu Apr  1 05:58:52 UTC 2010

Modified Files:
src/sys/dev/cardbus: siisata_cardbus.c

Log Message:
Cosmetic: join a couple of lines.  Stop storing the value of a BAR in a
temporary variable with the name 'csr'.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/cardbus/siisata_cardbus.c

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