CVS commit: src/doc

2018-08-01 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Wed Aug  1 08:54:49 UTC 2018

Modified Files:
src/doc: TODO.npf

Log Message:
Note that mss clamping should be improved


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/doc/TODO.npf

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



CVS commit: src/sys/arch/usermode/usermode

2018-08-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Aug  1 09:43:17 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Allow the usermode pmaps to also contain the kernel itself. This is needed for
the kernel pmap.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/sys/arch/usermode/usermode/pmap.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/usermode/usermode

2018-08-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Aug  1 09:44:32 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: machdep.c pmap.c thunk.c trap.c

Log Message:
Oops, forgot a debug printf


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/arch/usermode/usermode/machdep.c
cvs rdiff -u -r1.108 -r1.109 src/sys/arch/usermode/usermode/pmap.c
cvs rdiff -u -r1.90 -r1.91 src/sys/arch/usermode/usermode/thunk.c
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/usermode/usermode/trap.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/usermode/include

2018-08-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Aug  1 09:46:16 UTC 2018

Modified Files:
src/sys/arch/usermode/include: vmparam.h

Log Message:
Max kernel address is end of kernel


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/usermode/include/vmparam.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/usermode/include

2018-08-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Aug  1 09:46:46 UTC 2018

Modified Files:
src/sys/arch/usermode/include: thunk.h

Log Message:
Add headers for support functions for  kgdb


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/usermode/include/thunk.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/usermode

2018-08-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Aug  1 09:50:57 UTC 2018

Modified Files:
src/sys/arch/usermode/conf: files.usermode
src/sys/arch/usermode/include: cpu.h db_machdep.h genheaders.sh pmap.h

Log Message:
Add preliminary KGDB support for NetBSD/usermode, currently only under amd64


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/usermode/conf/files.usermode
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/usermode/include/cpu.h \
src/sys/arch/usermode/include/genheaders.sh
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/usermode/include/db_machdep.h
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/usermode/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/arch/usermode/include

2018-08-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Aug  1 09:52:15 UTC 2018

Added Files:
src/sys/arch/usermode/include: cpufunc.h ucontext.h

Log Message:
Forgot the two header files


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/usermode/include/cpufunc.h \
src/sys/arch/usermode/include/ucontext.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/usermode/usermode

2018-08-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Aug  1 10:22:20 UTC 2018

Added Files:
src/sys/arch/usermode/usermode: cpufunc.S db_memrw.c kgdb_machdep.c

Log Message:
Add the kgdb meat


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/usermode/usermode/cpufunc.S \
src/sys/arch/usermode/usermode/db_memrw.c \
src/sys/arch/usermode/usermode/kgdb_machdep.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/usermode/usermode

2018-08-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Aug  1 10:23:55 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: kgdb_machdep.c

Log Message:
Remove debugging printf()


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/usermode/usermode/kgdb_machdep.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/usermode/usermode

2018-08-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Aug  1 10:24:41 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: kgdb_machdep.c

Log Message:
Fix too long line


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/usermode/usermode/kgdb_machdep.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/usermode/usermode

2018-08-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Aug  1 10:27:28 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: db_memrw.c

Log Message:
Remove yet another debug printf()


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/usermode/usermode/db_memrw.c

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



CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386

2018-08-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Aug  1 11:39:53 UTC 2018

Modified Files:
src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386: modes.inc

Log Message:
Add missing defines:
https://github.com/openssl/openssl/pull/6828
When ghash-x86.S is generated with -DOPENSSL_IA32_SSE2 we need to compile
gcm128.c with the same flags.
Reported by manu@


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/modes.inc

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



CVS commit: src/sys/arch/usermode

2018-08-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Aug  1 12:09:02 UTC 2018

Modified Files:
src/sys/arch/usermode/include: vmparam.h
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Revert to working state


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/usermode/include/vmparam.h
cvs rdiff -u -r1.109 -r1.110 src/sys/arch/usermode/usermode/pmap.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

2018-08-01 Thread Pierre Pronchery
Module Name:src
Committed By:   khorben
Date:   Wed Aug  1 12:25:50 UTC 2018

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

Log Message:
Avoid parentheses in return statements (KNF)

NFCI.

Thanks skrll@ for the heads-up!


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

2018-08-01 Thread Pierre Pronchery
Module Name:src
Committed By:   khorben
Date:   Wed Aug  1 12:36:56 UTC 2018

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

