CVS commit: src/sys/dev/pci

2020-02-25 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Tue Feb 25 08:02:29 UTC 2020

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

Log Message:
Use IFM_25G_ACC

pointed out and reviewed by msaitoh@n.o., thanks


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

2020-02-25 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Tue Feb 25 08:05:24 UTC 2020

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

Log Message:
Add a comment about RSS and remove a wrong comment

pointed out and reviewed by knakahara@n.o., thanks


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/dev/pci/if_ixl.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/libarchive/dist/libarchive

2020-02-25 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Feb 25 09:01:25 UTC 2020

Modified Files:
src/external/bsd/libarchive/dist/libarchive: archive_read.c

Log Message:
Avoid NULL pointer arithmetic

Cherry-pick upstream patch:

>From ec5b86b48e99c5501374b01606f1ccdae6a8a93e Mon Sep 17 00:00:00 2001
From: Kamil Rytarowski 
Date: Mon, 24 Feb 2020 22:58:00 +0100
Subject: [PATCH] archive_read.c: silence UBSan warning about undefined
 behavior

Fixes #1335

https://github.com/libarchive/libarchive/commit/ec5b86b48e99c5501374b01606f1ccdae6a8a93e.patch


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 \
src/external/bsd/libarchive/dist/libarchive/archive_read.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/postinstall

2020-02-25 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Tue Feb 25 10:27:01 UTC 2020

Modified Files:
src/usr.sbin/postinstall: postinstall.in

Log Message:
Fix the fixup script to follow the URL change in /etc/motd (http->https).

PR install/54990, pullup-9


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/postinstall/postinstall.in

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



CVS commit: src/share/man/man4

2020-02-25 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Tue Feb 25 11:32:09 UTC 2020

Modified Files:
src/share/man/man4: uftdi.4

Log Message:
Add CableCreation CD0487 to supported adapter list.
Bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/share/man/man4/uftdi.4

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



CVS commit: src/share/man/man4

2020-02-25 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Tue Feb 25 11:36:48 UTC 2020

Modified Files:
src/share/man/man4: uftdi.4

Log Message:
Add one more: Buffalo BSUSRC06.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/share/man/man4/uftdi.4

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



CVS commit: src/sys/dev/pckbport

2020-02-25 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Feb 25 16:24:47 UTC 2020

Modified Files:
src/sys/dev/pckbport: synaptics.c

Log Message:
Remove a trailing tab.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/pckbport/synaptics.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-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Feb 25 18:40:44 UTC 2020

Modified Files:
src/sys/dev/fdt [netbsd-9]: dwcmmc_fdt.c
src/sys/dev/ic [netbsd-9]: bwfm.c bwfmreg.h bwfmvar.h dwc_mmc.c
dwc_mmc_reg.h dwc_mmc_var.h
src/sys/dev/pcmcia [netbsd-9]: pcmciareg.h
src/sys/dev/sdmmc [netbsd-9]: if_bwfm_sdio.c sdhc.c sdmmc.c sdmmc_cis.c
sdmmc_io.c sdmmc_ioreg.h sdmmc_mem.c sdmmcdevs sdmmcvar.h
src/sys/net [netbsd-9]: if_media.h
Added Files:
src/sys/dev/sdmmc [netbsd-9]: if_bwfm_sdio.h

