CVS commit: src/sys/arch/sgimips/conf

2017-06-09 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Jun  9 07:32:24 UTC 2017

Modified Files:
src/sys/arch/sgimips/conf: INSTALL64_IP2x

Log Message:
Align MEMORY_ROOT_DISK_SIZE with INSTALL32_IP2x


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/sgimips/conf/INSTALL64_IP2x

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



CVS commit: src/sys/netcan

2017-06-09 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Fri Jun  9 08:21:41 UTC 2017

Modified Files:
src/sys/netcan: can_pcb.c

Log Message:
Refuse to bind to a non-CAN interface.
Also release the lock in the error branch.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/netcan/can_pcb.c

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



CVS commit: src/tests/net/can

2017-06-09 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Fri Jun  9 08:23:45 UTC 2017

Modified Files:
src/tests/net/can: t_can.c

Log Message:
Test bind()ing to a non-existent interface.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/net/can/t_can.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/usb

2017-06-09 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Fri Jun  9 10:11:20 UTC 2017

Modified Files:
src/sys/dev/usb: uaudio.c

Log Message:
Start as half as many transfers for recording.  This fixes recording and
play back when uaudio is used in full duplex mode.
The transfer scheduling probably is to blame.

Ok skrll@.


To generate a diff of this commit:
cvs rdiff -u -r1.153 -r1.154 src/sys/dev/usb/uaudio.c

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



CVS commit: [netbsd-8] src/sys/dev/sdmmc

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Jun  9 16:52:10 UTC 2017

Modified Files:
src/sys/dev/sdmmc [netbsd-8]: ld_sdmmc.c

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #14):
sys/dev/sdmmc/ld_sdmmc.c: revision 1.27
Fix a race between ld_sdmmc_start and ld_sdmmc_dobio that could result in
tasks getting lost from the task queue. The symptom of this is a NULL
deref in ld_sdmmc_start since the code assumes that a task will always be
available from the pool.
This changes the code to use pcq(9) instead of a TAILQ to manage the free
task list.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.26.4.1 src/sys/dev/sdmmc/ld_sdmmc.c

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



CVS commit: [netbsd-8] src/bin/sh

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Jun  9 16:53:39 UTC 2017

Modified Files:
src/bin/sh [netbsd-8]: sh.1

