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

2010-01-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jan 20 09:04:35 UTC 2010

Modified Files:
src/sys/arch/algor/dev [matt-nb5-mips64]: mainbus.c
src/sys/arch/arc/arc [matt-nb5-mips64]: bus_dma.c machdep.c
src/sys/arch/arc/pci [matt-nb5-mips64]: necpb.c
src/sys/arch/cobalt/cobalt [matt-nb5-mips64]: bus.c
src/sys/arch/cobalt/dev [matt-nb5-mips64]: gt.c
src/sys/arch/evbmips/alchemy [matt-nb5-mips64]: dbau1500.c dbau1550.c
genericbd.c mtx-1.c omsal400.c
src/sys/arch/evbmips/atheros [matt-nb5-mips64]: machdep.c
src/sys/arch/evbmips/evbmips [matt-nb5-mips64]: yamon.c
src/sys/arch/evbmips/malta [matt-nb5-mips64]: malta_intr.c
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c
src/sys/arch/ews4800mips/ews4800mips [matt-nb5-mips64]: bus_dma.c
machdep.c tr2.c tr2a.c
src/sys/arch/mips/adm5120/dev [matt-nb5-mips64]: admpci.c
src/sys/arch/mips/alchemy [matt-nb5-mips64]: au1000.c au1100.c au1500.c
au1550.c au_chipdep.c au_timer.c
src/sys/arch/mips/alchemy/dev [matt-nb5-mips64]: aupci.c
src/sys/arch/mips/include [matt-nb5-mips64]: cpu.h
src/sys/arch/mips/mips [matt-nb5-mips64]: cache.c cache_r10k.c
cache_r3k.c cache_r4k.c cache_r5k.c cache_r5k_subr.S cache_tx39.c
db_interface.c genassym.cf mips_machdep.c mips_mcclock.c
mips_mcclock.h
src/sys/arch/mips/rmi [matt-nb5-mips64]: rmixl_cpucore.c
rmixl_cpunode.c rmixl_intr.c rmixl_pcie.c
src/sys/arch/mipsco/mipsco [matt-nb5-mips64]: bus_dma.c
src/sys/arch/newsmips/apbus [matt-nb5-mips64]: if_tlp_ap.c
src/sys/arch/newsmips/newsmips [matt-nb5-mips64]: bus.c machdep.c
src/sys/arch/sgimips/dev [matt-nb5-mips64]: crime.c
src/sys/arch/sgimips/gio [matt-nb5-mips64]: pci_gio.c
src/sys/arch/sgimips/mace [matt-nb5-mips64]: pci_mace.c
src/sys/arch/sgimips/sgimips [matt-nb5-mips64]: bus.c machdep.c