Log Message:
Pull up following revision(s) (requested by mrg in ticket #717):

sys/dev/fdt/dwcmmc_fdt.c1.11
sys/dev/ic/bwfm.c   1.15-1.18
sys/dev/ic/bwfmreg.h1.4-1.6
sys/dev/ic/bwfmvar.h1.4,1.5
sys/dev/ic/dwc_mmc.c1.21,1.22
sys/dev/ic/dwc_mmc_reg.h1.8,1.9,1.12,1.13
sys/dev/pcmcia/pcmciareg.h  1.11
sys/dev/sdmmc/if_bwfm_sdio.c1.4,1.6-1.12
sys/dev/sdmmc/if_bwfm_sdio.h1.1,1.2
sys/dev/sdmmc/sdhc.c1.105,1.106
sys/dev/sdmmc/sdmmc.c   1.37,1.39
sys/dev/sdmmc/sdmmc_cis.c   1.6,1.8
sys/dev/sdmmc/sdmmc_io.c1.15-1.19
sys/dev/sdmmc/sdmmc_ioreg.h 1.4,1.5
sys/dev/sdmmc/sdmmc_mem.c   1.69-1.71
sys/dev/sdmmc/sdmmcdevs 1.5-1.8
sys/dev/sdmmc/sdmmcvar.h1.31,1.33,1.34
sys/net/if_media.h  1.66

Add Broadcom devices
 -
Fix typo
 -
add PCMCIA_CISTPL_SDIO definition.
 -
>From OpenBSD:
- move event handling to workqueue
- check for save/restore capability
 -
Tag work queue as MPsafe and increase length.
 -
Juse use bpf_mtap(), the 802.11 encapsulation is handled by firmware.
 -
>From OpenBSD:
- support block length per function
- add functions to read/write regions
 -
Decode (but not use) SDIO tuple in CIS.
 -
Fix locking.
 -
Add more SDIO defines (partially from version 3.0).
 -
>From OpenBSD:
- All the missing pieces (firmware load, chip setup, protocol handling)
TX queue and interrupt handling via sdmmc_task.
 -
Fix locking.
 -
Fix packet parsing.
 -
Add parser for original firmware config files.
 -
tagging work queue as MPSAFE was premature. Revert.
 -
SD_IO_RW_EXTENDED is a data transfer command, so set ADTC flag instead of AC
Use correct function to verify if a task has been queued. Avoids race
that can corrupt the task queue.
 -
More register definitions.
 -
Add IFM_IEEE80211_VHT subtype, IFM_IEEE80211_11AC operating mode, and missing 
descriptions
 -
If firmware is connected in HT or VHT mode, report it to SIOCGIFMEDIA
 -
white space police.

Skip setting power when the voltage doesn't change.
Also increase some timeouts.
 -
Add and use sdmmc_pause to avoid long-term busy waits.
 -
Add sdio abort function.
 -
Additional error messages.
 -
Print parameters for SDIO devices.
 -
Minor cosmetics.
 -
Simplyfy sdmmc_io_set_blocklen function signature by dropping the
extra softc pointer. Aligns with OpenBSD.
 -
Missing commit for sdio abort function.
 -
More code from OpenBSD
 -
no need to splnet() when enqueing packets
 -
explicit structure padding
 -
make internal functions static
 -
also prepare for GPIO interrupts.
 -
Avoid warnings for tautological shifts as sole conditional.
 -
Follow the Linux driver an use the FDT "compatible" property to build a
filename for the nvram config file, fall back to the standard filename.
E.g.
[Caching 123 nodes and 1093 properties]
compatible  73696e6f 766f6970 2c627069 2d6d322d   "sinovoip,bpi-m2-
0010:   7a65726f 00..     zero"
0015:   616c6c77 696e6e65 722c7375 6e38692d   "allwinner,sun8i-
0025:   68322d70 6c757300     h2-plus"
interrupt-parent0001      
model   42616e61 6e612050 69204250 492d4d32   "Banana Pi BPI-M2
0010:   2d5a6572 6f00     -Zero"
name00..      ""
serial-number   30326330 30303432 65636431 36376566   02c00042ecd167ef
0010:   00..      .
-rw-r--r--  1 root  wheel 875 Nov  2 12:06 brcmfmac43430-sdio.AP6212.txt
lrwxr-xr-x  1 root  wheel  29 Dec 30 16:19 
brcmfmac43430-sdio.sinovoip,bpi-m2-zero.txt -> brcmfmac43430-sdio.AP6212.txt
-rw-r--r--  1 root  wheel 874 Jun 30  2019 
brcmfmac43430-sdio.raspberrypi,3-model-b.txt
-rw-r--r--  1 root  wheel1864 Jun 30  2019 
brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
lrwxr-xr-x  1 root  wheel  29 De

CVS commit: [netbsd-9] src/sys

2020-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Feb 25 18:50:29 UTC 2020

Modified Files:
src/sys/arch/mips/adm5120/dev [netbsd-9]: ahci.c
src/sys/dev/usb [netbsd-9]: ehci.c ohci.c uhci.c
src/sys/external/bsd/dwc2 [netbsd-9]: dwc2.c

Log Message:
Pull up following revision(s) (requested by skrll in ticket #718):

sys/dev/usb/ohci.c: revision 1.296
sys/dev/usb/uhci.c: revision 1.294
sys/external/bsd/dwc2/dwc2.c: revision 1.72
sys/arch/mips/adm5120/dev/ahci.c: revision 1.21
sys/dev/usb/ehci.c: revision 1.274

Fix a memory leak.  Spotted by nat@


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.17.4.1 src/sys/arch/mips/adm5120/dev/ahci.c
cvs rdiff -u -r1.267.2.1 -r1.267.2.2 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.289.4.3 -r1.289.4.4 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.288 -r1.288.4.1 src/sys/dev/usb/uhci.c
cvs rdiff -u -r1.59.4.1 -r1.59.4.2 src/sys/external/bsd/dwc2/dwc2.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

2020-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Feb 25 18:52:44 UTC 2020

Modified Files:
src/sys/arch/mips/adm5120/dev [netbsd-8]: ahci.c
src/sys/dev/usb [netbsd-8]: ehci.c ohci.c uhci.c
src/sys/external/bsd/dwc2 [netbsd-8]: dwc2.c

Log Message:
Pull up following revision(s) (requested by skrll in ticket #1507):

sys/dev/usb/ohci.c: revision 1.296
sys/dev/usb/uhci.c: revision 1.294
sys/external/bsd/dwc2/dwc2.c: revision 1.72
sys/arch/mips/adm5120/dev/ahci.c: revision 1.21
sys/dev/usb/ehci.c: revision 1.274

Fix a memory leak.  Spotted by nat@


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.14.2.1 src/sys/arch/mips/adm5120/dev/ahci.c
cvs rdiff -u -r1.254.8.6 -r1.254.8.7 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.273.6.5 -r1.273.6.6 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.275.2.5 -r1.275.2.6 src/sys/dev/usb/uhci.c
cvs rdiff -u -r1.46.2.4 -r1.46.2.5 src/sys/external/bsd/dwc2/dwc2.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/sdmmc

2020-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Feb 25 19:00:00 UTC 2020

Modified Files:
src/sys/dev/sdmmc [netbsd-9]: sdmmcdevs.h

Log Message:
Regen (for ticket #717)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.4.1 src/sys/dev/sdmmc/sdmmcdevs.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/kern

2020-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Feb 25 19:10:52 UTC 2020

Modified Files:
src/sys/kern [netbsd-9]: uipc_socket.c

Log Message:
Pull up following revision(s) (requested by maxv in ticket #720):

sys/kern/uipc_socket.c: revision 1.288

Zero out 'tv', to prevent uninitialized bytes in its padding from leaking
to userland. Found by kMSan.


To generate a diff of this commit:
cvs rdiff -u -r1.281.2.1 -r1.281.2.2 src/sys/kern/uipc_socket.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/kern

2020-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Feb 25 19:12:14 UTC 2020

Modified Files:
src/sys/kern [netbsd-8]: uipc_socket.c

Log Message:
Pull up following revision(s) (requested by maxv in ticket #1509):

sys/kern/uipc_socket.c: revision 1.288

Zero out 'tv', to prevent uninitialized bytes in its padding from leaking
to userland. Found by kMSan.


To generate a diff of this commit:
cvs rdiff -u -r1.255.2.4 -r1.255.2.5 src/sys/kern/uipc_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/kern

2020-02-25 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Tue Feb 25 19:14:05 UTC 2020

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

Log Message:
fix use-after-free in config_interrupts_thread() found by KASAN, introduced
with addition of the locking; problem pointed out by kamil@


To generate a diff of this commit:
cvs rdiff -u -r1.266 -r1.267 src/sys/kern/subr_autoconf.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/arch/arm/arm32

2020-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Feb 25 19:16:23 UTC 2020

Modified Files:
src/sys/arch/arm/arm32 [netbsd-9]: bus_dma.c

Log Message:
Pull up following revision(s) (requested by skrll in ticket #721):

sys/arch/arm/arm32/bus_dma.c: revision 1.119
sys/arch/arm/arm32/bus_dma.c: revision 1.120

Make sure to convey a failure to the calling function
Likely fix for PR kern/54999, but that was a one-off panic.
 -
Fix previous for non-_ARM32_NEED_BUS_DMA_BOUNCE builds


To generate a diff of this commit:
cvs rdiff -u -r1.115.2.2 -r1.115.2.3 src/sys/arch/arm/arm32/bus_dma.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/arm/arm32

2020-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Feb 25 19:20:43 UTC 2020

Modified Files:
src/sys/arch/arm/arm32 [netbsd-8]: bus_dma.c

Log Message:
Pull up following revision(s) (requested by skrll in ticket #1510):

sys/arch/arm/arm32/bus_dma.c: revision 1.119
sys/arch/arm/arm32/bus_dma.c: revision 1.120

Make sure to convey a failure to the calling function
Likely fix for PR kern/54999, but that was a one-off panic.
 -
Fix previous for non-_ARM32_NEED_BUS_DMA_BOUNCE builds


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.98.8.1 src/sys/arch/arm/arm32/bus_dma.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

2020-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Feb 25 19:22:18 UTC 2020

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

Log Message:
Tickets #1507, #1509, #1510


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.99 -r1.1.2.100 src/doc/CHANGES-8.2

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/i386/stand/efiboot

2020-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Feb 25 19:25:19 UTC 2020

Modified Files:
src/sys/arch/i386/stand/efiboot [netbsd-9]: eficons.c

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

sys/arch/i386/stand/efiboot/eficons.c: revision 1.10
sys/arch/i386/stand/efiboot/eficons.c: revision 1.11

If the default GOP mode is unavailable, fallback to the first mode defined.
PR# port-amd64/55000

Remove check for bestmode==-1 (shouldn't happen)


To generate a diff of this commit:
cvs rdiff -u -r1.6.6.3 -r1.6.6.4 src/sys/arch/i386/stand/efiboot/eficons.c

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



CVS commit: [netbsd-9] xsrc/external/mit/MesaLib/dist/src/mapi

2020-02-25 Thread Martin Husemann
Module Name:xsrc
Committed By:   martin
Date:   Tue Feb 25 19:33:40 UTC 2020

Modified Files:
xsrc/external/mit/MesaLib/dist/src/mapi [netbsd-9]: entry_x86-64_tls.h
entry_x86_tls.h

Log Message:
Pull up following revision(s) (requested by tnn in ticket #724):

xsrc/external/mit/MesaLib/dist/src/mapi/entry_x86_tls.h: revision 1.6
xsrc/external/mit/MesaLib/dist/src/mapi/entry_x86-64_tls.h: revision 1.5

mesa: sync w/ pkgsrc: don't assume the current gl dispatch table points
to noop if NULL, instead call the ENTRY_CURRENT_TABLE_GET function.

Additionally the previous i386 implementation probably never worked
because it looks like it used the wrong asm label when computing GOT ptr.

Likely relevant to PR port-i386/54782.
XXX pullup -9


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.2.1 \
xsrc/external/mit/MesaLib/dist/src/mapi/entry_x86-64_tls.h
cvs rdiff -u -r1.5 -r1.5.2.1 \
xsrc/external/mit/MesaLib/dist/src/mapi/entry_x86_tls.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-02-25 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Tue Feb 25 19:34:37 UTC 2020

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

Log Message:
Previous commit resolves:
netbsd boot error: panic: ASan: Unauthorized Access In ADDR: Addr
 ADDR [8 bytes, read, PoolUseAfterFree]

Reported-by: syzbot+43111d810160fb4b9...@syzkaller.appspotmail.com


To generate a diff of this commit:
cvs rdiff -u -r1.267 -r1.268 src/sys/kern/subr_autoconf.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-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Feb 25 20:03:13 UTC 2020

Modified Files:
src/etc/rc.d [netbsd-9]: mountall
src/external/cddl/osnet/dist/uts/common/fs/zfs [netbsd-9]:
spa_history.c zfs_vnops.c
src/external/cddl/osnet/sys/kern [netbsd-9]: misc.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #725):

etc/rc.d/mountall: revision 1.12
external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.59
external/cddl/osnet/sys/kern/misc.c: revision 1.8
external/cddl/osnet/dist/uts/common/fs/zfs/spa_history.c: revision 1.5
external/cddl/osnet/dist/uts/common/fs/zfs/spa_history.c: revision 1.6
external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.60
external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.61

Define VOP_STRATEGY on zfs device nodes too.
Fixes eternal hangs in attempts to do I/O on device nodes on zfs.
XXX pullup

Teach zfs spec nodes to VOP_BWRITE too.
Fixes hang on writing to, e.g., ffs mounted on a device node that
lives on zfs.
XXX pullup

Teach device nodes on zfs to handle fsync by calling spec_fsync too.
If zfs=YES, unconditioally do zfs mount/unmount -a.

If you set zfs=YES, presumably you positively want the automatic rc.d
actions, so if there's no /sbin/zfs or if zfs can't find pools with
/etc/zfs/zpool.cache, presumably you would like feedback about that
in rc.log.

Report the OS name and release appropriately for NetBSD.
We are not OpenSolaris or uts!

Mark previous #ifdef __NetBSD__, per request from hannken.


To generate a diff of this commit:
cvs rdiff -u -r1.10.4.1 -r1.10.4.2 src/etc/rc.d/mountall
cvs rdiff -u -r1.4 -r1.4.4.1 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/spa_history.c
cvs rdiff -u -r1.50.2.5 -r1.50.2.6 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
cvs rdiff -u -r1.5 -r1.5.4.1 src/external/cddl/osnet/sys/kern/misc.c

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



CVS commit: src/distrib/common

2020-02-25 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Tue Feb 25 20:05:10 UTC 2020

Modified Files:
src/distrib/common: zfsroot.rc

Log Message:
ramdisk-zfsroot: Remove the module loading magic

It's been determined that it's too magical and it's either the job
of the bootloader or you compile it into the kernel yourself.

This entry works in /boot.cfg:

menu=Boot ZFS Root:load solaris;load zfs;fs /ramdisk-zfsroot.fs;boot


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/distrib/common/zfsroot.rc

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



CVS commit: [netbsd-9] src/external/gpl3/binutils/dist/bfd

2020-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Feb 25 20:05:48 UTC 2020

Modified Files:
src/external/gpl3/binutils/dist/bfd [netbsd-9]: elf.c

Log Message:
Pull up following revision(s) (requested by rin in ticket #726):

external/gpl3/binutils/dist/bfd/elf.c: revision 1.14

Fix 'nm /dev/ksyms' (noticed by ryo).

Since binutils 2.15, nm(1) cannot be used for character devices.

We worked around this by a local patch:
http://cvsweb.netbsd.org/bsdweb.cgi/src/gnu/dist/binutils/binutils/Attic/bucomm.c?r1=1.1.1.2&hideattic=0#rev1.2

With recent update of binutils, 'nm /dev/ksyms' got broken again.

This is due to a consistency check involving file size reported by
stat(2), which is always zero for character devices. So, skip this
check if file size is zero.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.13.2.1 src/external/gpl3/binutils/dist/bfd/elf.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/arch/powerpc/include

2020-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Feb 25 20:08:38 UTC 2020

Modified Files:
src/sys/arch/powerpc/include [netbsd-9]: db_machdep.h

Log Message:
Pull up following revision(s) (requested by rin in ticket #727):

sys/arch/powerpc/include/db_machdep.h: revision 1.27

Do not mask out LK bit (bit 31) from M_BCTR, which distinguishes
bcctr and bcctrl.

Fix build failure for ibm4xx kernels with GCC8.

XXX
pullup to netbsd-9, -8, and -7


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.26.8.1 src/sys/arch/powerpc/include/db_machdep.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/powerpc/ibm4xx/dev

2020-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Feb 25 20:12:20 UTC 2020

Modified Files:
src/sys/arch/powerpc/ibm4xx/dev [netbsd-9]: com_opb.c

Log Message:
Pull up following revision(s) (requested by rin in ticket #728):

sys/arch/powerpc/ibm4xx/dev/com_opb.c: revision 1.23

Belatedly catch up with MI com(4) change in com.c rev. 1.351:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ic/com.c#rev1.351

XXX
pullup to netbsd-9


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.22.4.1 src/sys/arch/powerpc/ibm4xx/dev/com_opb.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/arch/powerpc/include

2020-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Feb 25 20:14:04 UTC 2020

Modified Files:
src/sys/arch/powerpc/include [netbsd-9]: intr.h

Log Message:
Pull up following revision(s) (requested by rin in ticket #729):

sys/arch/powerpc/include/intr.h: revision 1.15

Fix !__HAVE_FAST_SOFTINTS build for debugging.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.13.6.1 src/sys/arch/powerpc/include/intr.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/powerpc

2020-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Feb 25 20:22:14 UTC 2020

Modified Files:
src/sys/arch/powerpc/conf [netbsd-9]: files.powerpc
src/sys/arch/powerpc/include [netbsd-9]: pio.h
src/sys/arch/powerpc/pic [netbsd-9]: intr.c
src/sys/arch/powerpc/powerpc [netbsd-9]: bus_dma.c pio_subr.S

Log Message:
Pull up following revision(s) (requested by rin in ticket #730):

sys/arch/powerpc/conf/files.powerpc: revision 1.93
sys/arch/powerpc/include/pio.h: revision 1.8
sys/arch/powerpc/pic/intr.c: revision 1.27
sys/arch/powerpc/powerpc/bus_dma.c: revision 1.50
sys/arch/powerpc/powerpc/pio_subr.S: revision 1.17

Add PPC_IBM440 flag as 440 is significantly different from 40x processors.
(It may be more easily supported by booke than by ibm4xx.)

 -

eieio is implemented as sync on 40x. Therefore, "sync; eieio" and
"eieio; sync" can be replaced by a single sync.


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.92.4.1 src/sys/arch/powerpc/conf/files.powerpc
cvs rdiff -u -r1.7 -r1.7.52.1 src/sys/arch/powerpc/include/pio.h
cvs rdiff -u -r1.26 -r1.26.4.1 src/sys/arch/powerpc/pic/intr.c
cvs rdiff -u -r1.49 -r1.49.4.1 src/sys/arch/powerpc/powerpc/bus_dma.c
cvs rdiff -u -r1.16 -r1.16.32.1 src/sys/arch/powerpc/powerpc/pio_subr.S

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-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Feb 25 20:29:30 UTC 2020

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

Log Message:
Tickets #717, #718, #720 - #730


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/doc/CHANGES-9.1

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



CVS commit: src/sys/dev/pckbport

2020-02-25 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Feb 25 21:36:13 UTC 2020

Modified Files:
src/sys/dev/pckbport: synaptics.c

Log Message:
Do not enter extended W mode conditional for non extended W mode device

Even without extended W mode, sp_w can be 2. This causes
"invalid extended w mode N" warning messages.
Restrict extended W mode conditional for hardwares with extended W
support.

Tested with Synaptics 6.2 device on Panasonic CF-Y8, however it does
not work with X.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/dev/pckbport/synaptics.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/pckbport

2020-02-25 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Feb 25 21:38:42 UTC 2020

Modified Files:
src/sys/dev/pckbport: synaptics.c

Log Message:
Messages in pms_synaptics_input() should not start with "pms_input"

Use "pms_synaptics_input" instead.


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

2020-02-25 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Feb 25 21:41:38 UTC 2020

Modified Files:
src/sys/dev/pckbport: synaptics.c

Log Message:
Messages in pms_synaptics_input() should not start with "pms_input"

Use "pms_synaptics_input" instead for another 2 messages.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/dev/pckbport/synaptics.c

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



CVS commit: src/bin/echo

2020-02-25 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Wed Feb 26 02:09:46 UTC 2020

Modified Files:
src/bin/echo: echo.1

Log Message:
echo.1: add a note about other echo implementations

The other BSDs all have a note reminding that many shells have their
own internal echo implementations which may vary from this utility, so
add one. (Much of the wording is borrowed from FreeBSD's man page.)

(The other BSDs also have notes about the -n option not really being
portable, and printf[1] being preferable, we might want to add
something about that, too.)


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/bin/echo/echo.1

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



CVS commit: src/usr.bin/ftp

2020-02-25 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Wed Feb 26 05:55:27 UTC 2020

Modified Files:
src/usr.bin/ftp: version.h

Log Message:
update ftp version to 20190622


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/usr.bin/ftp/version.h

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



CVS commit: src/bin/echo

2020-02-25 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Feb 26 07:14:47 UTC 2020

Modified Files:
src/bin/echo: echo.1

Log Message:
Add some commas.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/bin/echo/echo.1

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



CVS commit: src

2020-02-25 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Feb 26 07:31:51 UTC 2020

Modified Files:
src/distrib/sets/lists/man: mi
src/share/man/man7: Makefile intro.7
Added Files:
src/share/man/man7: groups.7 users.7

Log Message:
Draft man pages for the standard users and groups.

These are currently listed in order of uid because I went through
src/etc/group and src/etc/master.passwd line by line, and sorting any
other way after the fact -- like lexicographically, how it should be
-- was kinda inconvenient.

Feel free to sort, add information, add historical references,
correct any mistakes, &c., so that these remain living documents
describing NetBSD's standard users and groups and practices around
them.


To generate a diff of this commit:
cvs rdiff -u -r1.1680 -r1.1681 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.33 -r1.34 src/share/man/man7/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man7/groups.7 src/share/man/man7/users.7
cvs rdiff -u -r1.26 -r1.27 src/share/man/man7/intro.7

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



CVS commit: src/sys/ddb

2020-02-25 Thread Hikaru Abe
Module Name:src
Committed By:   hikaru
Date:   Wed Feb 26 07:57:24 UTC 2020

Modified Files:
src/sys/ddb: db_proc.c

Log Message:
Correct PPID of "show all procs/n"


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

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