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

2015-07-15 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Jul 15 07:29:13 UTC 2015

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

Log Message:
 Configure ioapic before lapic because lapic(lapic_set_lvt()) checks the
existence of ioapic. This change fixes a problem that some machines hang
after attaching ehci (little after writing EHCI_USBINTR to enable interrupt).
Even though cold == 1, LAPIC_LVINT0 was not set as masked. Perhaps it's the
reason of the problem.

This problem was observed on SuperMicro X10SLX-F, X10SDV-TLN4F and
Shuttle DS57U without wm(4) driver.


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/sys/arch/x86/x86/mpacpi.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

2015-07-15 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Jul 15 07:36:01 UTC 2015

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

Log Message:
 Enable MSI/MSI-X feature by default.


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

2015-07-15 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Jul 15 07:40:54 UTC 2015

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

Log Message:
 Cleanup.


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

2015-07-15 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed Jul 15 08:49:16 UTC 2015

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

Log Message:
Make global variables static


To generate a diff of this commit:
cvs rdiff -u -r1.169 -r1.170 src/sys/netinet/if_arp.c

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



CVS commit: src/sys

2015-07-15 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed Jul 15 09:20:18 UTC 2015

Modified Files:
src/sys/netinet: tcp_input.c
src/sys/netinet6: nd6.c nd6.h

Log Message:
Remove unused arguments and the associated code from nd6_nud_hint()

from OpenBSD


To generate a diff of this commit:
cvs rdiff -u -r1.341 -r1.342 src/sys/netinet/tcp_input.c
cvs rdiff -u -r1.163 -r1.164 src/sys/netinet6/nd6.c
cvs rdiff -u -r1.64 -r1.65 src/sys/netinet6/nd6.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/stand/gzboot

2015-07-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jul 15 11:21:49 UTC 2015

Modified Files:
src/sys/arch/evbarm/stand/gzboot: Makefile.gzboot

Log Message:
Clear STRIPFLAGS (stripping in general is dangerous with the -BE8 object
format, and should never be done before the final linking has happened).
>From Rin Okuyama.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/evbarm/stand/gzboot/Makefile.gzboot

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



CVS commit: src/distrib/evbarm/instkernel/sshramdisk

2015-07-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jul 15 11:24:03 UTC 2015

Modified Files:
src/distrib/evbarm/instkernel/sshramdisk: Makefile

Log Message:
Set IMAGEENDIAN properly for big endian builds.
>From Rin Okuyama.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/distrib/evbarm/instkernel/sshramdisk/Makefile

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



CVS commit: src

2015-07-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jul 15 11:27:13 UTC 2015

Modified Files:
src/distrib/utils/embedded: mkimage
src/etc/etc.evbarm: Makefile.inc

Log Message:
Add a new endianes flag to mkimage and pass it on big endian arm builds.
>From Rin Okuyama.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/distrib/utils/embedded/mkimage
cvs rdiff -u -r1.76 -r1.77 src/etc/etc.evbarm/Makefile.inc

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



CVS commit: src/distrib/utils/embedded/conf

2015-07-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jul 15 11:29:16 UTC 2015

Modified Files:
src/distrib/utils/embedded/conf: armv7.conf

Log Message:
Properly escape the $ when trying to pass the u-boot env var $kernel.
>From Rin Okuyama.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/distrib/utils/embedded/conf/armv7.conf

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



CVS commit: src/lib/libc/time

2015-07-15 Thread Brian Ginsbach
Module Name:src
Committed By:   ginsbach
Date:   Wed Jul 15 13:54:38 UTC 2015

Modified Files:
src/lib/libc/time: strptime.c

Log Message:
Don't set state when parsing any timezone (%z) information.  The '+' in
this case isn't the same as the FreeBSD '%+' str[fp]time() (GNU) extension.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/lib/libc/time/strptime.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

2015-07-15 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jul 15 14:27:49 UTC 2015

Modified Files:
src/lib/libc/arch/i386: Makefile.inc
src/lib/libc/arch/i386/gen: Makefile.inc
src/lib/libc/arch/x86_64: Makefile.inc
src/lib/libc/arch/x86_64/gen: Makefile.inc

Log Message:
Don't include sigtramp or foocontext routines in rumprun mode.  They won't
work (since a rump kernel does not provide NetBSD _lwp syscalls nor
signals), but they cause unwanted symbols to be pulled in when the
resulting libc is linked.

problem reported by Robert Gifford on rumpkernel-users


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/arch/i386/Makefile.inc
cvs rdiff -u -r1.28 -r1.29 src/lib/libc/arch/i386/gen/Makefile.inc
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/arch/x86_64/Makefile.inc
cvs rdiff -u -r1.17 -r1.18 src/lib/libc/arch/x86_64/gen/Makefile.inc

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

2015-07-15 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jul 15 14:23:40 UTC 2015

Modified Files:
src/lib/libc/arch/i386/gen: Makefile.inc
src/lib/libc/arch/x86_64/gen: Makefile.inc

Log Message:
Remove "objects built from C sources" comments.  Everyone can see
they're built from C sources because the source files end in .c (???)


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/lib/libc/arch/i386/gen/Makefile.inc
cvs rdiff -u -r1.16 -r1.17 src/lib/libc/arch/x86_64/gen/Makefile.inc

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



CVS commit: src/doc

2015-07-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jul 15 14:43:01 UTC 2015

Modified Files:
src/doc: CHANGES

Log Message:
note that nfssvc(2) supports compat_netbsd32 now.


To generate a diff of this commit:
cvs rdiff -u -r1.2085 -r1.2086 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/lib/libc/stdio

2015-07-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jul 15 19:08:43 UTC 2015

Modified Files:
src/lib/libc/stdio: fopen.3 makebuf.c setbuf.3

Log Message:
Allow changing the default buffering policy for a stdio stream during
construction by setting environment variables.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/lib/libc/stdio/fopen.3
cvs rdiff -u -r1.17 -r1.18 src/lib/libc/stdio/makebuf.c
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/stdio/setbuf.3

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



CVS commit: src/lib/libc/stdlib

2015-07-15 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Jul 16 00:04:00 UTC 2015

Modified Files:
src/lib/libc/stdlib: reallocarr.c

Log Message:
Reorder memcpy(3) and save errno

This chang is for safety as memcpy(3) might change it.

Approved by 


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/stdlib/reallocarr.c

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