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

2010-06-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jun  9 07:54:13 UTC 2010

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

Log Message:
Similarly to cv_wait, fail if trying to cv_wait_sig() without threads.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/rump/librump/rumpkern/locks.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/nullfs

2010-06-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jun  9 08:37:16 UTC 2010

Modified Files:
src/tests/fs/nullfs: t_basic.c

Log Message:
``twistymount'' regression test for scenario described in PR kern/43439


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/fs/nullfs/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-06-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jun  9 11:35:36 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser.c
src/sys/rump/include/rump: rumpuser.h
src/sys/rump/librump/rumpkern: vm.c

Log Message:
Add the ability to specify a preferred address the "map anon memory"
hypercall.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/librumpuser/rumpuser.c
cvs rdiff -u -r1.43 -r1.44 src/sys/rump/include/rump/rumpuser.h
cvs rdiff -u -r1.80 -r1.81 src/sys/rump/librump/rumpkern/vm.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-06-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jun  9 12:02:37 UTC 2010

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

Log Message:
On amd64, allocate module_map memory from the lowest 2GB.


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

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



CVS commit: src/tests/rump

2010-06-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jun  9 12:35:46 UTC 2010

Modified Files:
src/tests/rump: Atffile Makefile
Added Files:
src/tests/rump/modautoload: Atffile Makefile t_modautoload.c

Log Message:
Add a test which checks autoloading modules from the host's
/stand/arch/vers/kmods works in rump (and that the result is usable ;).

On i386 this "just works".  For amd64, due to -mcmodel=kernel,
things are a little more complicated.  We must have the entire rump
kernel loaded in the lower 2GB.  Currently, this can be done either
by using the non-PIC version for the rump kernel compiled with
-mcmodel=small, or, as njoly pointed out, using netbsd32, which
causes vm_default_addr() to give something in the lower 2GB and
therefore shared libs "magically" getting loaded there.  I guess
it would be possible to put a suggested vaddr into the rump kernel
libs and make ld.elf_so map memory from the suggested address if
present ... but that's another show.

Also thanks to tron for access to an amd64 so that I could verify
the test works.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/rump/Atffile src/tests/rump/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/rump/modautoload/Atffile \
src/tests/rump/modautoload/Makefile \
src/tests/rump/modautoload/t_modautoload.c

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



CVS commit: src/etc/mtree

2010-06-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jun  9 12:38:15 UTC 2010

Modified Files:
src/etc/mtree: NetBSD.dist.base

Log Message:
arbor days are here again


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 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/distrib/sets/lists/tests

2010-06-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jun  9 12:40:49 UTC 2010

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

Log Message:
+test


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/distrib/sets/lists/tests/mi

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



CVS commit: src/sys/dev/usb

2010-06-09 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  9 13:33:13 UTC 2010

Modified Files:
src/sys/dev/usb: ohci.c

Log Message:
Revert previous - it was committed unintentionally along with other changes.


To generate a diff of this commit:
cvs rdiff -u -r1.207 -r1.208 src/sys/dev/usb/ohci.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/tests

2010-06-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jun  9 13:44:22 UTC 2010

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

Log Message:
take care of the usual pastos invisible to the human eye


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/distrib/sets/lists/tests/mi

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-06-09 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed Jun  9 13:44:24 UTC 2010

Modified Files:
src/share/man/man4: aps.4 thinkpad.4

Log Message:
Reference aps(4) and thinkpad(4) with each other.

In aps(4) note that sensor values are refreshed every 0.5 seconds, which may
have a negative effect on battery life.

(Since the sensors are purely descriptive and no time-sensitive protective
measures are being carried out, it would probably be a good idea to remove
the whole callout(9) from the driver and let the sysmon's poll cycle take
over.)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/aps.4
cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/thinkpad.4

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-06-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jun  9 13:51:02 UTC 2010

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

Log Message:
initialize specificdata for lwp0 too


To generate a diff of this commit:
cvs rdiff -u -r1.175 -r1.176 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