Log Message:
Adjust things to the new world order.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.20.18.1 src/sys/arch/algor/dev/mainbus.c
cvs rdiff -u -r1.30.16.1 -r1.30.16.2 src/sys/arch/arc/arc/bus_dma.c
cvs rdiff -u -r1.112.10.1 -r1.112.10.2 src/sys/arch/arc/arc/machdep.c
cvs rdiff -u -r1.32 -r1.32.14.1 src/sys/arch/arc/pci/necpb.c
cvs rdiff -u -r1.35.16.2 -r1.35.16.3 src/sys/arch/cobalt/cobalt/bus.c
cvs rdiff -u -r1.21 -r1.21.16.1 src/sys/arch/cobalt/dev/gt.c
cvs rdiff -u -r1.3 -r1.3.98.1 src/sys/arch/evbmips/alchemy/dbau1500.c \
src/sys/arch/evbmips/alchemy/mtx-1.c
cvs rdiff -u -r1.8 -r1.8.66.1 src/sys/arch/evbmips/alchemy/dbau1550.c
cvs rdiff -u -r1.1 -r1.1.98.1 src/sys/arch/evbmips/alchemy/genericbd.c
cvs rdiff -u -r1.5 -r1.5.64.1 src/sys/arch/evbmips/alchemy/omsal400.c
cvs rdiff -u -r1.13.10.3 -r1.13.10.4 src/sys/arch/evbmips/atheros/machdep.c
cvs rdiff -u -r1.11 -r1.11.16.1 src/sys/arch/evbmips/evbmips/yamon.c
cvs rdiff -u -r1.19 -r1.19.16.1 src/sys/arch/evbmips/malta/malta_intr.c
cvs rdiff -u -r1.1.2.14 -r1.1.2.15 src/sys/arch/evbmips/rmixl/machdep.c
cvs rdiff -u -r1.9.16.1 -r1.9.16.2 \
src/sys/arch/ews4800mips/ews4800mips/bus_dma.c
cvs rdiff -u -r1.14.10.1 -r1.14.10.2 \
src/sys/arch/ews4800mips/ews4800mips/machdep.c
cvs rdiff -u -r1.3 -r1.3.18.1 src/sys/arch/ews4800mips/ews4800mips/tr2.c \
src/sys/arch/ews4800mips/ews4800mips/tr2a.c
cvs rdiff -u -r1.1.62.1 -r1.1.62.2 src/sys/arch/mips/adm5120/dev/admpci.c
cvs rdiff -u -r1.7 -r1.7.62.1 src/sys/arch/mips/alchemy/au1000.c \
src/sys/arch/mips/alchemy/au1100.c
cvs rdiff -u -r1.8 -r1.8.62.1 src/sys/arch/mips/alchemy/au1500.c
cvs rdiff -u -r1.11 -r1.11.62.1 src/sys/arch/mips/alchemy/au1550.c
cvs rdiff -u -r1.1 -r1.1.98.1 src/sys/arch/mips/alchemy/au_chipdep.c
cvs rdiff -u -r1.9 -r1.9.16.1 src/sys/arch/mips/alchemy/au_timer.c
cvs rdiff -u -r1.8 -r1.8.62.1 src/sys/arch/mips/alchemy/dev/aupci.c
cvs rdiff -u -r1.90.16.13 -r1.90.16.14 src/sys/arch/mips/include/cpu.h
cvs rdiff -u -r1.33.96.1 -r1.33.96.2 src/sys/arch/mips/mips/cache.c
cvs rdiff -u -r1.4 -r1.4.96.1 src/sys/arch/mips/mips/cache_r10k.c \
src/sys/arch/mips/mips/cache_r3k.c
cvs rdiff -u -r1.10 -r1.10.96.1 src/sys/arch/mips/mips/cache_r4k.c
cvs rdiff -u -r1.12 -r1.12.96.1 src/sys/arch/mips/mips/cache_r5k.c
cvs rdiff -u -r1.1.126.2 -r1.1.126.3 src/sys/arch/mips/mips/cache_r5k_subr.S
cvs rdiff -u -r1.6 -r1.6.28.1 src/sys/arch/mips/mips/cache_tx39.c
cvs rdiff -u -r1.64.16.13 -r1.64.16.14 src/sys/arch/mips/mips/db_interface.c
cvs rdiff -u -r1.44.12.10 -r1.44.12.11 src/sys/arch/mips/mips/genassym.cf
cvs rdiff -u -r1.205.4.1.2.1.2.27 -r1.205.4.1.2.1.2.28 \
src/sys/arch/mips/mips/mips_machdep.c
cvs rdiff -u -r1.16 -r1.16.28.1 src/sys/arch/mips/mips/mips_mcclock.c
cvs rdiff -u -r1.5 -r1.5.96.1 src/sys/arch/mips/mips/mips_mcclock.h
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/mips/rmi/rmixl_cpucore.c \
src/sys/arch/mips/rmi/rmixl_cpunode.c
cvs rdiff -u -r1.1.2.6 

CVS commit: src/sys/dev/pci

2010-01-20 Thread Tonnerre Lombard
Module Name:src
Committed By:   tonnerre
Date:   Wed Jan 20 09:05:12 UTC 2010

Modified Files:
src/sys/dev/pci: azalia.c
src/sys/dev/pci/hdaudio: hdaudio_afg.c

Log Message:
Signedness bug/crash in azalia and hdaudio. Fixes PR 42604.
By Pierre Pronchery.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/dev/pci/azalia.c
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/pci/hdaudio/hdaudio_afg.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/iscsi/dist/src/lib