Log Message:
Pull up following revision(s) (requested by kre in ticket #15):
bin/sh/sh.1: revision 1.148
Fix a typo (or rather a remnant of an earlier intent).


To generate a diff of this commit:
cvs rdiff -u -r1.146.2.1 -r1.146.2.2 src/bin/sh/sh.1

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



CVS commit: [netbsd-8] src/distrib/notes/macppc

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Jun  9 16:55:05 UTC 2017

Modified Files:
src/distrib/notes/macppc [netbsd-8]: prep.OPENFIRMWARE

Log Message:
Pull up following revision(s) (requested by he in ticket #16):
distrib/notes/macppc/prep.OPENFIRMWARE: revision 1.19
Change the deprecation notice about ofwboot.elf to say that it may
still be required in some cases, as observed by some MacMini users.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.18.8.1 src/distrib/notes/macppc/prep.OPENFIRMWARE

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



CVS commit: [netbsd-8] src/sys

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Jun  9 16:59:20 UTC 2017

Modified Files:
src/sys/arch/arm/fdt [netbsd-8]: files.fdt
src/sys/arch/evbarm/conf [netbsd-8]: VEXPRESS_A15
src/sys/conf [netbsd-8]: files
Added Files:
src/sys/arch/arm/fdt [netbsd-8]: aaci_fdt.c
src/sys/dev/ic [netbsd-8]: pl041.c pl041var.h

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #17):
sys/arch/arm/fdt/aaci_fdt.c: revision 1.1
sys/arch/arm/fdt/files.fdt: revision 1.10
sys/arch/evbarm/conf/VEXPRESS_A15: revisions 1.14, 1.15
sys/conf/files: revision 1.1174
sys/dev/ic/pl041.c: revisions 1.1-1.3
sys/dev/ic/pl041var.h: revision 1.1
Add driver for ARM PrimeCell Advanced Audio CODEC interface (PL041).
Don't expect this driver to work on real hardware, but QEMU emulates it.
--
Add fdt glue for ARM PrimeCell Advanced Audio CODEC interface (PL041).
--
Add aaci at fdt, commented out for now. Driver should work (tm) but QEMU
and my old Thinkpad can't seem to keep up.
--
Fix two bugs:
 - Inverted test for fifo status in aaci_write_data
 - Return success from trigger_output (thanks nat)
--
Enable aaci
--
bus_space_write_multi_4 takes a count, not number of bytes. With this,
audio works in qemu.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.2 src/sys/arch/arm/fdt/aaci_fdt.c
cvs rdiff -u -r1.9 -r1.9.2.1 src/sys/arch/arm/fdt/files.fdt
cvs rdiff -u -r1.12.2.1 -r1.12.2.2 src/sys/arch/evbarm/conf/VEXPRESS_A15
cvs rdiff -u -r1.1173 -r1.1173.2.1 src/sys/conf/files
cvs rdiff -u -r0 -r1.3.2.2 src/sys/dev/ic/pl041.c
cvs rdiff -u -r0 -r1.1.2.2 src/sys/dev/ic/pl041var.h

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



CVS commit: [netbsd-8] src/sys/dev

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Jun  9 17:00:46 UTC 2017

Modified Files:
src/sys/dev [netbsd-8]: audio.c

Log Message:
Pull up following revision(s) (requested by nat in ticket #18):
sys/dev/audio.c: revision 1.358
Retrn error to userland from startp/startr depending on the error from
trigger/start output/input.
Found by jmcneill@.


To generate a diff of this commit:
cvs rdiff -u -r1.357 -r1.357.2.1 src/sys/dev/audio.c

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



CVS commit: [netbsd-8] src/doc

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Jun  9 17:01:39 UTC 2017

Modified Files:
src/doc [netbsd-8]: CHANGES-8.0

Log Message:
tickets 14-18


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/doc/CHANGES-8.0

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



CVS commit: src/etc/pam.d

2017-06-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jun  9 17:28:34 UTC 2017

Modified Files:
src/etc/pam.d: Makefile
Added Files:
src/etc/pam.d: cron

Log Message:
Add cron.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/etc/pam.d/Makefile
cvs rdiff -u -r0 -r1.1 src/etc/pam.d/cron

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

2017-06-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jun  9 17:29:03 UTC 2017

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

Log Message:
add cron.


To generate a diff of this commit:
cvs rdiff -u -r1.247 -r1.248 src/distrib/sets/lists/etc/mi

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



CVS commit: src/external/bsd/cron

2017-06-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jun  9 17:36:30 UTC 2017

Modified Files:
src/external/bsd/cron/bin/cron: Makefile
src/external/bsd/cron/bin/crontab: Makefile
src/external/bsd/cron/dist: Makefile config.h cron.c crontab.c
database.c do_command.c funcs.h misc.c popen.c
Added Files:
src/external/bsd/cron/dist: closeall.c pam_auth.c

Log Message:
Apply selected patches from OpenWall:
http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/vixie-cron/

1. Add PAM support.
2. Sanitize children process reaping
3. futimens when we have an fd
4. close_all for crontab(8)
5. use a table for spool dirs instead of duplicating code.
6. handle errors from process_exit()
7. Add ENABLE_FIX_DIRECTORIES ifdef and enable it by default for compat
8. Avoid using fd's < STDERR

Not applied:
1. no xfork (no setresuid)
2. did not do the lstat before open.
3. did not enable cron group


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/cron/bin/cron/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/cron/bin/crontab/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/cron/dist/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/cron/dist/closeall.c \
src/external/bsd/cron/dist/pam_auth.c
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/cron/dist/config.h \
src/external/bsd/cron/dist/popen.c
cvs rdiff -u -r1.9 -r1.10 src/external/bsd/cron/dist/cron.c
cvs rdiff -u -r1.13 -r1.14 src/external/bsd/cron/dist/crontab.c
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/cron/dist/database.c
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/cron/dist/do_command.c
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/cron/dist/funcs.h \
src/external/bsd/cron/dist/misc.c

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



CVS commit: src/sys

2017-06-09 Thread Felix Deichmann
Module Name:src
Committed By:   flxd
Date:   Fri Jun  9 17:55:18 UTC 2017

Modified Files:
src/sys/arch/alpha/tc: tcasic.c
src/sys/arch/pmax/tc: tcbus.c
src/sys/arch/vax/conf: files.vax
src/sys/arch/vax/vsa: tc_vsbus.c
src/sys/dev/tc: tc.c tcvar.h

Log Message:
Make VAXstation 4000 TURBOchannel adaptor work.
PIO and IRQ tested on VS4000/60 and /96 with TC-USB (slhci) and PMAD-AA (le).
DMA is untested.
vax needs space to be mapped out, so memory space is pre-mapped for TC option
drivers not bus_space'ified yet, also providing custom bus_space methods for
this kludge.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/alpha/tc/tcasic.c
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/pmax/tc/tcbus.c
cvs rdiff -u -r1.120 -r1.121 src/sys/arch/vax/conf/files.vax
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/vax/vsa/tc_vsbus.c
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/tc/tc.c
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/tc/tcvar.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/vax/vsa

2017-06-09 Thread Felix Deichmann
Module Name:src
Committed By:   flxd
Date:   Fri Jun  9 18:02:40 UTC 2017

Modified Files:
src/sys/arch/vax/vsa: tc_vsbus.c

Log Message:
whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/vax/vsa/tc_vsbus.c

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



CVS commit: src

2017-06-09 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Fri Jun  9 18:14:59 UTC 2017

Modified Files:
src/etc/etc.evbarm: Makefile.inc
src/sys/arch/arm/imx: if_enet.c if_enet_imx6.c if_enet_imx7.c
if_enetreg.h if_enetvar.h imx6_ahcisata.c imx6_board.c imx6_ccm.c
imx6_ccmreg.h imx6_gpio.c imx6_intr.h imx6_iomuxreg.h imx6_pcie.c
imx6_reg.h imx6_uart.c imx6_usdhc.c imx6_wdog.c imx6var.h
src/sys/arch/evbarm/nitrogen6: nitrogen6_iomux.c nitrogen6_start.S
Added Files:
src/sys/arch/evbarm/conf: IMX6UL-STARTER IMX6UL-STARTER_INSTALL
mk.imx6ul std.imx6ul

Log Message:
add support for i.MX6UltraLite, and
ConnectCore for iMX6UL Starter Board.


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/etc/etc.evbarm/Makefile.inc
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/imx/if_enet.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/imx/if_enet_imx6.c \
src/sys/arch/arm/imx/if_enetreg.h src/sys/arch/arm/imx/imx6_pcie.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/imx/if_enet_imx7.c \
src/sys/arch/arm/imx/if_enetvar.h src/sys/arch/arm/imx/imx6_gpio.c \
src/sys/arch/arm/imx/imx6_uart.c src/sys/arch/arm/imx/imx6_wdog.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/imx/imx6_ahcisata.c \
src/sys/arch/arm/imx/imx6_ccmreg.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/imx/imx6_board.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/imx/imx6_ccm.c \
src/sys/arch/arm/imx/imx6_reg.h src/sys/arch/arm/imx/imx6var.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/imx/imx6_intr.h \
src/sys/arch/arm/imx/imx6_iomuxreg.h src/sys/arch/arm/imx/imx6_usdhc.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbarm/conf/IMX6UL-STARTER \
src/sys/arch/evbarm/conf/IMX6UL-STARTER_INSTALL \
src/sys/arch/evbarm/conf/mk.imx6ul src/sys/arch/evbarm/conf/std.imx6ul
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/nitrogen6/nitrogen6_iomux.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/nitrogen6/nitrogen6_start.S

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



CVS commit: [jdolecek-ncq] src/sys/dev/ic

2017-06-09 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Fri Jun  9 20:18:58 UTC 2017

Modified Files:
src/sys/dev/ic [jdolecek-ncq]: mvsata.c mvsatavar.h

Log Message:
fix the driver to work again - switch to using tag from xfer, adjust
to framework changes (queue dynamically allocated), and do not store
pointer to xfer inside internal structures

unhide the ATAPI code and fix to compile, keep it disabled however

no indended functional changes, logic kept as close as possible to what was
there before; tested with Adaptec 1430SA (88SX7042)


To generate a diff of this commit:
cvs rdiff -u -r1.35.6.6 -r1.35.6.7 src/sys/dev/ic/mvsata.c
cvs rdiff -u -r1.2 -r1.2.48.1 src/sys/dev/ic/mvsatavar.h

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



CVS commit: src/tests/bin/sh

2017-06-09 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Fri Jun  9 23:49:58 UTC 2017

Modified Files:
src/tests/bin/sh: t_syntax.sh

Log Message:
Add two new sub-tests to the c_line_wrapping test case.

These should detect if the errors that caused MAKDEV to fail and
pkgsrc/pkgtools/cwrappers to fail to build (problem detected in
libnbcompat/configure) ever return.

Also fixed one of the other sub-tests so that it actually does what
it should - no idea how this one has been passing, it did not for me
when I was checking the new ones (but perhaps in the interim I have
fixed something else in sh, the problem was in the area I have been
playing, and I originally debugged the new tests using a newer version
of /bin/sh than has yet been committed.)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/bin/sh/t_syntax.sh

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



CVS commit: src/sys/ufs/lfs

2017-06-09 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Jun 10 05:29:36 UTC 2017

Modified Files:
src/sys/ufs/lfs: lfs_accessors.h lfs_alloc.c lfs_balloc.c lfs_bio.c
lfs_inode.c lfs_inode.h lfs_itimes.c lfs_pages.c lfs_rename.c
lfs_segment.c lfs_subr.c lfs_vnops.c ulfs_inode.c ulfs_inode.h
ulfs_lookup.c ulfs_quota2.c ulfs_readwrite.c ulfs_vnops.c

Log Message:
Rename i_flag to i_state.

The similarity to i_flags has previously caused errors.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/ufs/lfs/lfs_accessors.h
cvs rdiff -u -r1.135 -r1.136 src/sys/ufs/lfs/lfs_alloc.c
cvs rdiff -u -r1.93 -r1.94 src/sys/ufs/lfs/lfs_balloc.c \
src/sys/ufs/lfs/lfs_subr.c
cvs rdiff -u -r1.140 -r1.141 src/sys/ufs/lfs/lfs_bio.c
cvs rdiff -u -r1.156 -r1.157 src/sys/ufs/lfs/lfs_inode.c
cvs rdiff -u -r1.22 -r1.23 src/sys/ufs/lfs/lfs_inode.h
cvs rdiff -u -r1.19 -r1.20 src/sys/ufs/lfs/lfs_itimes.c \
src/sys/ufs/lfs/ulfs_inode.c
cvs rdiff -u -r1.13 -r1.14 src/sys/ufs/lfs/lfs_pages.c
cvs rdiff -u -r1.21 -r1.22 src/sys/ufs/lfs/lfs_rename.c
cvs rdiff -u -r1.269 -r1.270 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -u -r1.316 -r1.317 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -u -r1.23 -r1.24 src/sys/ufs/lfs/ulfs_inode.h \
src/sys/ufs/lfs/ulfs_readwrite.c
cvs rdiff -u -r1.40 -r1.41 src/sys/ufs/lfs/ulfs_lookup.c
cvs rdiff -u -r1.30 -r1.31 src/sys/ufs/lfs/ulfs_quota2.c
cvs rdiff -u -r1.48 -r1.49 src/sys/ufs/lfs/ulfs_vnops.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/x86/x86

2017-06-09 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Jun 10 05:31:34 UTC 2017

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

Log Message:
Further reduce the loop counter so that hatching completes before the
boot processor times us out.

Add a nice big XXX comment for why the counter is so low.

XXX Will need to pullup to NetBSD-7 branch


To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 src/sys/arch/x86/x86/cpu.c

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



CVS commit: [netbsd-8] src/sys

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jun 10 05:57:08 UTC 2017

Modified Files:
src/sys/arch/arm/fdt [netbsd-8]: files.fdt
src/sys/arch/evbarm/conf [netbsd-8]: VEXPRESS_A15
src/sys/conf [netbsd-8]: files
Added Files:
src/sys/arch/arm/fdt [netbsd-8]: plrtc_fdt.c
src/sys/dev/ic [netbsd-8]: pl031.c pl031var.h

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #19):
sys/arch/arm/fdt/files.fdt: revision 1.11
sys/arch/arm/fdt/plrtc_fdt.c: revision 1.1
sys/arch/evbarm/conf/VEXPRESS_A15: revision 1.16
sys/conf/files: revision 1.1175
sys/dev/ic/pl031.c: revision 1.1
sys/dev/ic/pl031var.h: revision 1.1
Add driver for ARM PrimeCell PL031 (RTC) Real Time Clock.
--
Add fdt glue for plrtc
--
Add plrtc driver


To generate a diff of this commit:
cvs rdiff -u -r1.9.2.1 -r1.9.2.2 src/sys/arch/arm/fdt/files.fdt
cvs rdiff -u -r0 -r1.1.2.2 src/sys/arch/arm/fdt/plrtc_fdt.c
cvs rdiff -u -r1.12.2.2 -r1.12.2.3 src/sys/arch/evbarm/conf/VEXPRESS_A15
cvs rdiff -u -r1.1173.2.1 -r1.1173.2.2 src/sys/conf/files
cvs rdiff -u -r0 -r1.1.2.2 src/sys/dev/ic/pl031.c src/sys/dev/ic/pl031var.h

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



CVS commit: [netbsd-8] src/sys/dev/pad

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jun 10 06:05:48 UTC 2017

Modified Files:
src/sys/dev/pad [netbsd-8]: pad.c padvar.h

Log Message:
Pull up following revision(s) (requested by nat in ticket #20):
sys/dev/pad/pad.c: revisions 1.33-1.35
sys/dev/pad/padvar.h: revision 1.9
Express BYTESTOSLEEP as an 64 bit integer.
Use BYTESTOSLEEP in expresson of BYTES_PER_SEC.
--
sc_bytes_count needs to be set in pad_audio_open not pad_open.
--
Simplification of rate limiter.  It now works uni/multiprocessor.
--
pad blocksize 1024 -> 8192.  Helps when sleeping in rate limiter.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.32.2.1 src/sys/dev/pad/pad.c
cvs rdiff -u -r1.8 -r1.8.2.1 src/sys/dev/pad/padvar.h

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



CVS commit: [netbsd-8] src/sys/dev/pci

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jun 10 06:17:01 UTC 2017

Modified Files:
src/sys/dev/pci [netbsd-8]: if_iwm.c

Log Message:
Pull up following revision(s) (requested by nonaka in ticket #21):
sys/dev/pci/if_iwm.c: revision 1.74
fix typo.
reported by ryo@.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.73.2.1 src/sys/dev/pci/if_iwm.c

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



CVS commit: [netbsd-8] src/sys/arch/mips/mips

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jun 10 06:18:52 UTC 2017

Modified Files:
src/sys/arch/mips/mips [netbsd-8]: mips_machdep.c pmap_machdep.c

Log Message:
Pull up following revision(s) (requested by skrll in ticket #22):
sys/arch/mips/mips/mips_machdep.c: revision 1.278
sys/arch/mips/mips/pmap_machdep.c: revision 1.21
Always use XKPHYS for pool pages on _LP64; otherwise use KSEG0
--
Maintain the split of physical memory into the defined freelists, but
only force pool pages to VM_FREELIST_FIRST512M for non _LP64


To generate a diff of this commit:
cvs rdiff -u -r1.277 -r1.277.2.1 src/sys/arch/mips/mips/mips_machdep.c
cvs rdiff -u -r1.19.2.1 -r1.19.2.2 src/sys/arch/mips/mips/pmap_machdep.c

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



CVS commit: [netbsd-8] src/sys/arch/sgimips/conf

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jun 10 06:21:27 UTC 2017

Modified Files:
src/sys/arch/sgimips/conf [netbsd-8]: INSTALL64_IP2x

Log Message:
Pull up following revision(s) (requested by skrll in ticket #23):
sys/arch/sgimips/conf/INSTALL64_IP2x: revision 1.3
Align MEMORY_ROOT_DISK_SIZE with INSTALL32_IP2x


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.58.1 src/sys/arch/sgimips/conf/INSTALL64_IP2x

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



CVS commit: [netbsd-8] src/sys/dev/usb

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jun 10 06:23:01 UTC 2017

Modified Files:
src/sys/dev/usb [netbsd-8]: uaudio.c

Log Message:
Pull up following revision(s) (requested by nat in ticket #24):
sys/dev/usb/uaudio.c: revision 1.154
Start as half as many transfers for recording.  This fixes recording and
play back when uaudio is used in full duplex mode.
The transfer scheduling probably is to blame.
Ok skrll@.


To generate a diff of this commit:
cvs rdiff -u -r1.153 -r1.153.2.1 src/sys/dev/usb/uaudio.c

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



CVS commit: [netbsd-8] src/sys/arch/mips/mips

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jun 10 06:25:29 UTC 2017

Modified Files:
src/sys/arch/mips/mips [netbsd-8]: locore_mips1.S

Log Message:
Pull up following revision(s) (requested by skrll in ticket #25):
sys/arch/mips/mips/locore_mips1.S: revision 1.92, 1.93
fix tlb_record_asids 2nd arg to match usage - it's a maximum asid value
and not a mask
--
Add a missing ".set at" to make previous build


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.91.8.1 src/sys/arch/mips/mips/locore_mips1.S

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



CVS commit: [netbsd-8] src/libexec/ld.elf_so

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jun 10 06:27:51 UTC 2017

Modified Files:
src/libexec/ld.elf_so [netbsd-8]: rtld.c

Log Message:
Pull up following revision(s) (requested by joerg in ticket #26):
libexec/ld.elf_so/rtld.c: revision 1.184
Call _rtld_debug_state before running the global initialisers, so give
gdb a chance to set break points etc.


To generate a diff of this commit:
cvs rdiff -u -r1.183 -r1.183.4.1 src/libexec/ld.elf_so/rtld.c

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



CVS commit: [netbsd-8] src/external/bsd/dhcp/dist/relay

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jun 10 06:30:07 UTC 2017

Modified Files:
src/external/bsd/dhcp/dist/relay [netbsd-8]: dhcrelay.c

Log Message:
Pull up following revision(s) (requested by manu in ticket #27):
external/bsd/dhcp/dist/relay/dhcrelay.c: revision 1.7
Fix buggy dhcrelay(8) requirement to stay in foreground
This version of dhcrelay(8) needed to stay inforeground with -d flag in
order to service requests. Running inbackground turned it deaf to DHCP
requests.
This was caused by wrong kqueue(2) usage, where kevent(2) was used with
a file descriptor obtained by a kqueue(2) call done before fork(2).
kqueue(2) man page says "The queue is not inherited by a child created
with fork(2)". As a result, kevent(2) calls always got EBADF.
The fix is to reorder function calls in dhcrelay(8) main() function.
dhcp_context_create(), which causes kqueue(2) to be invoked, is
moved with its dependencies after fork(2). This matches the code layout
of dhclient(8) and dhcpd(8), which do not have the bug.
The fix was not submitted upstream since latest ISC DHCP code was
refactored and does not have the bug anymore.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.6.8.1 src/external/bsd/dhcp/dist/relay/dhcrelay.c

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



CVS commit: [netbsd-8] src/doc

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jun 10 06:35:52 UTC 2017

Modified Files:
src/doc [netbsd-8]: CHANGES-8.0

Log Message:
tickets 19-27


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/doc/CHANGES-8.0

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