2010-06-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jun  9 14:08:17 UTC 2010

Modified Files:
src/lib/librumpuser: rumpuser.c
src/sys/rump/include/rump: rumpuser.h
src/sys/rump/librump/rumpkern: rump.c

Log Message:
Version rumpuser ABI with a lightweight mechanism.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/librumpuser/rumpuser.c
cvs rdiff -u -r1.44 -r1.45 src/sys/rump/include/rump/rumpuser.h
cvs rdiff -u -r1.176 -r1.177 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: [matt-nb5-mips64] src/sys/arch/mips

2010-06-09 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun  9 14:20:00 UTC 2010

Modified Files:
src/sys/arch/mips/include [matt-nb5-mips64]: cpu.h proc.h
src/sys/arch/mips/mips [matt-nb5-mips64]: mips_machdep.c vm_machdep.c

Log Message:
Add support for setting/clearing PK_32 on _LP64 kernels.  Make cpu_proc_fork
a real function and add it to vm_machdep.c and let it copy PK_32 on fork.
Properly clear/set PK_32 depending on ABI in setregs.  Lack of PX_32 use
tracked down by Cliff Neighbors.  [Ya! ps now works!]


To generate a diff of this commit:
cvs rdiff -u -r1.90.16.28 -r1.90.16.29 src/sys/arch/mips/include/cpu.h
cvs rdiff -u -r1.21.36.8 -r1.21.36.9 src/sys/arch/mips/include/proc.h
cvs rdiff -u -r1.205.4.1.2.1.2.46 -r1.205.4.1.2.1.2.47 \
src/sys/arch/mips/mips/mips_machdep.c
cvs rdiff -u -r1.121.6.1.2.14 -r1.121.6.1.2.15 \
src/sys/arch/mips/mips/vm_machdep.c

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



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

2010-06-09 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun  9 14:22:17 UTC 2010

Modified Files:
src/sys/arch/mips/sibyte/dev [matt-nb5-mips64]: sbgbus.c sbjcn.c
sbjcnvar.h sbobio.c sbscd.c sbscn.c sbscnvar.h sbsmbus.c sbtimer.c
sbwdog.c
src/sys/arch/mips/sibyte/pci [matt-nb5-mips64]: sbbrz.c

Log Message:
Update to the device NWO:
Use CFATTACH_DECL_NEW
struct device * -> device_t
struct cfdata * -> cfdata_t
printf -> aprint_normal_*
Use device_* accessors


To generate a diff of this commit:
cvs rdiff -u -r1.10.96.1 -r1.10.96.2 src/sys/arch/mips/sibyte/dev/sbgbus.c
cvs rdiff -u -r1.21.14.1 -r1.21.14.2 src/sys/arch/mips/sibyte/dev/sbjcn.c
cvs rdiff -u -r1.2 -r1.2.126.1 src/sys/arch/mips/sibyte/dev/sbjcnvar.h
cvs rdiff -u -r1.16.98.1 -r1.16.98.2 src/sys/arch/mips/sibyte/dev/sbobio.c
cvs rdiff -u -r1.14 -r1.14.14.1 src/sys/arch/mips/sibyte/dev/sbscd.c
cvs rdiff -u -r1.27.14.2 -r1.27.14.3 src/sys/arch/mips/sibyte/dev/sbscn.c
cvs rdiff -u -r1.3 -r1.3.88.1 src/sys/arch/mips/sibyte/dev/sbscnvar.h
cvs rdiff -u -r1.13 -r1.13.84.1 src/sys/arch/mips/sibyte/dev/sbsmbus.c
cvs rdiff -u -r1.13.28.2 -r1.13.28.3 src/sys/arch/mips/sibyte/dev/sbtimer.c
cvs rdiff -u -r1.7.94.2 -r1.7.94.3 src/sys/arch/mips/sibyte/dev/sbwdog.c
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/arch/mips/sibyte/pci/sbbrz.c

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



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

2010-06-09 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun  9 14:24:12 UTC 2010