2010-01-20 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Wed Jan 20 10:33:08 UTC 2010

Modified Files:
src/external/bsd/iscsi/dist/src/lib: disk.c

Log Message:
implement REPORT LUNS for non-zero LUNs correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/iscsi/dist/src/lib/disk.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/pcc

2010-01-20 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Wed Jan 20 11:45:55 UTC 2010

Modified Files:
src/external/bsd/pcc: Makefile Makefile.inc
src/external/bsd/pcc/lib: Makefile
src/external/bsd/pcc/lib/crtstuff: Makefile
src/external/bsd/pcc/lib/libpcc: Makefile
src/external/bsd/pcc/libexec: Makefile
src/external/bsd/pcc/libexec/ccom: Makefile
src/external/bsd/pcc/libexec/cpp: Makefile
src/external/bsd/pcc/usr.bin/pcc: Makefile
Added Files:
src/external/bsd/pcc/lib: Makefile.inc
src/external/bsd/pcc/libexec: Makefile.inc
src/external/bsd/pcc/usr.bin: Makefile.inc

Log Message:
Clean up the build framework for pcc

  - use  to include <../Makefile.inc> files
  - add Makefile.inc files that pull in appropriate build settings
  - fix the LIBEXECDIR definition (should have trailing /)
  - make cc.1 install as pcc.1 to match the binary
  - use YHEADER= to build the yacc headers
  - general consistency tidy up


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/pcc/Makefile \
src/external/bsd/pcc/Makefile.inc
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/pcc/lib/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/pcc/lib/Makefile.inc
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/pcc/lib/crtstuff/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/pcc/lib/libpcc/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/pcc/libexec/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/pcc/libexec/Makefile.inc
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/pcc/libexec/ccom/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/pcc/libexec/cpp/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/pcc/usr.bin/Makefile.inc
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/pcc/usr.bin/pcc/Makefile

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



CVS commit: src/external/bsd/iscsi/dist/src/lib

2010-01-20 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Wed Jan 20 11:50:29 UTC 2010

Modified Files:
src/external/bsd/iscsi/dist/src/lib: target.c

Log Message:
- remove unnecessary and confusing initialization of sess->d.
- add an assertion.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/iscsi/dist/src/lib/target.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/man9

2010-01-20 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jan 20 12:09:39 UTC 2010

Modified Files:
src/share/man/man9: Makefile
Added Files:
src/share/man/man9: bpf.9

Log Message:
add short description for bpf.9


To generate a diff of this commit:
cvs rdiff -u -r1.305 -r1.306 src/share/man/man9/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man9/bpf.9

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



CVS commit: src/doc

2010-01-20 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jan 20 12:12:09 UTC 2010

Modified Files:
src/doc: CHANGES

Log Message:
bpf.4 did not change.  point entry to the newly-born bpf.9


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

2010-01-20 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jan 20 12:14:00 UTC 2010

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

Log Message:
add bpf.9 manpage


To generate a diff of this commit:
cvs rdiff -u -r1.1367 -r1.1368 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/crypto/dist/heimdal/lib

2010-01-20 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Jan 20 12:54:17 UTC 2010

Modified Files:
src/crypto/dist/heimdal/lib/asn1: gen_locl.h lex.h
src/crypto/dist/heimdal/lib/com_err: compile_et.c compile_et.h
src/crypto/dist/heimdal/lib/roken: get_window_size.c getarg.c strlcat.c
strlcpy.c strupr.c warnerr.c
src/crypto/dist/heimdal/lib/vers: print_version.c

Log Message:
Don't include src/include heimdal/roken.h on tools build because
it's "an OS dependent, generated file" configured for the target NetBSD
as noted in itself.  Instead, include 
(which is included from generated  and required
for TRUE and fALSE definitions) and "nbtool_config.h" on tools build.