Log Message:
Allow kmem_alloc(9) to sleep when attaching

Without this, umb(4) may needlessly fail to attach, like when under memory
pressure.

Thanks skrll@ for the heads-up!


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

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



CVS commit: src/dist/pf/share/man/man4

2018-08-01 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Wed Aug  1 13:30:14 UTC 2018

Modified Files:
src/dist/pf/share/man/man4: pf.4

Log Message:
Add a bold note to say our PF is obsolete.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/dist/pf/share/man/man4/pf.4

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



CVS commit: src/sys/arch/i386/i386

2018-08-01 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Wed Aug  1 13:35:01 UTC 2018

Modified Files:
src/sys/arch/i386/i386: locore.S

Log Message:
Xen is PAE, so remove ifdefs.


To generate a diff of this commit:
cvs rdiff -u -r1.160 -r1.161 src/sys/arch/i386/i386/locore.S

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



CVS commit: src/doc

2018-08-01 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Wed Aug  1 13:41:26 UTC 2018

Modified Files:
src/doc: CHANGES

Log Message:
Note the removal of non-PAE-32bit-PV.


To generate a diff of this commit:
cvs rdiff -u -r1.2415 -r1.2416 src/doc/CHANGES

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



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

2018-08-01 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Aug  1 13:42:58 UTC 2018

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

Log Message:
Some whitespace improvements.  NFC.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/aarch64/include/armreg.h

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



CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386

2018-08-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Aug  1 13:46:58 UTC 2018

Modified Files:
src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386: modes.inc

Log Message:
remove -DGHASH_ASM_X86; it is already defined.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/modes.inc

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/include/arm32

2018-08-01 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Aug  1 13:48:01 UTC 2018

Modified Files:
src/sys/arch/arm/include/arm32: machdep.h

Log Message:
s/_ARM32_BOOT_MACHDEP_H_/_ARM32_MACHDEP_H_/ in multiple inclusion
protection.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/arm/include/arm32/machdep.h

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/dwc2/dist

2018-08-01 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Aug  1 16:44:14 UTC 2018

Modified Files:
src/sys/external/bsd/dwc2/dist: dwc2_hcd.c

Log Message:
Fix the alignment argument to usb_allocmem in dwc2_hc_setup_align_buf


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/external/bsd/dwc2/dist/dwc2_hcd.c

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

2018-08-01 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Aug  1 16:50:24 UTC 2018

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

Log Message:
Can't see a thing (which see)
Remove CLNP reference which is long gone.


To generate a diff of this commit:
cvs rdiff -u -r1.490 -r1.491 src/share/man/man4/options.4

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



CVS commit: src/sys/arch

2018-08-01 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Wed Aug  1 16:59:10 UTC 2018

Modified Files:
src/sys/arch/amd64/conf: GENERIC XEN3_DOM0 XEN3_DOMU
src/sys/arch/i386/conf: GENERIC GENERIC_PS2TINY GENERIC_TINY
INSTALL_FLOPPY INSTALL_TINY NET4501 XEN3PAE_DOM0 XEN3PAE_DOMU

Log Message:
Unreference IPF/PF from the x86 config files (amd64, i386, xen), and enable
NPF instead when wanted.


To generate a diff of this commit:
cvs rdiff -u -r1.497 -r1.498 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.153 -r1.154 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.85 -r1.86 src/sys/arch/amd64/conf/XEN3_DOMU
cvs rdiff -u -r1.1184 -r1.1185 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.79 -r1.80 src/sys/arch/i386/conf/GENERIC_PS2TINY
cvs rdiff -u -r1.157 -r1.158 src/sys/arch/i386/conf/GENERIC_TINY
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/i386/conf/INSTALL_FLOPPY
cvs rdiff -u -r1.156 -r1.157 src/sys/arch/i386/conf/INSTALL_TINY
cvs rdiff -u -r1.101 -r1.102 src/sys/arch/i386/conf/NET4501
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/i386/conf/XEN3PAE_DOM0
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/i386/conf/XEN3PAE_DOMU

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



CVS commit: src/common/lib/libc/arch/aarch64/string

2018-08-01 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Wed Aug  1 17:09:26 UTC 2018

Modified Files:
src/common/lib/libc/arch/aarch64/string: strlen.S

Log Message:
strnlen(s, (size_t)-1) returned -1. it must return the length of s.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/arch/aarch64/string/strlen.S

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