Modified Files:
src/sys/arch/mips/include [matt-nb5-mips64]: intr.h

Log Message:
Add a _IPL_NAMES(pfx) which is a list of strings corresponding to the
IPL names.


To generate a diff of this commit:
cvs rdiff -u -r1.3.96.12 -r1.3.96.13 src/sys/arch/mips/include/intr.h

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



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

2010-06-09 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun  9 14:25:30 UTC 2010

Modified Files:
src/sys/arch/mips/mips [matt-nb5-mips64]: spl.S

Log Message:
Don't clear SOFT_INT bits in spl0.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/arch/mips/mips/spl.S

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



CVS commit: [uebayasi-xip] src/sys/uvm

2010-06-09 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Wed Jun  9 15:29:58 UTC 2010

Modified Files:
src/sys/uvm [uebayasi-xip]: uvm_fault.c

Log Message:
Fix build with DIAGNOSTIC.


To generate a diff of this commit:
cvs rdiff -u -r1.166.2.6 -r1.166.2.7 src/sys/uvm/uvm_fault.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/make

2010-06-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun  9 16:58:23 UTC 2010

Modified Files:
src/usr.bin/make: make.1

Log Message:
Explain variable expansion better. Requested by Aleksey Cheusov


To generate a diff of this commit:
cvs rdiff -u -r1.174 -r1.175 src/usr.bin/make/make.1

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



CVS commit: src

2010-06-09 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Wed Jun  9 17:29:15 UTC 2010

Modified Files:
src: UPDATING

Log Message:
minor clarification


To generate a diff of this commit:
cvs rdiff -u -r1.213 -r1.214 src/UPDATING

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



CVS commit: src

2010-06-09 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Wed Jun  9 17:34:33 UTC 2010

Modified Files:
src/etc/etc.sandpoint: Makefile.inc
src/sys/arch/sandpoint/conf: GENERIC INSTALL KUROBOX
Added Files:
src/sys/arch/sandpoint/conf: INSTALL_KURO
Removed Files:
src/sys/arch/sandpoint/conf: GENERIC.NAS RAMDISK

Log Message:
The sandpoint port is now focussed on 824x based NAS boxes.
Replaced GENERIC by GENERIC.NAS.
Added INSTALL_KURO for KuroBox.
GENERIC.NAS and RAMDISK are no longer needed.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/etc/etc.sandpoint/Makefile.inc
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/sandpoint/conf/GENERIC
cvs rdiff -u -r1.14 -r0 src/sys/arch/sandpoint/conf/GENERIC.NAS
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/sandpoint/conf/INSTALL
cvs rdiff -u -r0 -r1.1 src/sys/arch/sandpoint/conf/INSTALL_KURO
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/sandpoint/conf/KUROBOX
cvs rdiff -u -r1.4 -r0 src/sys/arch/sandpoint/conf/RAMDISK

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



CVS commit: src/distrib

2010-06-09 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Wed Jun  9 17:37:24 UTC 2010

Modified Files:
src/distrib/notes/common: contents
src/distrib/notes/sandpoint: hardware install prep
src/distrib/sandpoint/md-kernel: Makefile
src/distrib/utils/sysinst/arch/sandpoint: md.c md.h msg.md.de msg.md.en
msg.md.es msg.md.fr msg.md.pl

Log Message:
Adapted sysinst and installation docs for modern NAS boxes.


To generate a diff of this commit:
cvs rdiff -u -r1.159 -r1.160 src/distrib/notes/common/contents
cvs rdiff -u -r1.6 -r1.7 src/distrib/notes/sandpoint/hardware
cvs rdiff -u -r1.4 -r1.5 src/distrib/notes/sandpoint/install
cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/sandpoint/prep
cvs rdiff -u -r1.1 -r1.2 src/distrib/sandpoint/md-kernel/Makefile
cvs rdiff -u -r1.30 -r1.31 src/distrib/utils/sysinst/arch/sandpoint/md.c
cvs rdiff -u -r1.12 -r1.13 src/distrib/utils/sysinst/arch/sandpoint/md.h
cvs rdiff -u -r1.4 -r1.5 src/distrib/utils/sysinst/arch/sandpoint/msg.md.de \
src/distrib/utils/sysinst/arch/sandpoint/msg.md.es
cvs rdiff -u -r1.10 -r1.11 src/distrib/utils/sysinst/arch/sandpoint/msg.md.en \
src/distrib/utils/sysinst/arch/sandpoint/msg.md.fr \
src/distrib/utils/sysinst/arch/sandpoint/msg.md.pl

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



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