Fixes PR toolchain/41435 and makes cross build on Cygwin-1.7 work.
No particular comments in the PR.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/crypto/dist/heimdal/lib/asn1/gen_locl.h \
src/crypto/dist/heimdal/lib/asn1/lex.h
cvs rdiff -u -r1.6 -r1.7 src/crypto/dist/heimdal/lib/com_err/compile_et.c
cvs rdiff -u -r1.2 -r1.3 src/crypto/dist/heimdal/lib/com_err/compile_et.h
cvs rdiff -u -r1.3 -r1.4 src/crypto/dist/heimdal/lib/roken/get_window_size.c \
src/crypto/dist/heimdal/lib/roken/getarg.c \
src/crypto/dist/heimdal/lib/roken/warnerr.c
cvs rdiff -u -r1.5 -r1.6 src/crypto/dist/heimdal/lib/roken/strlcat.c \
src/crypto/dist/heimdal/lib/roken/strlcpy.c \
src/crypto/dist/heimdal/lib/roken/strupr.c
cvs rdiff -u -r1.8 -r1.9 src/crypto/dist/heimdal/lib/vers/print_version.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/mtree

2010-01-20 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Wed Jan 20 13:50:27 UTC 2010

Modified Files:
src/usr.sbin/mtree: mtree.8

Log Message:
Document -t (modify mtime).  Bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/usr.sbin/mtree/mtree.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/mtree

2010-01-20 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jan 20 14:00:48 UTC 2010

Modified Files:
src/usr.sbin/mtree: mtree.8

Log Message:
Fix date.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/usr.sbin/mtree/mtree.8

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



Re: CVS commit: src/crypto/dist/heimdal/lib

2010-01-20 Thread Thomas Klausner
On Wed, Jan 20, 2010 at 12:54:17PM +, Izumi Tsutsui wrote:
> Module Name:  src
> Committed By: tsutsui
> Date: Wed Jan 20 12:54:17 UTC 2010
> 
> Modified Files:
>   src/crypto/dist/heimdal/lib/asn1: gen_locl.h lex.h
>   src/crypto/dist/heimdal/lib/com_err: compile_et.c compile_et.h
>   src/crypto/dist/heimdal/lib/roken: get_window_size.c getarg.c strlcat.c
>   strlcpy.c strupr.c warnerr.c
>   src/crypto/dist/heimdal/lib/vers: print_version.c
> 
> Log Message:
> Don't include src/include heimdal/roken.h on tools build because
> it's "an OS dependent, generated file" configured for the target NetBSD
> as noted in itself.  Instead, include 
> (which is included from generated  and required
> for TRUE and fALSE definitions) and "nbtool_config.h" on tools build.
> 
> Fixes PR toolchain/41435 and makes cross build on Cygwin-1.7 work.
> No particular comments in the PR.

On NetBSD-5.99.23/amd64:
/usr/src/crypto/dist/heimdal/lib/roken/getarg.c: In function 'arg_printusage':
/usr/src/crypto/dist/heimdal/lib/roken/getarg.c:220: error: storage size of 
'ws' isn't known
*** [getarg.lo] Error code 1

 Thomas


CVS commit: src/crypto/dist/heimdal/lib/roken

2010-01-20 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Jan 20 15:03:51 UTC 2010

Modified Files:
src/crypto/dist/heimdal/lib/roken: get_window_size.c getarg.c

Log Message:
Backout previous which breaks build on NetBSD. Pointed out by w...@.

Probably we have to add a check for HAVE_STRUCT_WINSIZE
in src/tools/configure as src/crypto/dist/heimdal/configure does.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/crypto/dist/heimdal/lib/roken/get_window_size.c \
src/crypto/dist/heimdal/lib/roken/getarg.c

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



Re: CVS commit: src/crypto/dist/heimdal/lib

2010-01-20 Thread Izumi Tsutsui
> On NetBSD-5.99.23/amd64:
> /usr/src/crypto/dist/heimdal/lib/roken/getarg.c: In function 'arg_printusage':
> /usr/src/crypto/dist/heimdal/lib/roken/getarg.c:220: error: storage size of 
> 'ws' isn't known
> *** [getarg.lo] Error code 1

Umm.

 - struct winsize is defined in  on NetBSD
 -  is a symlink to  on NetBSD
 -  includes  inside #if defined(_NETBSD_SOURCES)
   while  includes  unconditionally
 - src/include/heimdal/roken.h configured for NetBSD includes
and  so it got struct winsize