CVS commit: src/sbin/umbctl

2018-08-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Aug  1 17:26:30 UTC 2018

Modified Files:
src/sbin/umbctl: umbctl.8

Log Message:
Various improvements to the man page.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sbin/umbctl/umbctl.8

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

2018-08-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Aug  1 17:28:42 UTC 2018

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

Log Message:
Move RCS Id to top. Fix date.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/umb.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/usb

2018-08-01 Thread Pierre Pronchery
Module Name:src
Committed By:   khorben
Date:   Wed Aug  1 18:27:58 UTC 2018

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

Log Message:
Fix building umb(4) on NetBSD-current

Patch by Robert Swindells; thank you!


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

2018-08-01 Thread Pierre Pronchery
Module Name:src
Committed By:   khorben
Date:   Wed Aug  1 18:36:14 UTC 2018

Modified Files:
src/sys/arch/amd64/conf: ALL
src/sys/arch/i386/conf: ALL

Log Message:
Build the umb(4) driver in the ALL kernels (amd64, i386)

As suggested by Robert Swindells; thank you!


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/sys/arch/amd64/conf/ALL
cvs rdiff -u -r1.444 -r1.445 src/sys/arch/i386/conf/ALL

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



CVS commit: src/lib/libc/arch/aarch64/gdtoa

2018-08-01 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Wed Aug  1 19:59:49 UTC 2018

Modified Files:
src/lib/libc/arch/aarch64/gdtoa: gd_qnan.h

Log Message:
fix long double NaN definition.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/arch/aarch64/gdtoa/gd_qnan.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

2018-08-01 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Wed Aug  1 20:04:14 UTC 2018

Modified Files:
src/sys/arch/acorn32/conf: EB7500ATX GENERIC INSTALL LOWMEM_WSCONS NC
src/sys/arch/algor/conf: P4032 P5064 P6032
src/sys/arch/alpha/conf: GENERIC RAWHIDE
src/sys/arch/amiga/conf: DRACO GENERIC GENERIC.in INSTALL
src/sys/arch/amigappc/conf: GENERIC NULL
src/sys/arch/arc/conf: ARCTIC GENERIC M403 MIMORI PICA RPC44
src/sys/arch/atari/conf: GENERIC.in
src/sys/arch/bebox/conf: GENERIC
src/sys/arch/cats/conf: GENERIC INSTALL
src/sys/arch/cesfic/conf: GENERIC
src/sys/arch/cobalt/conf: GENERIC INSTALL
src/sys/arch/dreamcast/conf: G1IDE GENERIC
src/sys/arch/emips/conf: GENERIC
src/sys/arch/evbarm/conf: ARMADILLO-IOT-G3 ARMADILLO210 ARMADILLO9
CP3100 CUBOX CUBOX-I DUOVERO GUMSTIX HDL_G HPT5325 IMX6UL-STARTER
MARVELL_NAS MINI2440 MMNET_GENERIC MPCSA_GENERIC MV2120 NITROGEN6X
NSLU2 OPENBLOCKS_A6 OPENBLOCKS_AX3 OVERO PEPPER POGO RPI RPI64
SHEEVAPLUG SMDK2410 SMDK2800 TWINTAIL
src/sys/arch/evbmips/conf: ADM5120 ADM5120-NB ADM5120-USB ALCHEMY AP30
CI20 CPMBR1400 DB120 ERLITE GDIUM LINKITSMART7688 LOONGSON MALTA
MERAKI RB153 RB433UAH SBMIPS WGT624V3 XLSATX ZYXELKX
src/sys/arch/evbppc/conf: EV64260 EXPLORA451 MPC8536DS MPC8548CDS
OPENBLOCKS200 OPENBLOCKS266 OPENBLOCKS600 P2020DS P2020RDB PMPPC
RB800 RB850GX2 TWRP1025 VIRTEX_DFC VIRTEX_GSRD1 VIRTEX_GSRD2 WALNUT
src/sys/arch/evbsh3/conf: T_SH7706LAN T_SH7706LSR
src/sys/arch/ews4800mips/conf: GENERIC
src/sys/arch/hp300/conf: GENERIC INSTALL
src/sys/arch/hpcarm/conf: IPAQ JORNADA720 JORNADA820 NETBOOKPRO WZERO3
src/sys/arch/hpcmips/conf: GENERIC LROUTER MPC303 TX3912 TX3922 VR41XX
src/sys/arch/hpcsh/conf: GENERIC
src/sys/arch/hppa/conf: GENERIC
src/sys/arch/ia64/conf: GENERIC.SKI
src/sys/arch/iyonix/conf: GENERIC
src/sys/arch/landisk/conf: GENERIC
src/sys/arch/luna68k/conf: GENERIC INSTALL
src/sys/arch/mac68k/conf: GENERIC
src/sys/arch/macppc/conf: GENERIC GENERIC_601 MAMBO POWERMAC
POWERMAC_G5 POWERMAC_G5_11_2
src/sys/arch/mipsco/conf: GENERIC RC3230
src/sys/arch/mmeye/conf: GENERIC MMEYE MMEYE_WLF MMTA MMTAICE
MMTAROMNEW
src/sys/arch/mvme68k/conf: GENERIC
src/sys/arch/mvmeppc/conf: GENERIC
src/sys/arch/netwinder/conf: GENERIC
src/sys/arch/news68k/conf: GENERIC GENERIC_TINY INSTALL LIBERO NEWS1200
src/sys/arch/newsmips/conf: DEJIKO GENERIC WAPIKO
src/sys/arch/next68k/conf: GENERIC SLAB
src/sys/arch/ofppc/conf: GENERIC
src/sys/arch/playstation2/conf: config.playstation2
src/sys/arch/pmax/conf: GENERIC GENERIC64
src/sys/arch/prep/conf: GENERIC
src/sys/arch/riscv/conf: GENERIC
src/sys/arch/rs6000/conf: GENERIC
src/sys/arch/sandpoint/conf: ENCPP1 GENERIC SANDPOINT
src/sys/arch/sbmips/conf: GENERIC
src/sys/arch/sgimips/conf: GENERIC32_IP12 GENERIC32_IP2x GENERIC32_IP3x
src/sys/arch/shark/conf: GENERIC INSTALL OFWGENCFG
src/sys/arch/sparc/conf: GENERIC INSTALL KRUPS MRCOFFEE TADPOLE3GX
src/sys/arch/sparc64/conf: GENERIC NONPLUS64
src/sys/arch/sun2/conf: DISKLESS FOURMEG GENERIC INSTALL RAMDISK VME
src/sys/arch/sun3/conf: DISKLESS DISKLESS3X GENERIC GENERIC3X INSTALL
INSTALL3X
src/sys/arch/vax/conf: GENERIC VAX780
src/sys/arch/x68k/conf: GENERIC INSTALL