2010-06-09 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun  9 18:13:46 UTC 2010

Modified Files:
src/sys/compat/netbsd32 [matt-nb5-mips64]: netbsd32_conv.h
netbsd32_socket.c

Log Message:
Fix socket passing in netbsd32 compat.  unfdpasses and incoming ssh
interactive session now work.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.19.12.1 src/sys/compat/netbsd32/netbsd32_conv.h
cvs rdiff -u -r1.33 -r1.33.12.1 src/sys/compat/netbsd32/netbsd32_socket.c

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



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

2010-06-09 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun  9 18:16:27 UTC 2010

Modified Files:
src/sys/arch/mips/mips [matt-nb5-mips64]: vm_machdep.c

Log Message:
only copy PK_32, left rest of p_flag along.


To generate a diff of this commit:
cvs rdiff -u -r1.121.6.1.2.15 -r1.121.6.1.2.16 \
src/sys/arch/mips/mips/vm_machdep.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-06-09 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Wed Jun  9 19:06:32 UTC 2010

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

Log Message:
Tag some manpages with "complex" so a build with "MKCOMPLEX=no" completes
successfully.


To generate a diff of this commit:
cvs rdiff -u -r1.1460 -r1.1461 src/distrib/sets/lists/comp/mi

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



CVS commit: src/bin/ed

2010-06-09 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Wed Jun  9 19:20:18 UTC 2010

Modified Files:
src/bin/ed: cbc.c

Log Message:
If the definition of a static function is #if DES, the declaration
of it should be too.  Fixes build of ed where MKCRYPTO=no.


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

2010-06-09 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Jun  9 21:36:45 UTC 2010

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

Log Message:
Add missing .debug extension.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/distrib/sets/lists/tests/mi

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



CVS commit: src/distrib/notes/sandpoint

2010-06-09 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun  9 21:49:41 UTC 2010

Modified Files:
src/distrib/notes/sandpoint: install prep

Log Message:
Fix a typo.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/distrib/notes/sandpoint/install
cvs rdiff -u -r1.4 -r1.5 src/distrib/notes/sandpoint/prep

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



CVS commit: src/doc

2010-06-09 Thread Matthias Scheler
Module Name:src
Committed By:   tron
Date:   Wed Jun  9 21:54:21 UTC 2010

Modified Files:
src/doc: RESPONSIBLE

Log Message:
Take responsability for Postfix.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/doc/RESPONSIBLE

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



CVS commit: src/usr.sbin/syslogd

2010-06-09 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Wed Jun  9 21:55:42 UTC 2010

Modified Files:
src/usr.sbin/syslogd: Makefile extern.h syslogd.c

Log Message:
Allow syslogd to compile when MKCRYPTO=no.  No promises as to whether
it works or not, as this has been broken since late 2008, when the
"encrypted connections" support was added to syslogd.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/syslogd/Makefile
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/syslogd/extern.h
cvs rdiff -u -r1.99 -r1.100 src/usr.sbin/syslogd/syslogd.c

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



CVS commit: src/external/lib

2010-06-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun  9 23:02:44 UTC 2010

Modified Files:
src/external/lib: Makefile

Log Message:
we can have ldap without crypto


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/lib/Makefile

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



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

2010-06-09 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Thu Jun 10 00:30:02 UTC 2010

Modified Files:
src/sys/arch/mips/conf [matt-nb5-mips64]: files.sibyte
Added Files:
src/sys/arch/mips/sibyte/dev [matt-nb5-mips64]: sbbuswatch.c
sbbuswatchvar.h