What's the right solution?
---
Izumi Tsutsui


CVS commit: src/sys/arch/sparc64/sparc64

2010-01-20 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jan 20 15:45:52 UTC 2010

Modified Files:
src/sys/arch/sparc64/sparc64: autoconf.c

Log Message:
Add the mac address as device property "mac-address" to all devices that
look like a network interface.
Also add a boolean "without-seeprom" to all apparently on-board network
interface (which usually have no eeprom of their own on Suns), this
latter can be used to enable driver hacks.


To generate a diff of this commit:
cvs rdiff -u -r1.163 -r1.164 src/sys/arch/sparc64/sparc64/autoconf.c

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



CVS commit: src/lib/libm/src

2010-01-20 Thread Takehiko NOZAKI
Module Name:src
Committed By:   tnozaki
Date:   Wed Jan 20 16:31:35 UTC 2010

Modified Files:
src/lib/libm/src: k_standard.c

Log Message:
PR/42630 asin(2.0) and acos(2.0) doesn't return NaN.
reported by NARUSE, Yui -san, Thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libm/src/k_standard.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/powerpc/oea

2010-01-20 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Wed Jan 20 16:36:55 UTC 2010

Modified Files:
src/sys/arch/powerpc/oea: ofw_autoconf.c

Log Message:
pass some OF properties as device properties for network devices
namely local-mac-address and shared-pins needed by gem


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/powerpc/oea/ofw_autoconf.c

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



CVS commit: src/lib/libm/src

2010-01-20 Thread Matthias Drochner
Module Name:src
Committed By:   drochner
Date:   Wed Jan 20 16:49:43 UTC 2010

Modified Files:
src/lib/libm/src: k_standard.c

Log Message:
let the previous fix apply to acos rather than atan2,
and get rid of #ifdef vax


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libm/src/k_standard.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/ofppc/ofppc

2010-01-20 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Wed Jan 20 17:12:08 UTC 2010

Modified Files:
src/sys/arch/ofppc/ofppc: machdep.c

Log Message:
Have to include rtas.h for NRTAS definition.


To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/sys/arch/ofppc/ofppc/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/lib/libkern/arch/mips

2010-01-20 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jan 20 18:13:40 UTC 2010

Modified Files:
src/sys/lib/libkern/arch/mips: Makefile.inc

Log Message:
Remove kern_assert.c - it's not needed here cuz it's already pulled in
by sys/lib/libkern/Makefile.libkern

OK pooka@


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/lib/libkern/arch/mips/Makefile.inc

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



CVS commit: src/sys/dev

2010-01-20 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Wed Jan 20 18:55:17 UTC 2010

Modified Files:
src/sys/dev: cgd.c

Log Message:
Get out of cgd_detach() early on error.  Do not call disk_destroy(9)
on error, that leaves the cgd_softc in an inconsistent state.

Fixes a crash during shutdown reported by Patrick Welche.  Thanks
to Patrick for reporting and for testing the fix.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/dev/cgd.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

2010-01-20 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Wed Jan 20 19:00:47 UTC 2010

Modified Files:
src/sys/dev: cgd.c

Log Message:
Cosmetic: get out of cgdioctl() early.  Instead of

int ret;

switch (...) {
case ...:
ret = ...;
break;
}
return ret;

write:

switch (...) {
case ...:
return ...;
}


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/dev/cgd.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/unifdef

2010-01-20 Thread Brian Ginsbach
Module Name:src
Committed By:   ginsbach
Date:   Wed Jan 20 19:02:42 UTC 2010

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

Log Message:
- Fix bug where -o outfile fails when outfile does not exist.  Pointed
  out by Tony Finch.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/unifdef/unifdef.c

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



CVS commit: src/crypto/dist/heimdal/lib

2010-01-20 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Jan 20 19:54:07 UTC 2010

Modified Files:
src/crypto/dist/heimdal/lib/asn1: gen_locl.h lex.h
src/crypto/dist/heimdal/lib/com_err: compile_et.c compile_et.h
src/crypto/dist/heimdal/lib/roken: strlcat.c strlcpy.c strupr.c
warnerr.c
src/crypto/dist/heimdal/lib/vers: print_version.c

