CVS commit: src/sys/arch/ia64/stand/efi/libefi

2020-01-26 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Jan 26 10:12:29 UTC 2020

Modified Files:
src/sys/arch/ia64/stand/efi/libefi: efiboot.h

Log Message:
Trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/ia64/stand/efi/libefi/efiboot.h

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



CVS commit: src/sys/lib/libsa

2020-01-26 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Jan 26 10:13:10 UTC 2020

Modified Files:
src/sys/lib/libsa: nfs.c

Log Message:
Make a debug printf compile for all platforms


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/lib/libsa/nfs.c

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



CVS commit: [netbsd-9] src/lib/libpthread

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jan 26 10:55:16 UTC 2020

Modified Files:
src/lib/libpthread [netbsd-9]: pthread.c pthread_cond.c pthread_int.h
pthread_misc.c pthread_mutex.c pthread_rwlock.c

Log Message:
Pull up following revision(s) (requested by ad in ticket #647):

lib/libpthread/pthread_rwlock.c: revision 1.37 (patch)
lib/libpthread/pthread_misc.c: revision 1.16
lib/libpthread/pthread.c: revision 1.154
lib/libpthread/pthread_int.h: revision 1.98
lib/libpthread/pthread_cond.c: revision 1.66
lib/libpthread/pthread_mutex.c: revision 1.66

Rip out some very ambitious optimisations around pthread_mutex that are
don't buy much.  This stuff is hard enough to get right in the kernel let
alone userspace, and I don't trust that it's right.


To generate a diff of this commit:
cvs rdiff -u -r1.153 -r1.153.2.1 src/lib/libpthread/pthread.c
cvs rdiff -u -r1.65 -r1.65.6.1 src/lib/libpthread/pthread_cond.c
cvs rdiff -u -r1.95.2.1 -r1.95.2.2 src/lib/libpthread/pthread_int.h
cvs rdiff -u -r1.15 -r1.15.32.1 src/lib/libpthread/pthread_misc.c
cvs rdiff -u -r1.65 -r1.65.2.1 src/lib/libpthread/pthread_mutex.c
cvs rdiff -u -r1.34 -r1.34.18.1 src/lib/libpthread/pthread_rwlock.c

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



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

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jan 26 11:03:17 UTC 2020

Modified Files:
src/sys/dev/pci/ixgbe [netbsd-9]: if_bypass.c ix_txrx.c ixgbe.c ixgbe.h
ixgbe_82598.c ixgbe_api.c ixgbe_common.c ixgbe_netbsd.c
ixgbe_osdep.c ixgbe_osdep.h ixgbe_phy.c ixv.c

Log Message:
Pull up the following (via patch), requested by msaitoh in ticket #648

sys/dev/pci/ixgbe/if_bypass.c   1.5
sys/dev/pci/ixgbe/ixgbe_osdep.c 1.5
sys/dev/pci/ixgbe/ix_txrx.c 1.58-1.60
sys/dev/pci/ixgbe/ixgbe.c   1.220-1.221
sys/dev/pci/ixgbe/ixgbe.h   1.60-1.2
sys/dev/pci/ixgbe/ixgbe_api.c   1.24
sys/dev/pci/ixgbe/ixgbe_common.c1.26
sys/dev/pci/ixgbe/ixgbe_netbsd.c1.11-1.12
sys/dev/pci/ixgbe/ixgbe_osdep.h 1.24
sys/dev/pci/ixgbe/ixgbe_phy.c   1.19
sys/dev/pci/ixgbe/ixgbe_82598.c 1.14
sys/dev/pci/ixgbe/ixv.c 1.142,1.144

- Free RX structure correctly when detaching.
- Remove unused code.
- Fix some typos in comment.
- Remove extra spaces.
- KNF.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/dev/pci/ixgbe/if_bypass.c
cvs rdiff -u -r1.54.2.2 -r1.54.2.3 src/sys/dev/pci/ixgbe/ix_txrx.c
cvs rdiff -u -r1.199.2.8 -r1.199.2.9 src/sys/dev/pci/ixgbe/ixgbe.c
cvs rdiff -u -r1.56.2.1 -r1.56.2.2 src/sys/dev/pci/ixgbe/ixgbe.h
cvs rdiff -u -r1.12 -r1.12.8.1 src/sys/dev/pci/ixgbe/ixgbe_82598.c
cvs rdiff -u -r1.23 -r1.23.2.1 src/sys/dev/pci/ixgbe/ixgbe_api.c
cvs rdiff -u -r1.25 -r1.25.2.1 src/sys/dev/pci/ixgbe/ixgbe_common.c
cvs rdiff -u -r1.9.4.1 -r1.9.4.2 src/sys/dev/pci/ixgbe/ixgbe_netbsd.c
cvs rdiff -u -r1.4.8.1 -r1.4.8.2 src/sys/dev/pci/ixgbe/ixgbe_osdep.c
cvs rdiff -u -r1.23.6.1 -r1.23.6.2 src/sys/dev/pci/ixgbe/ixgbe_osdep.h
cvs rdiff -u -r1.18 -r1.18.4.1 src/sys/dev/pci/ixgbe/ixgbe_phy.c
cvs rdiff -u -r1.125.2.8 -r1.125.2.9 src/sys/dev/pci/ixgbe/ixv.c

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



CVS commit: [netbsd-9] src/sys/dev/mii

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jan 26 11:11:13 UTC 2020

Modified Files:
src/sys/dev/mii [netbsd-9]: ihphy.c

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #649):

sys/dev/mii/ihphy.c: revision 1.15

 Remove extra 10ms delay in ihphy_reset(). The delay are in if_wm.c side.
It's required for hardware full reset and it't not requred on soft reset.

 When ihphy.c was added in 9 years ago, some workaround code were not in
if_wm.c yet and the initialization code was not good.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.14.4.1 src/sys/dev/mii/ihphy.c

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



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

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jan 26 11:13:28 UTC 2020

Modified Files:
src/sys/dev/pci [netbsd-9]: if_wm.c if_wmreg.h

Log Message:
Pull up the following (via patch), requested by msaitoh in ticket #650:

sys/dev/pci/if_wm.c 1.650, 1.652-1.654
sys/dev/pci/if_wmreg.h  1.116-1.117

- Set CTRL_ILOS(Invert loss of signal) bit correctly on 82580
  port 1, 2, 3 and newer chips. This change fixes a bug that some
  fiber, serdes or SFP devices don't detect the link status correctly.
- Simplify code by using "struct mii_data *mii" more. No functional
  change.
- MSI-X doesn't use sc->sc_icr variable, so move the code into
  non-MSI-X part. No functional change intended.
- Modify debug printfs a bit.
- Rename macro.
- Use __BIT()
- Fix comment. Add comment.
- KNF.


To generate a diff of this commit:
cvs rdiff -u -r1.645.2.3 -r1.645.2.4 src/sys/dev/pci/if_wm.c
cvs rdiff -u -r1.115 -r1.115.2.1 src/sys/dev/pci/if_wmreg.h

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



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

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jan 26 11:17:12 UTC 2020

Modified Files:
src/sys/dev/pci [netbsd-9]: if_mcx.c

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #651):

sys/dev/pci/if_mcx.c: revision 1.8
sys/dev/pci/if_mcx.c: revision 1.9

- Change IFM_10G_T(10GBase-T) entry to IFM_10G_CR1(10GBASE-CR1)
- Add the following entries:
20GBASE-KR2
56GBASE-R4
100GBASE-LR4
100BaseTX
1000baseT
10GBase-T
Set if_baudrate.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/dev/pci/if_mcx.c

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



CVS commit: [netbsd-9] src

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jan 26 11:19:36 UTC 2020

Modified Files:
src/distrib/notes [netbsd-9]: Makefile.inc
src/distrib/notes/common [netbsd-9]: main
src/share/tmac [netbsd-9]: doc2html

Log Message:
Pull up following revision(s) (requested by uwe in ticket #652):

distrib/notes/Makefile.inc: revision 1.54
distrib/notes/common/main: revision 1.561
distrib/notes/common/main: revision 1.562
share/tmac/doc2html: revision 1.71

Use .Os NetBSD/\*M \*V to get more informative footer.

Provide ability to override 

If \*[title-section] is non-empty, use it to override the title
instead of appending it.  Nothing in the tree uses title-section
currently, so it shouldn't affect any existing document.

This override will be used by the installation notes where the default
title is less than helpful.

Override HTML  to something more informative.
Requested by martin@

Use -mdoc2html to generate HTML TOC to avoids warnings.


To generate a diff of this commit:
cvs rdiff -u -r1.43.18.6 -r1.43.18.7 src/distrib/notes/Makefile.inc
cvs rdiff -u -r1.551.2.7 -r1.551.2.8 src/distrib/notes/common/main
cvs rdiff -u -r1.67.16.2 -r1.67.16.3 src/share/tmac/doc2html

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



CVS commit: [netbsd-9] src/sys/stand/efiboot

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jan 26 11:21:59 UTC 2020

Modified Files:
src/sys/stand/efiboot [netbsd-9]: Makefile.efiboot boot.c efiacpi.c
exec.c prompt.c
src/sys/stand/efiboot/bootaa64 [netbsd-9]: Makefile
src/sys/stand/efiboot/bootarm [netbsd-9]: Makefile

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #653):

sys/stand/efiboot/prompt.c: revision 1.6
sys/stand/efiboot/boot.c: revision 1.20
sys/stand/efiboot/bootarm/Makefile: revision 1.4
sys/stand/efiboot/efiacpi.c: revision 1.6
sys/stand/efiboot/exec.c: revision 1.13
sys/stand/efiboot/Makefile.efiboot: revision 1.10
sys/stand/efiboot/bootaa64/Makefile: revision 1.7

Fix for disappearing counters on graphics consoles

Hide the twiddle while loading efiboot plist

Clean up the banner so it fits in 80 columns and add some extra details
to the "version" command output.


To generate a diff of this commit:
cvs rdiff -u -r1.8.2.1 -r1.8.2.2 src/sys/stand/efiboot/Makefile.efiboot
cvs rdiff -u -r1.18 -r1.18.4.1 src/sys/stand/efiboot/boot.c
cvs rdiff -u -r1.3.6.2 -r1.3.6.3 src/sys/stand/efiboot/efiacpi.c
cvs rdiff -u -r1.11 -r1.11.2.1 src/sys/stand/efiboot/exec.c
cvs rdiff -u -r1.4 -r1.4.6.1 src/sys/stand/efiboot/prompt.c
cvs rdiff -u -r1.5 -r1.5.6.1 src/sys/stand/efiboot/bootaa64/Makefile
cvs rdiff -u -r1.1 -r1.1.6.1 src/sys/stand/efiboot/bootarm/Makefile

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



CVS commit: [netbsd-9] src/sys/ddb

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jan 26 11:23:41 UTC 2020

Modified Files:
src/sys/ddb [netbsd-9]: db_output.c

Log Message:
Pull up following revision(s) (requested by uwe in ticket #654):

sys/ddb/db_output.c: revision 1.35
sys/ddb/db_output.c: revision 1.36

db_putchar - check if we need to wrap at $maxwidth after whitespace.

That fixes orphaned first character in something like:
|Stopped in ... longsymbol+0xf00:  |
|i
|nsn

Fix typo in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.34.4.1 src/sys/ddb/db_output.c

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



CVS commit: [netbsd-9] src/sys/ddb

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jan 26 11:25:22 UTC 2020

Modified Files:
src/sys/ddb [netbsd-9]: db_input.c db_lex.c

Log Message:
Pull up following revision(s) (requested by uwe in ticket #655):

sys/ddb/db_input.c: revision 1.27
sys/ddb/db_lex.c: revision 1.23

Print db> prompt in db_read_line(), not db_readline().
The former is what DDB repl calls.  The latter performs the actual
input so let other code use it without the unwanted db> prompt.  It's
already used by ACPI (and AcpiOsWaitCommandReady supplies its own
prompt).  I also use it for my uncommitted Forth scripting for DDB.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.26.64.1 src/sys/ddb/db_input.c
cvs rdiff -u -r1.22 -r1.22.60.1 src/sys/ddb/db_lex.c

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



CVS commit: [netbsd-9] src/sys/ddb

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jan 26 11:28:11 UTC 2020

Modified Files:
src/sys/ddb [netbsd-9]: db_command.c

Log Message:
Pull up following revision(s) (requested by uwe in ticket #656):

sys/ddb/db_command.c: revision 1.162
sys/ddb/db_command.c: revision 1.163
sys/ddb/db_command.c: revision 1.164

db_command - make sure count is always initialized.
db_command - make setting have_addr more clear.
Don't set it to false that it's already initialized to.
db_command - don't hide local static variable in the middle of other
local variable definitions.  While here, get rid of the alignment of
variable names.


To generate a diff of this commit:
cvs rdiff -u -r1.160 -r1.160.4.1 src/sys/ddb/db_command.c

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



CVS commit: [netbsd-9] src/doc

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jan 26 11:29:39 UTC 2020

Modified Files:
src/doc [netbsd-9]: CHANGES-9.0

Log Message:
Ticket #647 - #656


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.165 -r1.1.2.166 src/doc/CHANGES-9.0

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/dist/drm/radeon

2020-01-26 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Jan 26 14:36:36 UTC 2020

Modified Files:
src/sys/external/bsd/drm2/dist/drm/radeon: radeon.h radeon_device.c

Log Message:
Zero the dummy page


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/external/bsd/drm2/dist/drm/radeon/radeon.h \
src/sys/external/bsd/drm2/dist/drm/radeon/radeon_device.c

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



CVS commit: src/usr.sbin/sysinst

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jan 26 14:37:29 UTC 2020

Modified Files:
src/usr.sbin/sysinst: util.c

Log Message:
When retrying sets during extraction, reset the relevant statistics
to avoid counting retried sets multiple times.

Reported by kim.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 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/sys/arch/aarch64/include

2020-01-26 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Jan 26 15:52:00 UTC 2020

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

Log Message:
Typo in comment


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

2020-01-26 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sun Jan 26 18:52:55 UTC 2020

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

Log Message:
softint_dispatch(): replace the KASSERT for LW_RUNNING with a big printf()
plus panic() that dumps lots of info.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/kern/kern_softint.c

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



CVS commit: src/sys

2020-01-26 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sun Jan 26 19:01:56 UTC 2020

Modified Files:
src/sys/kern: kern_sleepq.c
src/sys/sys: syncobj.h

Log Message:
Add SOBJ_SLEEPQ_NULL: means there is no TAILQ and the caller tracks the
sleeping LWPs some other way, which sleepq_*() doesn't know about.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/kern/kern_sleepq.c
cvs rdiff -u -r1.8 -r1.9 src/sys/sys/syncobj.h

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



CVS commit: src/sys/kern

2020-01-26 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sun Jan 26 19:06:24 UTC 2020

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

Log Message:
Update a comment.


To generate a diff of this commit:
cvs rdiff -u -r1.220 -r1.221 src/sys/kern/kern_lwp.c

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



CVS commit: src/sys

2020-01-26 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sun Jan 26 19:08:09 UTC 2020

Modified Files:
src/sys/compat/netbsd32: netbsd32_lwp.c
src/sys/kern: sys_lwp.c

Log Message:
Correction to previous: don't leak newuc if copyout() fails.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/compat/netbsd32/netbsd32_lwp.c
cvs rdiff -u -r1.72 -r1.73 src/sys/kern/sys_lwp.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/ofw

2020-01-26 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sun Jan 26 21:43:52 UTC 2020

Modified Files:
src/sys/dev/ofw: ofdisk.c

Log Message:
Fix __HAVE_OLD_DISKLABEL bits so they at least compile.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/dev/ofw/ofdisk.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

2020-01-26 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Jan 26 22:19:27 UTC 2020

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

Log Message:
Work around quirk of Fountain and Geyser 1 trackpads.

Sometimes they get desynchronized, but we know the last packet is a
17-byte packet, so if we get one early then stop here.

Tested by macallan on an iBook and a PowerBook.  This code path
shouldn't break anything on MacBooks because they have different
total numbers of sensors so this branch won't be reached.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/usb/uatp.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

2020-01-26 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Jan 26 22:19:39 UTC 2020

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

Log Message:
Downgrade noisy message from aprint_verbose to DPRINTF.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/usb/uatp.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

2020-01-26 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Jan 26 22:19:54 UTC 2020

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

Log Message:
Unconditionally enable UATP_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/usb/uatp.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

2020-01-26 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Jan 26 22:34:17 UTC 2020

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

Log Message:
Use __BIT.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/usb/uatp.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/dhcpcd/dist/src

2020-01-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jan 26 22:57:52 UTC 2020

Modified Files:
src/external/bsd/dhcpcd/dist/src: script.c

Log Message:
prevent coredump when state == NULL


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.12 -r1.2 src/external/bsd/dhcpcd/dist/src/script.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/hdaudio

2020-01-26 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Jan 27 00:51:15 UTC 2020

Modified Files:
src/sys/dev/hdaudio: hdaudiodevs

Log Message:
Make sure that all vendor strings are shorter than 16 (MAX_AUDIO_DEV_LEN)
characters as the values are used in the AUDIO_GETDEV ioctl.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/hdaudio/hdaudiodevs

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



CVS commit: src/sys/dev/hdaudio

2020-01-26 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Jan 27 00:51:40 UTC 2020

Modified Files:
src/sys/dev/hdaudio: hdaudiodevs.h hdaudiodevs_data.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/hdaudio/hdaudiodevs.h \
src/sys/dev/hdaudio/hdaudiodevs_data.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/fdt

2020-01-26 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Jan 27 01:15:09 UTC 2020

Modified Files:
src/sys/arch/evbarm/fdt: fdt_memory.c

Log Message:
Save 400KB of RAM by fixing a really dumb bug in sizing of the fdt memory
pool.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/fdt/fdt_memory.c

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



CVS commit: src/sys/opencrypto

2020-01-26 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Jan 27 02:56:15 UTC 2020

Modified Files:
src/sys/opencrypto: cryptodev.c

Log Message:
If we get an error from devsw_attach(), don't destroy the error value,
since we need to return it to our caller.  While we're here, improve
the value of the debug message by actually printing the error value.


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/sys/opencrypto/cryptodev.c

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



CVS commit: [netbsd-9] src/sys

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Jan 27 07:06:02 UTC 2020

Modified Files:
src/sys/arch/amd64/conf [netbsd-9]: GENERIC
src/sys/arch/evbarm/conf [netbsd-9]: GENERIC GENERIC64
src/sys/dev [netbsd-9]: files.audio
src/sys/dev/audio [netbsd-9]: audiodef.h

Log Message:
Pull up following revision(s) (requested by nia in ticket #657):

sys/dev/files.audio: revision 1.13
sys/dev/files.audio: revision 1.14
sys/arch/amd64/conf/GENERIC: revision 1.559
sys/arch/evbarm/conf/GENERIC: revision 1.71
sys/arch/evbarm/conf/GENERIC64: revision 1.134
sys/dev/audio/audiodef.h: revision 1.8

Set AUDIO_BLK_MS=4 - unlikely to cause significant overhead on non-m68k.

Several of us have been setting this in /etc/sysctl.conf for months, to
get better performance from applications that require synced audio, etc.
It's also mentioned as a good value with low overhead on most archs here:
href="https://mail-index.netbsd.org/tech-kern/2019/12/07/msg025830.html

We could probably go lower, but this is low enough to make most/all
software run well, removing frame drops. It's also low enough to get
emulators/mednafen to stop complaining in the console.

defopt AUDIO_BLK_MS

Follow amd64 and set AUDIO_BLK_MS=4 by default

defopt -> defparam (oops)


To generate a diff of this commit:
cvs rdiff -u -r1.531.2.7 -r1.531.2.8 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.48.2.5 -r1.48.2.6 src/sys/arch/evbarm/conf/GENERIC
cvs rdiff -u -r1.103.2.7 -r1.103.2.8 src/sys/arch/evbarm/conf/GENERIC64
cvs rdiff -u -r1.12 -r1.12.2.1 src/sys/dev/files.audio
cvs rdiff -u -r1.7 -r1.7.2.1 src/sys/dev/audio/audiodef.h

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



CVS commit: [netbsd-9] src/sys/dev/hdaudio

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Jan 27 07:09:31 UTC 2020

Modified Files:
src/sys/dev/hdaudio [netbsd-9]: hdaudiodevs

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #658):

sys/dev/hdaudio/hdaudiodevs: revision 1.3

Make sure that all vendor strings are shorter than 16 (MAX_AUDIO_DEV_LEN)
characters as the values are used in the AUDIO_GETDEV ioctl.
regen


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.26.1 src/sys/dev/hdaudio/hdaudiodevs

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



CVS commit: [netbsd-9] src/sys/dev/hdaudio

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Jan 27 07:10:17 UTC 2020

Modified Files:
src/sys/dev/hdaudio [netbsd-9]: hdaudiodevs.h hdaudiodevs_data.h

Log Message:
regen (for ticket #658)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.26.1 src/sys/dev/hdaudio/hdaudiodevs.h \
src/sys/dev/hdaudio/hdaudiodevs_data.h

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



CVS commit: [netbsd-9] src/sys/arch/evbarm/fdt

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Jan 27 07:12:41 UTC 2020

Modified Files:
src/sys/arch/evbarm/fdt [netbsd-9]: fdt_memory.c

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #659):

sys/arch/evbarm/fdt/fdt_memory.c: revision 1.4

Save 400KB of RAM by fixing a really dumb bug in sizing of the fdt memory
pool.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/evbarm/fdt/fdt_memory.c

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



CVS commit: [netbsd-9] src/crypto/external/bsd/openssl

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Jan 27 07:21:48 UTC 2020

Modified Files:
src/crypto/external/bsd/openssl/dist [netbsd-9]: CHANGES Configure
INSTALL NEWS NOTES.WIN README config e_os.h
src/crypto/external/bsd/openssl/dist/Configurations [netbsd-9]:
00-base-templates.conf 10-main.conf 15-ios.conf 50-win-onecore.conf
common0.tmpl unix-Makefile.tmpl
src/crypto/external/bsd/openssl/dist/apps [netbsd-9]: apps.c apps.h
ca.c dgst.c enc.c ocsp.c openssl.c pkcs12.c req.c s_apps.h s_cb.c
s_client.c speed.c storeutl.c
src/crypto/external/bsd/openssl/dist/crypto [netbsd-9]: arm_arch.h
ctype.c init.c o_str.c s390xcap.c threads_none.c threads_pthread.c
threads_win.c uid.c
src/crypto/external/bsd/openssl/dist/crypto/aes/asm [netbsd-9]:
aes-s390x.pl
src/crypto/external/bsd/openssl/dist/crypto/asn1 [netbsd-9]: a_time.c
a_type.c x_bignum.c
src/crypto/external/bsd/openssl/dist/crypto/bio [netbsd-9]: b_addr.c
bss_dgram.c bss_file.c bss_mem.c
src/crypto/external/bsd/openssl/dist/crypto/bn [netbsd-9]: bn_div.c
bn_lcl.h bn_lib.c bn_prime.c bn_rand.c bn_sqrt.c
src/crypto/external/bsd/openssl/dist/crypto/bn/asm [netbsd-9]: mips.pl
src/crypto/external/bsd/openssl/dist/crypto/cms [netbsd-9]: cms_att.c
cms_env.c cms_err.c cms_lcl.h cms_sd.c cms_smime.c
src/crypto/external/bsd/openssl/dist/crypto/conf [netbsd-9]: conf_sap.c
src/crypto/external/bsd/openssl/dist/crypto/dh [netbsd-9]: dh_check.c
dh_gen.c dh_key.c dh_lib.c
src/crypto/external/bsd/openssl/dist/crypto/dsa [netbsd-9]: dsa_ameth.c
dsa_err.c dsa_ossl.c
src/crypto/external/bsd/openssl/dist/crypto/dso [netbsd-9]: dso_dlfcn.c
src/crypto/external/bsd/openssl/dist/crypto/ec [netbsd-9]: ec_asn1.c
ec_curve.c ec_lcl.h ec_lib.c ecdh_ossl.c ecdsa_ossl.c
ecp_nistp224.c ecp_nistp256.c ecp_nistp521.c ecp_nistputil.c
ecx_meth.c
src/crypto/external/bsd/openssl/dist/crypto/ec/asm [netbsd-9]:
ecp_nistz256-sparcv9.pl ecp_nistz256-x86_64.pl x25519-ppc64.pl
src/crypto/external/bsd/openssl/dist/crypto/engine [netbsd-9]:
eng_devcrypto.c eng_openssl.c
src/crypto/external/bsd/openssl/dist/crypto/err [netbsd-9]: err.c
openssl.txt
src/crypto/external/bsd/openssl/dist/crypto/evp [netbsd-9]: bio_ok.c
e_aes.c e_aria.c e_chacha20_poly1305.c e_rc5.c evp_err.c evp_lib.c
m_sha3.c
src/crypto/external/bsd/openssl/dist/crypto/include/internal [netbsd-9]:
ctype.h rand_int.h sm2err.h
src/crypto/external/bsd/openssl/dist/crypto/lhash [netbsd-9]: lhash.c
src/crypto/external/bsd/openssl/dist/crypto/pem [netbsd-9]: pvkfmt.c
src/crypto/external/bsd/openssl/dist/crypto/pkcs7 [netbsd-9]:
pk7_doit.c
src/crypto/external/bsd/openssl/dist/crypto/rand [netbsd-9]: drbg_lib.c
rand_err.c rand_lcl.h rand_lib.c rand_unix.c rand_win.c
src/crypto/external/bsd/openssl/dist/crypto/rsa [netbsd-9]: rsa_ameth.c
rsa_err.c rsa_gen.c rsa_lib.c rsa_ossl.c
src/crypto/external/bsd/openssl/dist/crypto/sha/asm [netbsd-9]:
keccak1600-armv4.pl keccak1600-armv8.pl sha512-sparcv9.pl
src/crypto/external/bsd/openssl/dist/crypto/sm2 [netbsd-9]: sm2_sign.c
src/crypto/external/bsd/openssl/dist/crypto/store [netbsd-9]:
loader_file.c store_lib.c
src/crypto/external/bsd/openssl/dist/crypto/ui [netbsd-9]: ui_lib.c
ui_openssl.c
src/crypto/external/bsd/openssl/dist/crypto/whrlpool [netbsd-9]:
wp_block.c
src/crypto/external/bsd/openssl/dist/crypto/x509 [netbsd-9]: by_dir.c
t_req.c x509_att.c x509_cmp.c x509_err.c x509_lu.c x509_vfy.c
src/crypto/external/bsd/openssl/dist/crypto/x509v3 [netbsd-9]: v3_alt.c
v3_purp.c
src/crypto/external/bsd/openssl/dist/demos/bio [netbsd-9]: descrip.mms
src/crypto/external/bsd/openssl/dist/demos/evp [netbsd-9]: aesgcm.c
src/crypto/external/bsd/openssl/dist/doc/HOWTO [netbsd-9]:
proxy_certificates.txt
src/crypto/external/bsd/openssl/dist/doc/man1 [netbsd-9]: engine.pod
errstr.pod pkcs12.pod pkeyparam.pod s_client.pod s_server.pod
src/crypto/external/bsd/openssl/dist/doc/man3 [netbsd-9]:
ADMISSIONS.pod ASYNC_start_job.pod BIO_connect.pod BIO_f_ssl.pod
BIO_find_type.pod BIO_new.pod BIO_s_accept.pod BIO_s_bio.pod
BIO_s_connect.pod BIO_s_fd.pod BIO_s_mem.pod BIO_set_callback.pod
BN_generate_prime.pod BN_mod_mul_montgomery.pod BN_new.pod
CMS_final.pod CRYPTO_THREAD_run_once.pod DES_random_key.pod
DSA_generate_key.pod DSA_sign.pod ECDSA_SIG_new.p

CVS commit: [netbsd-9] src/doc

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Jan 27 07:26:41 UTC 2020

Modified Files:
src/doc [netbsd-9]: 3RDPARTY

Log Message:
Update for ticket #660


To generate a diff of this commit:
cvs rdiff -u -r1.1640.2.10 -r1.1640.2.11 src/doc/3RDPARTY

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



CVS commit: [netbsd-9] src/doc

2020-01-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Jan 27 07:29:56 UTC 2020

Modified Files:
src/doc [netbsd-9]: CHANGES-9.0

Log Message:
Tickets #657 - #660


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.166 -r1.1.2.167 src/doc/CHANGES-9.0

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



CVS commit: src/share/installboot/evbarm

2020-01-26 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Mon Jan 27 07:48:59 UTC 2020

Modified Files:
src/share/installboot/evbarm: boards.plist

Log Message:
Add Rock64 and Pinebook Pro to list of known boards.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/installboot/evbarm/boards.plist

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