Log Message:
add bus watcher support for sibyte


To generate a diff of this commit:
cvs rdiff -u -r1.5.124.3 -r1.5.124.4 src/sys/arch/mips/conf/files.sibyte
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/mips/sibyte/dev/sbbuswatch.c \
src/sys/arch/mips/sibyte/dev/sbbuswatchvar.h

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



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

2010-06-09 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Thu Jun 10 00:32:11 UTC 2010

Modified Files:
src/sys/arch/mips/include [matt-nb5-mips64]: locore.h

Log Message:
- add lsw_bus_error to struct locoresw, provides hook to call
for chip-specific bus error handling/decode from e.g. trap()


To generate a diff of this commit:
cvs rdiff -u -r1.78.36.1.2.24 -r1.78.36.1.2.25 \
src/sys/arch/mips/include/locore.h

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



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

2010-06-09 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Thu Jun 10 00:33:51 UTC 2010

Modified Files:
src/sys/arch/mips/mips [matt-nb5-mips64]: trap.c

Log Message:
- in trap(), if traptype is bus error, call chip-specific bus error
handler in locoresw: (*mips_locoresw.lsw_bus_error)(cause)


To generate a diff of this commit:
cvs rdiff -u -r1.217.12.26 -r1.217.12.27 src/sys/arch/mips/mips/trap.c

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



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

2010-06-09 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Thu Jun 10 00:35:18 UTC 2010

Modified Files:
src/sys/arch/sbmips/sbmips [matt-nb5-mips64]: machdep.c

Log Message:
- set mips_locoresw.lsw_bus_error = sibyte_bus_watch_check
- call sb1250_ipl_map_init() to set the ipl_sr_map for sbmips.


To generate a diff of this commit:
cvs rdiff -u -r1.38.10.8 -r1.38.10.9 src/sys/arch/sbmips/sbmips/machdep.c

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



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

2010-06-09 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Thu Jun 10 00:37:12 UTC 2010

Modified Files:
src/sys/arch/mips/mips [matt-nb5-mips64]: mipsX_subr.S

Log Message:
in MIPSX(kern_intr), before "Call the interrupt handler",
store s1 to TF_BASE+TF_REG_SR(sp) to save STATUS there.
no big deal, it seems to be unused;  at least now it is unused correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.26.36.1.2.31 -r1.26.36.1.2.32 \
src/sys/arch/mips/mips/mipsX_subr.S

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



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

2010-06-09 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Thu Jun 10 00:37:58 UTC 2010

Modified Files:
src/sys/arch/mips/mips [matt-nb5-mips64]: pmap.c

Log Message:
in pmap_bootstrap:
- increase Sysmapsize to allow mapping all memory (e.g. for big tmpfs)
- when calculating mips_virtual_end, cast Sysmapsize to vaddr_t
before multiplying by NBPG to avoid overflow


To generate a diff of this commit:
cvs rdiff -u -r1.179.16.24 -r1.179.16.25 src/sys/arch/mips/mips/pmap.c

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



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

2010-06-09 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Thu Jun 10 00:38:11 UTC 2010

Modified Files:
src/sys/arch/mips/mips [matt-nb5-mips64]: pmap_tlb.c

Log Message:
- fix typo in evcnt string


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.11 -r1.1.2.12 src/sys/arch/mips/mips/pmap_tlb.c

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



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

2010-06-09 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Thu Jun 10 00:41:43 UTC 2010

Modified Files:
src/sys/arch/mips/rmi [matt-nb5-mips64]: rmixl_intr.c