Log Message:
Backout previous.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/crypto/dist/heimdal/lib/asn1/gen_locl.h \
src/crypto/dist/heimdal/lib/asn1/lex.h
cvs rdiff -u -r1.7 -r1.8 src/crypto/dist/heimdal/lib/com_err/compile_et.c
cvs rdiff -u -r1.3 -r1.4 src/crypto/dist/heimdal/lib/com_err/compile_et.h
cvs rdiff -u -r1.6 -r1.7 src/crypto/dist/heimdal/lib/roken/strlcat.c \
src/crypto/dist/heimdal/lib/roken/strlcpy.c \
src/crypto/dist/heimdal/lib/roken/strupr.c
cvs rdiff -u -r1.4 -r1.5 src/crypto/dist/heimdal/lib/roken/warnerr.c
cvs rdiff -u -r1.9 -r1.10 src/crypto/dist/heimdal/lib/vers/print_version.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/conf

2010-01-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jan 20 20:20:59 UTC 2010

Added Files:
src/sys/arch/evbmips/conf [matt-nb5-mips64]: MALTA64.MP

Log Message:
Test kernel for MIPS kernel preemption work.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/evbmips/conf/MALTA64.MP

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-01-20 Thread Erik Berls
Module Name:src
Committed By:   cyber
Date:   Wed Jan 20 20:40:45 UTC 2010

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

Log Message:
Correct argument to assembly dsrl32 $Lx -> %Lx


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

2010-01-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jan 20 20:48:12 UTC 2010

Modified Files:
src/sys/arch/mips/conf [matt-nb5-mips64]: files.rmixl
src/sys/arch/mips/rmi [matt-nb5-mips64]: rmixl_com.c rmixl_cpu.c
rmixl_cpucore.c rmixl_cpunode.c rmixl_obio.c

Log Message:
cleanup attachments so that other mips cpus can use the same scheme.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 src/sys/arch/mips/conf/files.rmixl
cvs rdiff -u -r1.1.2.9 -r1.1.2.10 src/sys/arch/mips/rmi/rmixl_com.c
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/mips/rmi/rmixl_cpu.c
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/arch/mips/rmi/rmixl_cpucore.c \
src/sys/arch/mips/rmi/rmixl_cpunode.c
cvs rdiff -u -r1.1.2.11 -r1.1.2.12 src/sys/arch/mips/rmi/rmixl_obio.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-01-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jan 20 22:15:27 UTC 2010

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

Log Message:
Mark RMIXL cpus as CPU_MIPS_I_DCACHE_COHERENT.
Print out whether the L1 cache is coherent or not.


To generate a diff of this commit:
cvs rdiff -u -r1.205.4.1.2.1.2.28 -r1.205.4.1.2.1.2.29 \
src/sys/arch/mips/mips/mips_machdep.c

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



CVS commit: src/etc

2010-01-20 Thread Julio M. Merino Vidal
Module Name:src
Committed By:   jmmv
Date:   Wed Jan 20 22:19:20 UTC 2010

Modified Files:
src/etc: daily
src/etc/defaults: daily.conf

Log Message:
Default fetch_pkg_vulnerabilities to NO and complain if it is set to that
value when packages are found (so that the user knows he is not getting the
vulnerability checks).

Why?  People is complaining.  (And somehow, the argument that NetBSD doesn't
do any network operation by default convinces me that it should continue to
do so.)

But still, I will be adding a question to sysinst to enable/disable this.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/etc/daily
cvs rdiff -u -r1.12 -r1.13 src/etc/defaults/daily.conf

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



CVS commit: src/share/man/man8

2010-01-20 Thread Julio M. Merino Vidal
Module Name:src
Committed By:   jmmv
Date:   Wed Jan 20 22:24:18 UTC 2010

Modified Files:
src/share/man/man8: afterboot.8

Log Message:
Ask the user to enable fetch_pkg_vulnerabilities in /etc/daily.conf right
after installation.  Automatic changes from sysinst will come later.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/share/man/man8/afterboot.8

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



CVS commit: src/sys/arch/sparc/sparc

