CVS commit: src/sys/arch/hppa/hppa

2014-05-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri May 23 08:17:08 UTC 2014

Modified Files:
src/sys/arch/hppa/hppa: ipifuncs.c

Log Message:
Make this compile. Hi rmind!


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/hppa/hppa/ipifuncs.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/rumpvfs

2014-05-23 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri May 23 10:56:37 UTC 2014

Modified Files:
src/sys/rump/librump/rumpvfs: rump_vfs.c

Log Message:
Permissions work better if you specify them in octal ...

Also, do an explicit chmod of /tmp to account for cmask getting in the way.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/rump/librump/rumpvfs/rump_vfs.c

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



CVS commit: src/lib/librumpuser

2014-05-23 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri May 23 11:04:03 UTC 2014

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
Create remote clients with standard file descriptors open.  Fixes at
least editing a new file with ed in rumpremote (because ed calls
isatty(0) in case a file does not exist).


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/lib/librumpuser/rumpuser_sp.c

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



CVS commit: src/tests/lib/libbpfjit

2014-05-23 Thread Alexander Nasonov
Module Name:src
Committed By:   alnsn
Date:   Fri May 23 11:47:59 UTC 2014

Modified Files:
src/tests/lib/libbpfjit: t_bpfjit.c

Log Message:
Test Array Bounds Check Elimination (ABC) and test bpf programs from bpf(4).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libbpfjit/t_bpfjit.c

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



CVS commit: src/tests/lib/libbpfjit

2014-05-23 Thread Alexander Nasonov
Module Name:src
Committed By:   alnsn
Date:   Fri May 23 11:48:26 UTC 2014

Modified Files:
src/tests/lib/libbpfjit: t_bpfjit.c

Log Message:
Update copyright year.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libbpfjit/t_bpfjit.c

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



CVS commit: src/distrib/vax/cdroms/installcd

2014-05-23 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri May 23 12:25:46 UTC 2014

Modified Files:
src/distrib/vax/cdroms/installcd: etc.rc

Log Message:
If mounting the various tmpfs instances fails, we do not have enough
RAM installed. Tell the user about it and exec a single user shell
(instead of randomly failing later and hanging the machine.)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/distrib/vax/cdroms/installcd/etc.rc

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



CVS commit: src/sys/compat/linux/common

2014-05-23 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri May 23 12:28:51 UTC 2014

Modified Files:
src/sys/compat/linux/common: linux_socket.c

Log Message:
Add a funtion that translate socket type value from Linux to NetBSD.
Use it for socket and socketpair syscalls.


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/sys/compat/linux/common/linux_socket.c

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



CVS commit: src/sys/compat/linux/arch/alpha

2014-05-23 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri May 23 12:30:12 UTC 2014

Modified Files:
src/sys/compat/linux/arch/alpha: linux_socket.h

Log Message:
Add missing specific LINUX_SOCK_NONBLOCK value for alpha.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/compat/linux/arch/alpha/linux_socket.h

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

2014-05-23 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Fri May 23 13:24:15 UTC 2014

Modified Files:
src/sys/arch/arm/arm32: arm32_kvminit.c

Log Message:
Fix build failed with GUMSTIX(pxa2x0).  build test only now.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/arm/arm32/arm32_kvminit.c

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

2014-05-23 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri May 23 13:35:26 UTC 2014

Modified Files:
src/external/gpl3/gcc/dist/gcc/config/vax: vax-protos.h vax.c vax.h

