CVS commit: src/external/gpl3/gcc/dist/gcc/config/rs6000

2014-08-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Aug 23 06:50:18 UTC 2014

Modified Files:
src/external/gpl3/gcc/dist/gcc/config/rs6000: netbsd64.h

Log Message:
Make -mabi=elfv2 work for powerpc64


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h

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



CVS commit: [netbsd-7] src/doc

2014-08-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat Aug 23 03:47:10 UTC 2014

Modified Files:
src/doc [netbsd-7]: CHANGES-7.0

Log Message:
Tickets 39, 50.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.20 -r1.1.2.21 src/doc/CHANGES-7.0

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



CVS commit: [netbsd-7] src/sys/dev/isa

2014-08-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat Aug 23 03:46:55 UTC 2014

Modified Files:
src/sys/dev/isa [netbsd-7]: ess.c essreg.h essvar.h

Log Message:
Pull up following revision(s) (requested by nakayama in ticket #50):
sys/dev/isa/ess.c: revision 1.81
sys/dev/isa/ess.c: revision 1.82
sys/dev/isa/essvar.h: revision 1.27
sys/dev/isa/essreg.h: revision 1.17
Remove redundant colon.
Add support for Spatializer, 3D audio effects embedded in ES1869
and ES1879 to ess(4).
Tested on my old laptop, mobio NX.


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.80.24.1 src/sys/dev/isa/ess.c
cvs rdiff -u -r1.16 -r1.16.138.1 src/sys/dev/isa/essreg.h
cvs rdiff -u -r1.26 -r1.26.24.1 src/sys/dev/isa/essvar.h

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



CVS commit: [netbsd-7] src/usr.sbin/sysinst

2014-08-22 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat Aug 23 03:44:02 UTC 2014

Modified Files:
src/usr.sbin/sysinst [netbsd-7]: disks.c main.c mbr.c net.c partman.c
util.c

Log Message:
Pull up following revision(s) (requested by martin in ticket #39):
usr.sbin/sysinst/main.c: revision 1.4
usr.sbin/sysinst/disks.c: revision 1.5
usr.sbin/sysinst/main.c: revision 1.5
usr.sbin/sysinst/mbr.c: revision 1.3
usr.sbin/sysinst/net.c: revision 1.3
usr.sbin/sysinst/net.c: revision 1.4
usr.sbin/sysinst/partman.c: revision 1.5
usr.sbin/sysinst/partman.c: revision 1.6
usr.sbin/sysinst/util.c: revision 1.4
Remove duplicate fclose(), pointed out by coverity scan.
Remove (accidently) duplicated code - pointed out by coverity scan.
Make sure the interface name is 0 terminated, pointed out by coverity scan.
Check return value from getenv() before using the value. Pointed out by
coverity scan.
Make an invariant more clear to avoid fals positives from coverity scan
if chdir() fails, try chdir /
Check return values from stat before comparing contents of the result
structures. Pointed out by coverity scan.
Cosmetic changes trying to appease coverity scan.
Make sure to not dereference a NULL pointer.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.4.1 src/usr.sbin/sysinst/disks.c \
src/usr.sbin/sysinst/partman.c
cvs rdiff -u -r1.3 -r1.3.4.1 src/usr.sbin/sysinst/main.c
cvs rdiff -u -r1.2 -r1.2.4.1 src/usr.sbin/sysinst/mbr.c \
src/usr.sbin/sysinst/net.c
cvs rdiff -u -r1.3 -r1.3.2.1 src/usr.sbin/sysinst/util.c

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



CVS commit: src/share/mk

2014-08-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Aug 23 02:26:36 UTC 2014

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
Change powerpc64 to use GCC 4.8


To generate a diff of this commit:
cvs rdiff -u -r1.832 -r1.833 src/share/mk/bsd.own.mk

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



CVS commit: src/lib/libkvm

2014-08-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Aug 23 02:25:23 UTC 2014

Modified Files:
src/lib/libkvm: kvm_powerpc64.c

Log Message:
#if 0 some code not in use yet


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libkvm/kvm_powerpc64.c

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



CVS commit: src/lib/libc/arch

2014-08-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Aug 23 02:24:22 UTC 2014

Modified Files:
src/lib/libc/arch/powerpc: SYS.h
src/lib/libc/arch/powerpc/sys: __clone.S __syscall.S brk.S getcontext.S
pipe.S sbrk.S
src/lib/libc/arch/powerpc64: Makefile.inc SYS.h
src/lib/libc/arch/powerpc64/gen: __setjmp14.S __sigsetjmp14.S
src/lib/libc/arch/powerpc64/sys: __clone.S __sigtramp2.S __syscall.S
__vfork14.S brk.S cerror.S fork.S getcontext.S pipe.S ptrace.S
sbrk.S syscall.S
Added Files:
src/lib/libc/arch/powerpc64: genassym.cf

Log Message:
Minimize differences between powerpc and powerpc64
Fix powerpc64 assembly to use right instructions for 64bit CPUs.
Use hidden for __curbrk and __minbrk to avoid GOT/TOC relocations.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/arch/powerpc/SYS.h
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/arch/powerpc/sys/__clone.S \
src/lib/libc/arch/powerpc/sys/getcontext.S
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/arch/powerpc/sys/__syscall.S
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/arch/powerpc/sys/brk.S
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/arch/powerpc/sys/pipe.S
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/arch/powerpc/sys/sbrk.S
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/arch/powerpc64/Makefile.inc \
src/lib/libc/arch/powerpc64/SYS.h
cvs rdiff -u -r0 -r1.1 src/lib/libc/arch/powerpc64/genassym.cf
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/arch/powerpc64/gen/__setjmp14.S \
src/lib/libc/arch/powerpc64/gen/__sigsetjmp14.S
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/arch/powerpc64/sys/__clone.S \
src/lib/libc/arch/powerpc64/sys/__syscall.S \
src/lib/libc/arch/powerpc64/sys/__vfork14.S \
src/lib/libc/arch/powerpc64/sys/fork.S \
src/lib/libc/arch/powerpc64/sys/pipe.S \
src/lib/libc/arch/powerpc64/sys/syscall.S
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/arch/powerpc64/sys/__sigtramp2.S
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/arch/powerpc64/sys/brk.S \
src/lib/libc/arch/powerpc64/sys/getcontext.S \
src/lib/libc/arch/powerpc64/sys/sbrk.S
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/arch/powerpc64/sys/cerror.S
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/arch/powerpc64/sys/ptrace.S

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/include

2014-08-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Aug 23 02:21:44 UTC 2014

Modified Files:
src/sys/arch/powerpc/include: asm.h

Log Message:
Fix cmpptr/cmpreq/etc to use right mnemonics


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/powerpc/include/asm.h

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



CVS commit: src/compat/powerpc64/powerpc

2014-08-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Aug 23 02:20:55 UTC 2014

Modified Files:
src/compat/powerpc64/powerpc: bsd.powerpc.mk

Log Message:
Add
LDFLAGS+=  -Wl,-m,elf32ppc_nbsd


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/compat/powerpc64/powerpc/bsd.powerpc.mk

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



CVS commit: src/external/gpl3/gcc/dist/gcc/config/rs6000

2014-08-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Aug 23 02:17:47 UTC 2014

Modified Files:
src/external/gpl3/gcc/dist/gcc/config/rs6000: netbsd.h netbsd64.h
rs6000.c t-netbsd64

Log Message:
Fix powerpc64 support for NetBSD.
Add __PPC_ISEL__ to indicate cpu support the isel instruction


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd.h \
src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c
cvs rdiff -u -r1.7 -r1.8 \
src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/dist/gcc/config/rs6000/t-netbsd64

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



CVS commit: src/sbin/mknod

2014-08-22 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Aug 22 22:28:50 UTC 2014

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

Log Message:
Accept driver names only in the two args form together with a minor number.

That's what the documentation says and also avoids the case where the driver
name converted to a major number is interpreted as a packed dev_t number.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sbin/mknod/mknod.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/nvi/dist/ex

2014-08-22 Thread Aymeric Vincent
Module Name:src
Committed By:   aymeric
Date:   Fri Aug 22 21:28:20 UTC 2014

Modified Files:
src/external/bsd/nvi/dist/ex: ex_cscope.c ex_tag.c tag.h

Log Message:
In tagq_free(), fix the test checking whether a TAGQ should be removed from
its tailq. This required introducing a new flag in the TAGQ structure to
avoid reverting to poking under the hood of the queue.h API.

The concrete bug it solves is that using tags would make vi crash reliably
on exit.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/nvi/dist/ex/ex_cscope.c
cvs rdiff -u -r1.11 -r1.12 src/external/bsd/nvi/dist/ex/ex_tag.c
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/nvi/dist/ex/tag.h

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



CVS commit: src/sbin/ping6

2014-08-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Aug 22 20:54:29 UTC 2014

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

Log Message:
Rework to be avoid a conditional assignment which results in:
sbin/ping6/ping6.c:1879:8: error: 'cbit.skip' may be used uninitialized in this 
function [-Werror=maybe-uninitialized]
cur += ntohs(cbit.skip) * 32;


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sbin/ping6/ping6.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/arm/omap

2014-08-22 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Fri Aug 22 20:01:16 UTC 2014

Modified Files:
src/sys/arch/arm/omap: tifb.c

Log Message:
Fix what is almost certianly an off-by-one error when configuring pads on
AM335x for BPP greater than 16.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/omap/tifb.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/arm/omap

2014-08-22 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Fri Aug 22 19:59:18 UTC 2014

Modified Files:
src/sys/arch/arm/omap: tifb.c

Log Message:
Support WSDISPLAYIO_GET_FBINFO ioctl in tifb(4).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/omap/tifb.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/arm/omap

2014-08-22 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Fri Aug 22 19:44:04 UTC 2014

Modified Files:
src/sys/arch/arm/omap: files.omap2

Log Message:
tifb can support 32 and 24 BPP framebuffer modes; pull in corresponding raspos
support.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/arm/omap/files.omap2

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



CVS commit: [netbsd-7] src/doc

2014-08-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 22 19:21:53 UTC 2014

Modified Files:
src/doc [netbsd-7]: CHANGES-7.0

Log Message:
Ticket 49


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.19 -r1.1.2.20 src/doc/CHANGES-7.0

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



CVS commit: [netbsd-7] src/sys/ufs/ext2fs

2014-08-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 22 19:20:15 UTC 2014

Modified Files:
src/sys/ufs/ext2fs [netbsd-7]: ext2fs_vfsops.c

Log Message:
Pull up following revision(s) (requested by hannken in ticket #49):
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.184
Use mount from argument "mp", "vp->v_mount" is not valid here.
PR kern/49142 (panic in ext2fs_loadvnode mounting an ext2fs filesystem)


To generate a diff of this commit:
cvs rdiff -u -r1.183 -r1.183.2.1 src/sys/ufs/ext2fs/ext2fs_vfsops.c

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



CVS commit: src/common/lib/libc/gen

2014-08-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Aug 22 17:19:48 UTC 2014

Modified Files:
src/common/lib/libc/gen: rb.c

Log Message:
Remove enclosing parens on return.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/common/lib/libc/gen/rb.c

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



CVS commit: src/common/lib/libc/gen

2014-08-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Aug 22 17:17:02 UTC 2014

Modified Files:
src/common/lib/libc/gen: rb.c

Log Message:
Fix failure case in rb_tree_find_node_leq/geq.

Return NULL, not `NULL - offset'.

XXX pullup to netbsd-5, netbsd-6, netbsd-7


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/common/lib/libc/gen/rb.c

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



CVS commit: src/sys/ufs/ext2fs

2014-08-22 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Aug 22 16:49:30 UTC 2014

Modified Files:
src/sys/ufs/ext2fs: ext2fs_vfsops.c

Log Message:
Use mount from argument "mp", "vp->v_mount" is not valid here.

PR kern/49142 (panic in ext2fs_loadvnode mounting an ext2fs filesystem)

Needs pullup to -7


To generate a diff of this commit:
cvs rdiff -u -r1.183 -r1.184 src/sys/ufs/ext2fs/ext2fs_vfsops.c

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



CVS commit: src

2014-08-22 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Fri Aug 22 16:45:32 UTC 2014

Modified Files:
src/distrib/sets/lists/tests: mi
src/etc/mtree: NetBSD.dist.tests
src/tests/usr.bin/make: Makefile t_make.sh
Removed Files:
src/tests/usr.bin/make: d_comment.mk d_comment.out d_cond1.mk
d_cond1.out d_dotwait.mk d_dotwait.out d_export.mk d_export.out
d_export_all.mk d_export_all.out d_moderrs.mk d_moderrs.out
d_modmatch.mk d_modmatch.out d_modmisc.mk d_modmisc.out
d_modorder.mk d_modorder.out d_modts.mk d_modts.out d_modword.mk
d_modword.out d_posix.mk d_posix.out d_qequals.mk d_qequals.out
d_ternary.mk d_ternary.out d_unmatchedvarparen.mk
d_unmatchedvarparen.out d_varcmd.mk d_varcmd.out

Log Message:
Test make(1) by running the maintained tests, not unmaintained
copies of them.

* Remove all old tests from src/tests/usr.bin/make/d_*.  These tests
  were unmaintained old copies of the actual tests which are maintained
  under src/usr.bin/make/unit-tests.  One exception is the test in
  d_unmatchedvarparen.mk, which was new, but has nw been added to
  src/usr.bin/make/unit-tests/varmisc.mk.
* In src/tests/usr.bin/make/Makefile, copy all
  the tests from src/usr.bin/make/unit-tests to
  ${DESTDIR}/usr/tests/usr.bin/make/unit-tests.
* In src/tests/usr.bin/make/t_make.sh, run the tests installed above,
  instead of the old tests.
* In etc/mtree/NetBSD.dist.tests, create the
  usr/tests/usr.bin/make/unit-tests diectory.
* Update the set lists for all the above.


To generate a diff of this commit:
cvs rdiff -u -r1.585 -r1.586 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.108 -r1.109 src/etc/mtree/NetBSD.dist.tests
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/make/Makefile \
src/tests/usr.bin/make/t_make.sh
cvs rdiff -u -r1.1 -r0 src/tests/usr.bin/make/d_comment.mk \
src/tests/usr.bin/make/d_comment.out src/tests/usr.bin/make/d_cond1.mk \
src/tests/usr.bin/make/d_cond1.out src/tests/usr.bin/make/d_dotwait.mk \
src/tests/usr.bin/make/d_export.mk src/tests/usr.bin/make/d_export.out \
src/tests/usr.bin/make/d_export_all.mk \
src/tests/usr.bin/make/d_export_all.out \
src/tests/usr.bin/make/d_moderrs.mk src/tests/usr.bin/make/d_moderrs.out \
src/tests/usr.bin/make/d_modmatch.mk \
src/tests/usr.bin/make/d_modmatch.out src/tests/usr.bin/make/d_modmisc.mk \
src/tests/usr.bin/make/d_modmisc.out src/tests/usr.bin/make/d_modorder.mk \
src/tests/usr.bin/make/d_modorder.out src/tests/usr.bin/make/d_modts.mk \
src/tests/usr.bin/make/d_modts.out src/tests/usr.bin/make/d_modword.mk \
src/tests/usr.bin/make/d_modword.out src/tests/usr.bin/make/d_posix.mk \
src/tests/usr.bin/make/d_posix.out src/tests/usr.bin/make/d_qequals.mk \
src/tests/usr.bin/make/d_qequals.out src/tests/usr.bin/make/d_ternary.mk \
src/tests/usr.bin/make/d_ternary.out \
src/tests/usr.bin/make/d_unmatchedvarparen.mk \
src/tests/usr.bin/make/d_unmatchedvarparen.out \
src/tests/usr.bin/make/d_varcmd.mk src/tests/usr.bin/make/d_varcmd.out
cvs rdiff -u -r1.2 -r0 src/tests/usr.bin/make/d_dotwait.out

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



CVS commit: src/external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch

2014-08-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Aug 22 15:27:51 UTC 2014

Modified Files:
src/external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch: Makefile
Added Files:
src/external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/powerpc:
Makefile
src/external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/powerpc64:
Makefile

Log Message:
add powerpc64 support


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/powerpc/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/powerpc64/Makefile

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

2014-08-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Aug 22 15:26:28 UTC 2014

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

Log Message:
Revert to mapping the whole GTTMMADR region all at once for now.

This was split up so we could map the GTT prefetchable without
interfering with the MMIO registers, but it interferes with old drm
which tries to map the whole region and which is still hooked up for
the moment.

Once we unhook old drm for good we can put this back.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/dev/pci/agp_i810.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/dev/lib/libpci

2014-08-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Aug 22 14:28:58 UTC 2014

Modified Files:
src/sys/rump/dev/lib/libpci: Makefile pci_at_mainbus.c
rumpdev_bus_space.c

Log Message:
Add a compile-time selector for I/O space operations.  Needs more work
some day, but allows virtio drivers to work today.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/rump/dev/lib/libpci/Makefile
cvs rdiff -u -r1.4 -r1.5 src/sys/rump/dev/lib/libpci/pci_at_mainbus.c
cvs rdiff -u -r1.2 -r1.3 src/sys/rump/dev/lib/libpci/rumpdev_bus_space.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

2014-08-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Aug 22 11:34:28 UTC 2014

Modified Files:
src/sys/rump/librump/rumpnet: rump_net_private.h
src/sys/rump/net/lib/liblocal: local_component.c
src/sys/rump/net/lib/libnet: net_component.c
src/sys/rump/net/lib/libnetbt: netbt_component.c
src/sys/rump/net/lib/libnetinet: netinet_component.c
src/sys/rump/net/lib/libnetinet6: netinet6_component.c
src/sys/rump/net/lib/libnetmpls: netmpls_component.c
src/sys/rump/net/lib/libsockin: sockin_component.c

Log Message:
Nuke the DOMAINADD() macro and just call domain_attach(), now that things
work correctly that way.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/rump/librump/rumpnet/rump_net_private.h
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/net/lib/liblocal/local_component.c
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/net/lib/libnet/net_component.c
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/net/lib/libnetbt/netbt_component.c
cvs rdiff -u -r1.3 -r1.4 src/sys/rump/net/lib/libnetinet/netinet_component.c
cvs rdiff -u -r1.2 -r1.3 \
src/sys/rump/net/lib/libnetinet6/netinet6_component.c
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/net/lib/libnetmpls/netmpls_component.c
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/net/lib/libsockin/sockin_component.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

2014-08-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Aug 22 11:28:04 UTC 2014

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

Log Message:
Change the meaning of the boolean parameter to domaininit().
was: attach route domain if found from domains link set
now: attach any domain which is found from domains link set

No functional change to monolithic kernel.  In a rump kernel, which
attaches networking domains "modularly", prevents domains from
accidentally leaking in via the link set in static linked scenarios.

Problem reported by cube, Tom Bousso, and the voices in my head.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/kern/uipc_domain.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

2014-08-22 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Fri Aug 22 10:51:39 UTC 2014

Modified Files:
src/distrib/sets/lists/base: ad.aarch64 ad.mips ad.powerpc md.amd64
md.sparc64 mi shl.mi
src/distrib/sets/lists/comp: ad.aarch64 ad.arm ad.mips ad.powerpc
md.amd64 md.amigappc md.bebox md.cobalt md.evbmips md.evbppc
md.ews4800mips md.hpcmips md.i386 md.ibmnws md.macppc md.mvmeppc
md.newsmips md.ofppc md.pmax md.prep md.rs6000 md.sandpoint
md.sbmips md.sgimips md.sparc md.sparc64 mi
src/distrib/sets/lists/debug: ad.aarch64 ad.arm ad.mips ad.powerpc
md.sparc64 mi
src/distrib/sets/lists/games: mi
src/distrib/sets/lists/misc: mi
src/distrib/sets/lists/modules: md.amd64
src/distrib/sets/lists/tests: mi
src/distrib/sets/lists/xcomp: md.amd64 md.i386
src/distrib/sets/lists/xdebug: md.zaurus

Log Message:
sort


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/distrib/sets/lists/base/ad.aarch64
cvs rdiff -u -r1.48 -r1.49 src/distrib/sets/lists/base/ad.mips
cvs rdiff -u -r1.17 -r1.18 src/distrib/sets/lists/base/ad.powerpc
cvs rdiff -u -r1.244 -r1.245 src/distrib/sets/lists/base/md.amd64
cvs rdiff -u -r1.232 -r1.233 src/distrib/sets/lists/base/md.sparc64
cvs rdiff -u -r1.1087 -r1.1088 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.712 -r1.713 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.3 -r1.4 src/distrib/sets/lists/comp/ad.aarch64
cvs rdiff -u -r1.59 -r1.60 src/distrib/sets/lists/comp/ad.arm
cvs rdiff -u -r1.50 -r1.51 src/distrib/sets/lists/comp/ad.mips
cvs rdiff -u -r1.72 -r1.73 src/distrib/sets/lists/comp/ad.powerpc
cvs rdiff -u -r1.224 -r1.225 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.12 -r1.13 src/distrib/sets/lists/comp/md.amigappc \
src/distrib/sets/lists/comp/md.ibmnws
cvs rdiff -u -r1.38 -r1.39 src/distrib/sets/lists/comp/md.bebox
cvs rdiff -u -r1.26 -r1.27 src/distrib/sets/lists/comp/md.cobalt
cvs rdiff -u -r1.18 -r1.19 src/distrib/sets/lists/comp/md.evbmips \
src/distrib/sets/lists/comp/md.sandpoint
cvs rdiff -u -r1.14 -r1.15 src/distrib/sets/lists/comp/md.evbppc
cvs rdiff -u -r1.8 -r1.9 src/distrib/sets/lists/comp/md.ews4800mips \
src/distrib/sets/lists/comp/md.rs6000
cvs rdiff -u -r1.32 -r1.33 src/distrib/sets/lists/comp/md.hpcmips
cvs rdiff -u -r1.149 -r1.150 src/distrib/sets/lists/comp/md.i386
cvs rdiff -u -r1.39 -r1.40 src/distrib/sets/lists/comp/md.macppc
cvs rdiff -u -r1.16 -r1.17 src/distrib/sets/lists/comp/md.mvmeppc \
src/distrib/sets/lists/comp/md.ofppc \
src/distrib/sets/lists/comp/md.sbmips
cvs rdiff -u -r1.31 -r1.32 src/distrib/sets/lists/comp/md.newsmips
cvs rdiff -u -r1.65 -r1.66 src/distrib/sets/lists/comp/md.pmax
cvs rdiff -u -r1.30 -r1.31 src/distrib/sets/lists/comp/md.prep
cvs rdiff -u -r1.20 -r1.21 src/distrib/sets/lists/comp/md.sgimips
cvs rdiff -u -r1.84 -r1.85 src/distrib/sets/lists/comp/md.sparc
cvs rdiff -u -r1.187 -r1.188 src/distrib/sets/lists/comp/md.sparc64
cvs rdiff -u -r1.1908 -r1.1909 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.2 -r1.3 src/distrib/sets/lists/debug/ad.aarch64
cvs rdiff -u -r1.42 -r1.43 src/distrib/sets/lists/debug/ad.arm
cvs rdiff -u -r1.38 -r1.39 src/distrib/sets/lists/debug/ad.mips
cvs rdiff -u -r1.18 -r1.19 src/distrib/sets/lists/debug/ad.powerpc
cvs rdiff -u -r1.61 -r1.62 src/distrib/sets/lists/debug/md.sparc64
cvs rdiff -u -r1.82 -r1.83 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.52 -r1.53 src/distrib/sets/lists/games/mi
cvs rdiff -u -r1.194 -r1.195 src/distrib/sets/lists/misc/mi
cvs rdiff -u -r1.42 -r1.43 src/distrib/sets/lists/modules/md.amd64
cvs rdiff -u -r1.584 -r1.585 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.38 -r1.39 src/distrib/sets/lists/xcomp/md.amd64
cvs rdiff -u -r1.45 -r1.46 src/distrib/sets/lists/xcomp/md.i386
cvs rdiff -u -r1.3 -r1.4 src/distrib/sets/lists/xdebug/md.zaurus

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



CVS commit: src/distrib/sets

2014-08-22 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Fri Aug 22 10:51:18 UTC 2014

Modified Files:
src/distrib/sets: Makefile

Log Message:
Adapt the sortlists target to deal with commented file names, like
"#./dir/file".  Such lines now compare equal to their uncommented
counterparts like "./dir/file".


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/distrib/sets/Makefile

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



CVS commit: [netbsd-7] src/doc

2014-08-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 22 10:42:39 UTC 2014

Modified Files:
src/doc [netbsd-7]: CHANGES-7.0

Log Message:
Tickets 44 - 48


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.18 -r1.1.2.19 src/doc/CHANGES-7.0

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



CVS commit: [netbsd-7] src/sys/dev/ic

2014-08-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 22 10:41:18 UTC 2014

Modified Files:
src/sys/dev/ic [netbsd-7]: mfi.c

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #48):
sys/dev/ic/mfi.c: revision 1.54-1.55
Fix mfi(4) panic on boot on some mfi(4) chips.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.53.2.1 src/sys/dev/ic/mfi.c

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



CVS commit: [netbsd-7] src/sys/external/bsd/common/include/linux

2014-08-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 22 10:38:07 UTC 2014

Modified Files:
src/sys/external/bsd/common/include/linux [netbsd-7]: list.h

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #47):
sys/external/bsd/common/include/linux/list.h: revision 1.5
Add some Linux list routines.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.2.1 src/sys/external/bsd/common/include/linux/list.h

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



CVS commit: [netbsd-7] src/sys/external/bsd/drm2

2014-08-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 22 10:36:00 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [netbsd-7]: i915_gem.c
src/sys/external/bsd/drm2/ttm [netbsd-7]: ttm_bo_vm.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #46):
sys/external/bsd/drm2/dist/drm/i915/i915_gem.c: revision 1.15
sys/external/bsd/drm2/ttm/ttm_bo_vm.c: revision 1.4
Do not take the {ttm,gem} vmobjlock in the fault handler.
- We don't need this lock.
- uvm does nothing between taking it and calling the fault handler.
- Now that the uvm_aobj shares vmobjlock with the {ttm,gem} uvm
  object, we must not hold the lock when we call uvm_obj_wirepages on
  the uvm_aobj.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.14.2.1 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c
cvs rdiff -u -r1.2.4.1 -r1.2.4.2 src/sys/external/bsd/drm2/ttm/ttm_bo_vm.c

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



CVS commit: [netbsd-7] src/sys/external/bsd/drm2

2014-08-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 22 10:32:19 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915 [netbsd-7]: i915_drv.h
src/sys/external/bsd/drm2/i915drm [netbsd-7]: files.i915drmkms

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #45):
sys/external/bsd/drm2/dist/drm/i915/i915_drv.h: revision 1.8
sys/external/bsd/drm2/i915drm/files.i915drmkms: revision 1.6
Restore Intel opregion stuff.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.7.2.1 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h
cvs rdiff -u -r1.5 -r1.5.2.1 \
src/sys/external/bsd/drm2/i915drm/files.i915drmkms

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



CVS commit: [netbsd-7] src/sys

2014-08-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 22 10:15:22 UTC 2014

Modified Files:
src/sys/altq [netbsd-7]: altq_jobs.c
src/sys/dev/ic [netbsd-7]: oosiop.c
src/sys/dev/qbus [netbsd-7]: if_qe.c
src/sys/dev/rasops [netbsd-7]: rasops.c
src/sys/dev/vme [netbsd-7]: if_ie_vme.c
src/sys/net [netbsd-7]: if_gre.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #44):
sys/altq/altq_jobs.c1.7
Fix error branches to avoid leaks, noted by maxv@.
sys/dev/ic/oosiop.c 1.14
Fix leaks in oosiop_alloc_cb error branches, noted by maxv@.
While here, avoid a sketchy pointer cast that probably falls afoul
of strict aliasing rules.
sys/dev/qbus/if_qe.c1.73
Avoid leak in error branch, noted by maxv@, compile-tested for vax.
sys/dev/rasops/rasops.c 1.72
Don't leak f on failure.  Noted by maxv@.
sys/dev/vme/if_ie_vme.c 1.31
Sizeof struct ievme, not sizeof size_t.
Noted by maxv@, compile-tested for sparc.
sys/net/if_gre.c1.160
Don't leak in gre_clone_create error branch.
Noted by maxv@, compile-tested for amd64.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.6.34.1 src/sys/altq/altq_jobs.c
cvs rdiff -u -r1.13 -r1.13.34.1 src/sys/dev/ic/oosiop.c
cvs rdiff -u -r1.72 -r1.72.4.1 src/sys/dev/qbus/if_qe.c
cvs rdiff -u -r1.71 -r1.71.14.1 src/sys/dev/rasops/rasops.c
cvs rdiff -u -r1.30 -r1.30.28.1 src/sys/dev/vme/if_ie_vme.c
cvs rdiff -u -r1.159 -r1.159.2.1 src/sys/net/if_gre.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/dev

2014-08-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Aug 22 09:58:55 UTC 2014

Modified Files:
src/sys/rump/dev: Makefile.rumpdevcomp

Log Message:
Build virtio components as part of RUMPPCIDEVS


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/rump/dev/Makefile.rumpdevcomp

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



CVS commit: src/sys/rump/dev/lib/libvirtio_ld

2014-08-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Aug 22 09:57:05 UTC 2014

Added Files:
src/sys/rump/dev/lib/libvirtio_ld: Makefile VIRTIO_LD.ioconf
ld_at_virtio.c shlib_version

Log Message:
Add a rump kernel component for ld@virtio.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/rump/dev/lib/libvirtio_ld/Makefile \
src/sys/rump/dev/lib/libvirtio_ld/VIRTIO_LD.ioconf \
src/sys/rump/dev/lib/libvirtio_ld/ld_at_virtio.c \
src/sys/rump/dev/lib/libvirtio_ld/shlib_version

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



CVS commit: src/sys/arch/evbarm/rpi

2014-08-22 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Aug 22 09:49:13 UTC 2014

Modified Files:
src/sys/arch/evbarm/rpi: rpi_machdep.c

Log Message:
Remove unnecessary #include


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/evbarm/rpi/rpi_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/dev/lib/libvirtio_if_vioif

2014-08-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Aug 22 09:48:54 UTC 2014

Added Files:
src/sys/rump/dev/lib/libvirtio_if_vioif: Makefile
VIRTIO_IF_VIOIF.ioconf shlib_version vioif_at_virtio.c

Log Message:
Add a rump kernel component for the vioif virtio network interface.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/rump/dev/lib/libvirtio_if_vioif/Makefile \
src/sys/rump/dev/lib/libvirtio_if_vioif/VIRTIO_IF_VIOIF.ioconf \
src/sys/rump/dev/lib/libvirtio_if_vioif/shlib_version \
src/sys/rump/dev/lib/libvirtio_if_vioif/vioif_at_virtio.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/dev/lib/libpci_virtio

2014-08-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Aug 22 09:45:29 UTC 2014

Added Files:
src/sys/rump/dev/lib/libpci_virtio: Makefile PCI_VIRTIO.ioconf
shlib_version virtio_at_pci.c

Log Message:
Add a rump kernel component for the virtio bus.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/rump/dev/lib/libpci_virtio/Makefile \
src/sys/rump/dev/lib/libpci_virtio/PCI_VIRTIO.ioconf \
src/sys/rump/dev/lib/libpci_virtio/shlib_version \
src/sys/rump/dev/lib/libpci_virtio/virtio_at_pci.c

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