Log Message:
Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/acorn32/conf/EB7500ATX
cvs rdiff -u -r1.126 -r1.127 src/sys/arch/acorn32/conf/GENERIC
cvs rdiff -u -r1.80 -r1.81 src/sys/arch/acorn32/conf/INSTALL
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/acorn32/conf/LOWMEM_WSCONS
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/acorn32/conf/NC
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/algor/conf/P4032
cvs rdiff -u -r1.85 -r1.86 src/sys/arch/algor/conf/P5064
cvs rdiff -u -r1.76 -r1.77 src/sys/arch/algor/conf/P6032
cvs rdiff -u -r1.383 -r1.384 src/sys/arch/alpha/conf/GENERIC
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/alpha/conf/RAWHIDE
cvs rdiff -u -r1.186 -r1.187 src/sys/arch/amiga/conf/DRACO
cvs rdiff -u -r1.320 -r1.321 src/sys/arch/amiga/conf/GENERIC
cvs rdiff -u -r1.138 -r1.139 src/sys/arch/amiga/conf/GENERIC.in
cvs rdiff -u -r1.130 -r1.131 src/sys/arch/amiga/conf/INSTALL
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/amigappc/conf/GENERIC
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/amigappc/conf/NULL
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/arc/conf/ARCTIC
cvs rdiff -u -r

CVS commit: src/sys/sys

2018-08-01 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Wed Aug  1 20:09:34 UTC 2018

Modified Files:
src/sys/sys: power.h

Log Message:
Add a comment to explain the purpose of POWER_IOC_GET_TYPE_WITH_LOSSAGE
and also define it only for the kernel, userland should never see that.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/sys/power.h

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



CVS commit: src/sys

2018-08-01 Thread Robert Swindells
Module Name:src
Committed By:   rjs
Date:   Wed Aug  1 23:35:32 UTC 2018