Log Message:
Add LEGITIMATE_PIC_OPERAND_P(X) to prevent global symbol + offset from
being a legitimate pic operand (because it's not).


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
src/external/gpl3/gcc/dist/gcc/config/vax/vax-protos.h
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/dist/gcc/config/vax/vax.c
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/dist/gcc/config/vax/vax.h

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

2014-05-23 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Fri May 23 13:56:18 UTC 2014

Modified Files:
src/sys/arch/evbarm/conf: OVERO files.gumstix files.overo
src/sys/arch/evbarm/gumstix: gumstix_machdep.c gumstix_start.S

Log Message:
Call arm32_*_init() and initarm_common().
OVERO work fine.  GUMSTIX build only now.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/evbarm/conf/OVERO
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/evbarm/conf/files.gumstix
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbarm/conf/files.overo
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/evbarm/gumstix/gumstix_machdep.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/evbarm/gumstix/gumstix_start.S

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



CVS commit: src/sys/dev

2014-05-23 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri May 23 13:57:04 UTC 2014

Modified Files:
src/sys/dev/gpio: gpio.c
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
Add aprint_naive("\n") for boot -q


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/gpio/gpio.c
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/pci/hdaudio/hdafg.c

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



CVS commit: src/sys/dev/pci

2014-05-23 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri May 23 14:16:39 UTC 2014

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

Log Message:
 Print the type of serial port from the interface field in the PCI class
register.


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

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



CVS commit: src/include

2014-05-23 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri May 23 16:48:52 UTC 2014

Modified Files:
src/include: stdio.h

Log Message:
Fix use of getline and friends in C++ code.


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/include/stdio.h

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



CVS commit: src/lib/librumpuser

2014-05-23 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri May 23 16:57:42 UTC 2014

Modified Files:
src/lib/librumpuser: rumpuser_sp.c

Log Message:
do previous the right way to avoid rumpuser linkage dependency on librump


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/lib/librumpuser/rumpuser_sp.c

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



CVS commit: src/sys/dev/pci

2014-05-23 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri May 23 17:54:08 UTC 2014

Modified Files:
src/sys/dev/pci: pci_subr.c pcireg.h

Log Message:
PME# clock is not bit 2 but bit 3. Use the macro!


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/dev/pci/pci_subr.c
cvs rdiff -u -r1.87 -r1.88 src/sys/dev/pci/pcireg.h

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-05-23 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri May 23 18:32:13 UTC 2014

Modified Files:
src/sys/dev/pci: pci_subr.c pcireg.h

Log Message:
- Add some register definitions (subclass, power management, etc.)
- Print some information (subclass, power management)
- Use macro.


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/sys/dev/pci/pci_subr.c
cvs rdiff -u -r1.88 -r1.89 src/sys/dev/pci/pcireg.h

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-05-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri May 23 18:35:36 UTC 2014

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

Log Message:
Under "switch it" instructions from matt@ make mips use gcc 4.8


To generate a diff of this commit:
cvs rdiff -u -r1.807 -r1.808 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/share/mk

2014-05-23 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri May 23 18:51:31 UTC 2014

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

Log Message:
Since the majority of architectures uses GCC 4.8, make it the default.
Only ia64, m68k, 32-bit powerpc, and sh3 still use GCC 4.5


To generate a diff of this commit:
cvs rdiff -u -r1.808 -r1.809 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/sys/arch/vax/vax

2014-05-23 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri May 23 19:05:35 UTC 2014

Modified Files:
src/sys/arch/vax/vax: locore.c

Log Message:
#ifdef a variable like its only use


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/arch/vax/vax/locore.c

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



CVS commit: src/sys/net

2014-05-23 Thread Alexander Nasonov
Module Name:src
Committed By:   alnsn
Date:   Fri May 23 19:11:22 UTC 2014

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

Log Message:
Implement unconditional jump to "return 0" for loads at UINT32_MAX+1 or greater.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/net/bpfjit.c

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



CVS commit: src/sys/netinet

2014-05-23 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Fri May 23 19:27:48 UTC 2014

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

Log Message:
Make ip_input() static, there is no need to expose it.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/netinet/in_var.h
cvs rdiff -u -r1.311 -r1.312 src/sys/netinet/ip_input.c

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



CVS commit: src/sys/dev/pci

2014-05-23 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri May 23 19:31:23 UTC 2014

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

Log Message:
No functional change:
- KNF
- Sort in PCI capability ID order.
- Add comments.


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/dev/pci/pci_subr.c

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



CVS commit: src/sys/netinet

2014-05-23 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Fri May 23 19:35:24 UTC 2014

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

Log Message:
Make ip_forward() static, there is no need to expose it.


To generate a diff of this commit:
cvs rdiff -u -r1.312 -r1.313 src/sys/netinet/ip_input.c
cvs rdiff -u -r1.102 -r1.103 src/sys/netinet/ip_var.h

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



CVS commit: src/sys/net

2014-05-23 Thread Alexander Nasonov
Module Name:src
Committed By:   alnsn
Date:   Fri May 23 19:51:16 UTC 2014

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

Log Message:
Loads at offsets UINT32_MAX or greater are unreachable.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/net/bpfjit.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/usr.bin/nvi

2014-05-23 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Fri May 23 19:59:17 UTC 2014

Modified Files:
src/external/bsd/nvi/usr.bin/nvi: Makefile

Log Message:
PR toolchain/48833: Ilia Zykov: nvi build fails if under /common

When autogenerating headers from source (yuck) use a more selective
pattern to avoid selecting anything if part of the current absolute
path happens to match part of the nvi source tree.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/nvi/usr.bin/nvi/Makefile

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



CVS commit: src/usr.sbin/vnconfig

2014-05-23 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Fri May 23 20:50:16 UTC 2014

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

Log Message:
PR bin/48829 Thomas Schmitt: vnconfig pretends to succeed on
nonexistent files


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/usr.sbin/vnconfig/vnconfig.c

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



CVS commit: src/sys/net

2014-05-23 Thread Alexander Nasonov
Module Name:src
Committed By:   alnsn
Date:   Fri May 23 22:04:09 UTC 2014

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

Log Message:
Enable ABC optimization when one branch returns 0.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/net/bpfjit.c

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



CVS commit: src/sys/dev/pci

2014-05-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri May 23 22:58:56 UTC 2014

Modified Files:
src/sys/dev/pci: agp_i810.c agp_i810var.h agpreg.h

Log Message:
Implement Intel AGP chipset flush.

While here, fix the use of the I915 PCI MSAC register: it lies on the
bridge device (bus 0 dev 0 func 0), not the graphics device (bus 0
dev 2 func 0).  I'm not sure we ever need to consult this register,
really -- the PCI BARs should be sized.  But I'll leave a rototill of
this mess for another day.


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/dev/pci/agp_i810.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/agp_i810var.h
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/pci/agpreg.h

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



CVS commit: src/sys/external/bsd/drm2/i915drm

2014-05-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri May 23 22:59:23 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/i915drm: intel_gtt.c

Log Message:
Implement intel_gtt_chipset_flush correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/drm2/i915drm/intel_gtt.c

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



CVS commit: src/sys/external/bsd/drm2/i915drm

2014-05-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri May 23 23:02:47 UTC 2014

Modified Files:
src/sys/external/bsd/drm2/i915drm: i915_gem_gtt.c

Log Message:
Fix GTT PTE flag bits.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/external/bsd/drm2/i915drm/i915_gem_gtt.c

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



CVS commit: src/sys/netinet

2014-05-23 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Fri May 23 23:38:48 UTC 2014

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

Log Message:
ip_input(), ip_savecontrol(): cache m->m_pkthdr.rcvif in a variable.


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

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