2010-01-20 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jan 20 22:54:23 UTC 2010

Modified Files:
src/sys/arch/sparc/sparc: autoconf.c

Log Message:
Add the mac-address as device property for all network devices


To generate a diff of this commit:
cvs rdiff -u -r1.237 -r1.238 src/sys/arch/sparc/sparc/autoconf.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/calendar/calendars

2010-01-20 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Wed Jan 20 22:56:59 UTC 2010

Modified Files:
src/usr.bin/calendar/calendars: calendar.birthday

Log Message:
add Buzz Aldrin, second man on the moon


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/calendar/calendars/calendar.birthday

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-01-20 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jan 20 22:58:37 UTC 2010

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

Log Message:
Remove sparc specific code and HME_USE_LOCAL_MAC_ADDRESS hack, instead
use the "mac-address" device property if present.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/pci/if_hme_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/kern

2010-01-20 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Wed Jan 20 23:40:42 UTC 2010

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

Log Message:
pool_cache_invalidate: comment out invalidation of per-CPU caches (nobody 
depends
on it, at the moment) until we decide how to fix it (xcall(9) cannot be used 
from
interrupt context).  XXX: Perhaps implement XC_HIGHPRI.


To generate a diff of this commit:
cvs rdiff -u -r1.181 -r1.182 src/sys/kern/subr_pool.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/hpcmips

2010-01-20 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 21 01:23:15 UTC 2010

Modified Files:
src/sys/arch/hpcmips/hpcmips: machdep.c
src/sys/arch/hpcmips/include: cpu.h
src/sys/arch/hpcmips/tx: tx39.c
src/sys/arch/hpcmips/vr: vr.c

Log Message:
Move arch-local variable to a better namespace to make build again.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/sys/arch/hpcmips/hpcmips/machdep.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/hpcmips/include/cpu.h
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/hpcmips/tx/tx39.c
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/hpcmips/vr/vr.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/calendar/calendars

2010-01-20 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Thu Jan 21 01:59:09 UTC 2010

Modified Files:
src/usr.bin/calendar/calendars: calendar.birthday

Log Message:
Use TAB as a separator to be consistent with the rest of this file.


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

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



CVS commit: src/sys/dev

2010-01-20 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Thu Jan 21 02:14:42 UTC 2010

Modified Files:
src/sys/dev: md.c

Log Message:
Take care not to dereference a NULL softc.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/dev/md.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

2010-01-20 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Thu Jan 21 02:19:55 UTC 2010

Modified Files:
src/sys/dev: radio.c

Log Message:
All that the activation hook radioactivate() did was to change
sc_dying, and nothing in the driver examines sc_dying, so get rid of
radioactivate() and sc_dying.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/radio.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/ata

2010-01-20 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Thu Jan 21 02:53:51 UTC 2010

Modified Files:
src/sys/dev/ata: ata.c

Log Message:
Cosmetic: join some lines.  Get out early on errors, change

switch (...) {
...
error = ...;
break;
}
return error;

to

switch (...) {
...
return ...;
}


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/sys/dev/ata/ata.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/include

2010-01-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Jan 21 04:07:56 UTC 2010

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

Log Message:
sbmips needs 64bit paddr_t


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.7.28.1 src/sys/arch/sbmips/include/types.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/sbmips/include

2010-01-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Jan 21 04:08:18 UTC 2010

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

Log Message:
add some whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/sbmips/include/bus.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/sbmips/include

2010-01-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Jan 21 04:09:05 UTC 2010

Added Files:
src/sys/arch/sbmips/include [matt-nb5-mips64]: pci_machdep.h

Log Message:
Needed for pci support.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/sbmips/include/pci_machdep.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/sbmips/include

2010-01-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Jan 21 04:09:18 UTC 2010

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

Log Message:
Minor type cleanup.


To generate a diff of this commit:
cvs rdiff -u -r1.7.28.1 -r1.7.28.2 src/sys/arch/sbmips/include/systemsw.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/sbmips/sbmips

2010-01-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Jan 21 04:09:59 UTC 2010

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

Log Message:
Minor type cleanup