Modified Files:
src/sys/kern: sys_socket.c uipc_syscalls.c
src/sys/sys: socketvar.h sockio.h

Log Message:
Add ioctl(2) handler for kernel part of sctp_peeloff().


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/kern/sys_socket.c
cvs rdiff -u -r1.195 -r1.196 src/sys/kern/uipc_syscalls.c
cvs rdiff -u -r1.157 -r1.158 src/sys/sys/socketvar.h
cvs rdiff -u -r1.34 -r1.35 src/sys/sys/sockio.h

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

2018-08-01 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Aug  2 00:41:17 UTC 2018

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

Log Message:
Drop ISO/Xerox references which are now long gone.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/share/man/man4/netintro.4

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



CVS commit: src/sbin/umbctl

2018-08-01 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Thu Aug  2 03:40:51 UTC 2018

Modified Files:
src/sbin/umbctl: umbctl.c

Log Message:
Mark _error() as printflikee


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sbin/umbctl/umbctl.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

2018-08-01 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Aug  2 04:28:56 UTC 2018

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

Log Message:
Adjust alignment in m_pulldown().

 IP6_EXTHDR_GET() and M_REGION_GET() do m_pulldown(). When m_pulldown() copies
data into M_TRAILINGSPACE, the alignment might be changed. There are a lot of
IP6_EXTHDR_GET() calls, so I think it's not good to check the alignment after
every IP6_EXTHDR_GET() call. This change fixes this problem in m_pulldown().
In this commit, the next mbuf are 4 byte aligned. For networking, I've never
heard that 64bit alignment is required, so I think it would be OK.

 I don't know this is the best solution, but it's better than nothing.

 OK'd by maxv@.

 After committing this change, the workaround code for PR#50776 can be removed.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/kern/uipc_mbuf2.c

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



CVS commit: [pgoyette-compat] src/sys/kern

2018-08-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Aug  2 05:34:09 UTC 2018

Modified Files:
src/sys/kern [pgoyette-compat]: files.kern

Log Message:
Clean up from sync-with-HEAD


To generate a diff of this commit:
cvs rdiff -u -r1.16.2.6 -r1.16.2.7 src/sys/kern/files.kern

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

2018-08-01 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Aug  2 06:09:05 UTC 2018

Modified Files:
src/sys/dev/usb: if_athn_usb.c if_atu.c if_aue.c if_axe.c if_axen.c
if_cue.c if_otus.c if_rum.c if_run.c if_smsc.c if_udav.c if_upgt.c
if_ural.c if_url.c if_urtw.c if_urtwn.c if_zyd.c uatp.c usb.c
usb_subr.c usbdi.h

Log Message:
Fix usb_rem_task_wait API.

- Return whether it removed task from queue or not.
  . True if it was on the queue and we intercepted it before it ran.
  . False if we could not intercept it: either it wasn't queued,
or it already ran.  (Up to caller to distinguish these cases.)
- Pass an optional interlock like callout_halt.

While here, simplify.

ok mrg@


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/usb/if_athn_usb.c \
src/sys/dev/usb/if_run.c
cvs rdiff -u -r1.62 -r1.63 src/sys/dev/usb/if_atu.c src/sys/dev/usb/if_rum.c \
src/sys/dev/usb/if_urtwn.c
cvs rdiff -u -r1.144 -r1.145 src/sys/dev/usb/if_aue.c
cvs rdiff -u -r1.91 -r1.92 src/sys/dev/usb/if_axe.c
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/usb/if_axen.c
cvs rdiff -u -r1.79 -r1.80 src/sys/dev/usb/if_cue.c
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/usb/if_otus.c
cvs rdiff -u -r1.35 -r1.36 src/sys/dev/usb/if_smsc.c
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/usb/if_udav.c
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/usb/if_upgt.c
cvs rdiff -u -r1.56 -r1.57 src/sys/dev/usb/if_ural.c
cvs rdiff -u -r1.59 -r1.60 src/sys/dev/usb/if_url.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/usb/if_urtw.c src/sys/dev/usb/uatp.c
cvs rdiff -u -r1.49 -r1.50 src/sys/dev/usb/if_zyd.c
cvs rdiff -u -r1.170 -r1.171 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.225 -r1.226 src/sys/dev/usb/usb_subr.c
cvs rdiff -u -r1.94 -r1.95 src/sys/dev/usb/usbdi.h

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