CVS commit: src/sys/arch/amd64/include

2015-01-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Jan  9 01:08:49 UTC 2015

Modified Files:
src/sys/arch/amd64/include: pmap.h

Log Message:
Bump amd64 module map size to 32 MB.

For lack of anything better to do, after no progress in discussion on
the matter:

https://mail-index.netbsd.org/port-amd64/2014/08/22/msg002108.html

Needed in order to load the (solaris module needed by) dtrace module.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/amd64/include/pmap.h

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



CVS commit: src/doc

2015-01-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Jan  8 23:59:26 UTC 2015

Modified Files:
src/doc: BUILDING.mdoc

Log Message:
Use `It Sy', not just `It', for live-image, to match other targets.

No change to plain-text BUILDING file.


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/doc/BUILDING.mdoc

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

2015-01-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Jan  8 23:43:11 UTC 2015

Modified Files:
src/share/man/man9: uvm_km.9

Log Message:
Clarify uvm_km_alloc is contiguous and zero result means fail.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man9/uvm_km.9

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



CVS commit: src/sys/kern

2015-01-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Jan  8 23:39:57 UTC 2015

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

Log Message:
Use membar_datadep_consumer where code inspection reveals it necessary.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/kern/subr_pcq.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-01-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Jan  8 23:35:47 UTC 2015

Modified Files:
src/sys/external/bsd/drm2/include/linux: ww_mutex.h
src/sys/external/bsd/drm2/linux: files.drmkms_linux
src/sys/modules/drmkms_linux: Makefile
Added Files:
src/sys/external/bsd/drm2/linux: linux_ww_mutex.c

Log Message:
Move Linux ww_mutex code into a .c file where it belongs.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/external/bsd/drm2/include/linux/ww_mutex.h
cvs rdiff -u -r1.7 -r1.8 src/sys/external/bsd/drm2/linux/files.drmkms_linux
cvs rdiff -u -r0 -r1.1 src/sys/external/bsd/drm2/linux/linux_ww_mutex.c
cvs rdiff -u -r1.5 -r1.6 src/sys/modules/drmkms_linux/Makefile

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



CVS commit: src

2015-01-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Jan  8 22:27:18 UTC 2015

Modified Files:
src/common/lib/libc/arch/alpha/atomic: membar_ops.S
src/lib/libc/atomic: membar_ops.3
src/sys/arch/alpha/include: types.h
src/sys/sys: atomic.h

Log Message:
Introduce membar_datadep_consumer.

Discussed briefly on tech-kern without objection:

https://mail-index.netbsd.org/tech-kern/2014/11/20/msg018054.html
https://mail-index.netbsd.org/tech-kern/2015/01/07/msg018326.html


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/common/lib/libc/arch/alpha/atomic/membar_ops.S
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/atomic/membar_ops.3
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/alpha/include/types.h
cvs rdiff -u -r1.12 -r1.13 src/sys/sys/atomic.h

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



CVS commit: src/usr.bin/ktrace

2015-01-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Jan  8 22:03:42 UTC 2015

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

Log Message:
Omit no longer existing l, m from default trace points.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/ktrace/ktrace.1

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



CVS commit: src/sys/kern

2015-01-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan  8 16:13:07 UTC 2015

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

Log Message:
PR/49104: Jarle Greipsland: Don't use cpu_counter32() unconditionally.
XXX: pullup-7


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/kern/kern_rndq.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/ic

2015-01-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Jan  8 14:44:43 UTC 2015

Modified Files:
src/sys/dev/ic: dwc_gmac.c

Log Message:
fix a couple txq fencepost issues, from FUKAUMI Naoki 


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

2015-01-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Jan  8 14:17:43 UTC 2015

Modified Files:
src/sys/arch/arm/rockchip: rockchip_emac.c

Log Message:
fix a couple txq fencepost issues, from FUKAUMI Naoki 


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/rockchip/rockchip_emac.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/rockchip

2015-01-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Jan  8 13:37:54 UTC 2015

Modified Files:
src/sys/arch/arm/rockchip: rockchip_emac.c

Log Message:
no need to invert ether_crc32_le return, now multicast works


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/rockchip/rockchip_emac.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

2015-01-08 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Jan  8 12:06:50 UTC 2015

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