To generate a diff of this commit:
cvs rdiff -u -r1.14.28.2 -r1.14.28.3 src/sys/arch/sbmips/sbmips/systemsw.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/pci

2010-01-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Jan 21 04:22:33 UTC 2010

Added Files:
src/sys/arch/mips/sibyte/pci [matt-nb5-mips64]: sbbrz.c sbbrz_bus_io.c
sbbrz_bus_mem.c sbbrz_pci.c sbbrzvar.h sbldthb.c sbpcihb.c

Log Message:
Compile-tested only initial PCI support (from 10 years ago!) for sbmips
finally committed to cvs.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/mips/sibyte/pci/sbbrz.c \
src/sys/arch/mips/sibyte/pci/sbbrz_bus_io.c \
src/sys/arch/mips/sibyte/pci/sbbrz_bus_mem.c \
src/sys/arch/mips/sibyte/pci/sbbrz_pci.c \
src/sys/arch/mips/sibyte/pci/sbbrzvar.h \
src/sys/arch/mips/sibyte/pci/sbldthb.c \
src/sys/arch/mips/sibyte/pci/sbpcihb.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/conf

2010-01-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Jan 21 04:23:29 UTC 2010

Modified Files:
src/sys/arch/sbmips/conf [matt-nb5-mips64]: GENERIC

Log Message:
Increase SYMTAB_SPACE
Add pci support


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.70.8.1 src/sys/arch/sbmips/conf/GENERIC

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-20 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 21 04:40:23 UTC 2010

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

Log Message:
Remove unnecessary call to kauth_cred_free().

This resolves an occassional crash I'd been experiencing as reported on
current-users@

Fix suggested by and OK elad@


To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/sys/kern/uipc_syscalls.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/pci

2010-01-20 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Jan 21 04:53:06 UTC 2010

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

Log Message:
Drop 3rd and 4th clauses on a TNF license.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 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: src/sys/dev/rasops

2010-01-20 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Jan 21 05:32:18 UTC 2010

Modified Files:
src/sys/dev/rasops: rasops.c rasops.h

Log Message:
make RI_CENTER and RI_FULLCLEAR work with a shadow framebuffer


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/dev/rasops/rasops.c
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/rasops/rasops.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

2010-01-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Jan 21 06:59:12 UTC 2010

Modified Files:
src/sys/arch/mips/conf [matt-nb5-mips64]: files.sibyte
src/sys/arch/mips/sibyte/pci [matt-nb5-mips64]: sbbrz_pci.c
src/sys/arch/sbmips/include [matt-nb5-mips64]: pci_machdep.h

Log Message:
Add rest of pci framework functions.
Disable pciide compat intr establish for sbmips


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.5.124.1 src/sys/arch/mips/conf/files.sibyte
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/mips/sibyte/pci/sbbrz_pci.c
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/sbmips/include/pci_machdep.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/dev/pci

2010-01-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Jan 21 07:43:59 UTC 2010

Modified Files:
src/sys/dev/pci [matt-nb5-mips64]: ppb.c

Log Message:
Support the SB1250 LDT HB.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.39.18.1 src/sys/dev/pci/ppb.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

2010-01-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Jan 21 07:46:01 UTC 2010

Modified Files:
src/sys/arch/mips/conf [matt-nb5-mips64]: files.sibyte
src/sys/arch/mips/sibyte/pci [matt-nb5-mips64]: sbpcihb.c
src/sys/arch/sbmips/conf [matt-nb5-mips64]: GENERIC
Removed Files:
src/sys/arch/mips/sibyte/pci [matt-nb5-mips64]: sbldthb.c

Log Message:
sbldthb is dead.  ppb.c will now take care of it.
sbpcihb is now brain dead.  only print whether we are in host or device mode


To generate a diff of this commit:
cvs rdiff -u -r1.5.124.1 -r1.5.124.2 src/sys/arch/mips/conf/files.sibyte
cvs rdiff -u -r1.1.2.1 -r0 src/sys/arch/mips/sibyte/pci/sbldthb.c
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/mips/sibyte/pci/sbpcihb.c
cvs rdiff -u -r1.70.8.1 -r1.70.8.2 src/sys/arch/sbmips/conf/GENERIC

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