Log Message:
- remove rmixl_spl_init_cpu calls from rmixl_intr_init_cpu
because rmixl_intr_init_cpu only runs on cpu#0.
rmixl_spl_init_cpu calls are now done in cpu_rmixl_atach (for cpu#0)
or cpu_rmixl_hatch (for other cpus).
- in evbmips_iointr, be sure to mask out count/compare interrupt
along with softints (these are handled elsewhere)
and improve coments
- fix bug in rmixl_send_ipi: 'cpus_running' is bit-indexed
by ci_index, not ci_cpuid


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.21 -r1.1.2.22 src/sys/arch/mips/rmi/rmixl_intr.c

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



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

2010-06-09 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Thu Jun 10 00:42:16 UTC 2010

Modified Files:
src/sys/kern [matt-nb5-mips64]: kern_subr.c

Log Message:
- in setroot(), in the `root on  ...' case, if the lookup failed
and we have no rootdev, then we have to ASK.


To generate a diff of this commit:
cvs rdiff -u -r1.192.4.1.4.3 -r1.192.4.1.4.4 src/sys/kern/kern_subr.c

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



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

2010-06-09 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Thu Jun 10 00:43:06 UTC 2010

Modified Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: autoconf.c

Log Message:
- in findroot(), add "sd" to search for root
we are kind of lying about 'booted_device' here,
until we figure out how to get booted dev info from the firmware.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/arch/evbmips/rmixl/autoconf.c

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



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

2010-06-09 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Thu Jun 10 01:11:26 UTC 2010

Modified Files:
src/sys/arch/mips/rmi [matt-nb5-mips64]: rmixl_cpu.c

Log Message:
- remove rmixl_spl_init_cpu calls from rmixl_intr_init_cpu
  because rmixl_intr_init_cpu only runs on cpu#0.
  rmixl_spl_init_cpu calls are now done in cpu_rmixl_atach (for cpu#0)
  or cpu_rmixl_hatch (for other cpus).
- add cpu_xls616_erratum to avoid count/compare conflict on XLS616
  XXX VERIFY WITH RMI
- rmixl_spl_init_cpu CPU#0 in attach, others in hatch
- remove splhi/splx for non-cpu#0 work in attach
  interrupts arent enabled yet anyway


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.11 -r1.1.2.12 src/sys/arch/mips/rmi/rmixl_cpu.c

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



CVS commit: src/lib/libcurses

2010-06-09 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Thu Jun 10 05:24:56 UTC 2010

Modified Files:
src/lib/libcurses: screen.c

Log Message:
After consultation with jdc@, apply the patch from PR 42412 even though
the crash went away -- it's not clear that it went away for any reason
besides by accident.

The change is: use calloc instead of malloc for allocating SCREENs.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/libcurses/screen.c

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



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

2010-06-09 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Thu Jun 10 05:45:50 UTC 2010

Modified Files:
src/sys/arch/mips/mips [matt-nb5-mips64]: pmap.c

Log Message:
Move "space on 256MB sbmips" comment into alternate of #ifdef where it applies.
Matthew Green noticed this one, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.179.16.25 -r1.179.16.26 src/sys/arch/mips/mips/pmap.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/arp

2010-06-09 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Thu Jun 10 06:03:20 UTC 2010

Modified Files:
src/usr.sbin/arp: arp.c

Log Message:
Allow -f -, as per PR 10898.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/usr.sbin/arp/arp.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/sa

2010-06-09 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Thu Jun 10 06:09:10 UTC 2010

Modified Files:
src/usr.sbin/sa: extern.h main.c pdb.c usrdb.c

Log Message:
de-__P()


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/sa/extern.h
cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/sa/main.c
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/sa/pdb.c
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/sa/usrdb.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/sa

2010-06-09 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Thu Jun 10 06:17:21 UTC 2010

Modified Files:
src/usr.sbin/sa: extern.h main.c pdb.c usrdb.c

Log Message:
ANSIfy function declarations


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/sa/extern.h
cvs rdiff -u -r1.26 -r1.27 src/usr.sbin/sa/main.c
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/sa/pdb.c
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/sa/usrdb.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/sa

2010-06-09 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Thu Jun 10 06:28:33 UTC 2010

Modified Files:
src/usr.sbin/sa: main.c pdb.c

Log Message:
sprinkle some const


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/sa/main.c
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/sa/pdb.c

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