Log Message:
vfs_vnode_iterator_destroy: set v_usecount of marker to zero to prevent
an assertion from vnfree().


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/kern/vfs_mount.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/doc

2015-01-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jan  8 11:48:47 UTC 2015

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

Log Message:
Tickets #390, #392, #393, #394, #395


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

2015-01-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jan  8 11:47:11 UTC 2015

Modified Files:
src/sbin/route [netbsd-7]: rtutil.c rtutil.h
src/usr.bin/netstat [netbsd-7]: if.c

Log Message:
Pull up following revision(s) (requested by prlw1 in ticket #395):
sbin/route/rtutil.c: revision 1.4
sbin/route/rtutil.h: revision 1.3
usr.bin/netstat/if.c: revision 1.81
make netname4 match the netname6 signature avoiding a NULL pointer.
adjust to the netname4 prototype.


To generate a diff of this commit:
cvs rdiff -u -r1.4.2.2 -r1.4.2.3 src/sbin/route/rtutil.c
cvs rdiff -u -r1.3.2.2 -r1.3.2.3 src/sbin/route/rtutil.h
cvs rdiff -u -r1.79.4.1 -r1.79.4.2 src/usr.bin/netstat/if.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

2015-01-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jan  8 11:39:38 UTC 2015

Modified Files:
src/sys/arch/x86/pci [netbsd-7]: ichlpcib.c
src/sys/dev/ic [netbsd-7]: i82801lpcreg.h
src/sys/dev/pci [netbsd-7]: pci_map.c pcivar.h

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #394):
sys/dev/pci/pcivar.h: revision 1.101
sys/dev/pci/pci_map.c: revision 1.32
sys/dev/ic/i82801lpcreg.h: revision 1.12
sys/arch/x86/pci/ichlpcib.c: revision 1.45
Fix a bug that ichlpcib(4) maps I/O area incorrectly and then fails to attach
gpio. It might also fix ACPI related problem described in PR#48960:
  - The LPCIB_PCI_PMBASE and LPCIB_PCI_GPIO register are alike PCI BAR but not
completely compatible with it. It's ok because the registers' addresses are
out of BAR0-BAR5(0x10-0x24) and are located in the device-dependent header.
The PMBASE and GPIO registers define the base address and the type but not
describe the size. The size is fixed to 128bytes. So use
pci_mapreg_submap().
  - Make pci_mapreg_submap() extern again.
  - Fix the calculation of the map size in pci_mapreg_submap().


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.43.4.1 src/sys/arch/x86/pci/ichlpcib.c
cvs rdiff -u -r1.11 -r1.11.34.1 src/sys/dev/ic/i82801lpcreg.h
cvs rdiff -u -r1.30.12.1 -r1.30.12.2 src/sys/dev/pci/pci_map.c
cvs rdiff -u -r1.99.4.1 -r1.99.4.2 src/sys/dev/pci/pcivar.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/arch/x86/x86

2015-01-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jan  8 11:15:45 UTC 2015

Modified Files:
src/sys/arch/x86/x86 [netbsd-7]: intel_busclock.c

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #393):
sys/arch/x86/x86/intel_busclock.c: revision 1.20
- Round off some bus clock values.
- Add 333.33MHz for Pentium 4.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.19.2.1 src/sys/arch/x86/x86/intel_busclock.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/dev

2015-01-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jan  8 11:07:43 UTC 2015

Modified Files:
src/sys/dev/acpi [netbsd-7]: acpi_ec.c
src/sys/dev/isa [netbsd-7]: pcppi.c

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #392):
sys/dev/acpi/acpi_ec.c: revision 1.74
sys/dev/isa/pcppi.c: revision 1.43
Add missing newlines...


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.73.2.1 src/sys/dev/acpi/acpi_ec.c
cvs rdiff -u -r1.42 -r1.42.14.1 src/sys/dev/isa/pcppi.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

2015-01-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jan  8 11:01:01 UTC 2015

Modified Files:
src/distrib/utils/x_route [netbsd-7]: Makefile
src/sbin/route [netbsd-7]: Makefile extern.h prog_ops.h route.c show.c
src/usr.bin/netstat [netbsd-7]: Makefile if.c main.c mroute.c mroute6.c
netstat.h route.c
Added Files:
src/sbin/route [netbsd-7]: rtutil.c rtutil.h
Removed Files:
src/usr.bin/netstat [netbsd-7]: show.c

Log Message:
Pull up following revision(s) (requested by prlw1 in ticket #390):
usr.bin/netstat/mroute.c: revision 1.25
usr.bin/netstat/Makefile: revision 1.40
sbin/route/prog_ops.h: revision 1.3
sbin/route/rtutil.c: revision 1.1
sbin/route/rtutil.h: revision 1.1
usr.bin/netstat/mroute6.c: revision 1.15
sbin/route/extern.h: revision 1.15
usr.bin/netstat/show.c: file removal
usr.bin/netstat/main.c: revision 1.93
usr.bin/netstat/route.c: revision 1.83
usr.bin/netstat/netstat.h: revision 1.51
distrib/utils/x_route/Makefile: revision 1.18
sbin/route/show.c: revision 1.46
usr.bin/netstat/if.c: revision 1.80
sbin/route/route.c: revision 1.145
sbin/route/Makefile: revision 1.26
Factor out the netstat route printing code and use it here. There is no
point in having 2 different copies; fixes PR/49371


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.17.26.1 src/distrib/utils/x_route/Makefile
cvs rdiff -u -r1.25 -r1.25.24.1 src/sbin/route/Makefile
cvs rdiff -u -r1.14 -r1.14.24.1 src/sbin/route/extern.h
cvs rdiff -u -r1.2 -r1.2.24.1 src/sbin/route/prog_ops.h
cvs rdiff -u -r1.144.4.1 -r1.144.4.2 src/sbin/route/route.c
cvs rdiff -u -r0 -r1.4.2.2 src/sbin/route/rtutil.c
cvs rdiff -u -r0 -r1.3.2.2 src/sbin/route/rtutil.h
cvs rdiff -u -r1.45 -r1.45.8.1 src/sbin/route/show.c
cvs rdiff -u -r1.39 -r1.39.8.1 src/usr.bin/netstat/Makefile
cvs rdiff -u -r1.79 -r1.79.4.1 src/usr.bin/netstat/if.c
cvs rdiff -u -r1.91 -r1.91.2.1 src/usr.bin/netstat/main.c
cvs rdiff -u -r1.24 -r1.24.10.1 src/usr.bin/netstat/mroute.c
cvs rdiff -u -r1.14 -r1.14.4.1 src/usr.bin/netstat/mroute6.c
cvs rdiff -u -r1.50 -r1.50.2.1 src/usr.bin/netstat/netstat.h
cvs rdiff -u -r1.82 -r1.82.2.1 src/usr.bin/netstat/route.c
cvs rdiff -u -r1.20 -r0 src/usr.bin/netstat/show.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

2015-01-08 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Jan  8 10:47:44 UTC 2015

Modified Files:
src/sys/net: if_bridge.c if_bridgevar.h

Log Message:
Use pserialize for rtlist in bridge

This change enables lockless accesses to bridge rtable lists.
See locking notes in a comment to know how pserialize and
mutexes are used. Some functions are rearranged to use
pserialize. A workqueue is introduced to use pserialize in
bridge_rtage via bridge_timer callout.

As usual, pserialize and mutexes are used only when NET_MPSAFE
on. On the other hand, the newly added workqueue is used
regardless of NET_MPSAFE on or off.


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/sys/net/if_bridge.c
cvs rdiff -u -r1.21 -r1.22 src/sys/net/if_bridgevar.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/cortex

2015-01-08 Thread Kenichi Hashimoto
Module Name:src
Committed By:   hkenken
Date:   Thu Jan  8 10:38:08 UTC 2015

Modified Files:
src/sys/arch/arm/cortex: a9tmr.c

Log Message:
fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/cortex/a9tmr.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/doc

2015-01-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Jan  8 08:27:27 UTC 2015

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

Log Message:
391


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.151 -r1.1.2.152 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/sbin/brconfig

2015-01-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Jan  8 08:26:57 UTC 2015

Modified Files:
src/sbin/brconfig [netbsd-7]: brconfig.8

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #391):
sbin/brconfig/brconfig.8: revision 1.18
Add missing "addr" and "static" commands.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.17.56.1 src/sbin/brconfig/brconfig.8

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