CVS commit: src/sys/dev/usb

2020-03-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Mar 15 07:56:19 UTC 2020

Modified Files:
src/sys/dev/usb: ehcivar.h ohcivar.h uhcivar.h

Log Message:
Use roundup.  NFCI.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/usb/ehcivar.h
cvs rdiff -u -r1.60 -r1.61 src/sys/dev/usb/ohcivar.h
cvs rdiff -u -r1.56 -r1.57 src/sys/dev/usb/uhcivar.h

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



CVS commit: src/tests/sbin/newfs_msdos

2020-03-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Mar 15 10:15:16 UTC 2020

Modified Files:
src/tests/sbin/newfs_msdos: t_create.sh

Log Message:
Skip this test if the atf working directory has not enough space
for the created image.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/sbin/newfs_msdos/t_create.sh

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



CVS commit: src/sys/uvm

2020-03-15 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sun Mar 15 11:17:23 UTC 2020

Modified Files:
src/sys/uvm: uvm_page.c

Log Message:
Fix build with UVMHIST.


To generate a diff of this commit:
cvs rdiff -u -r1.232 -r1.233 src/sys/uvm/uvm_page.c

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



CVS commit: src/tests/sbin/resize_ffs

2020-03-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Mar 15 11:17:59 UTC 2020

Modified Files:
src/tests/sbin/resize_ffs: common.sh

Log Message:
Skip tests where the old or the new image size seem to not fit into
the working directory.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/tests/sbin/resize_ffs/common.sh

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



CVS commit: src/sys/uvm/pmap

2020-03-15 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sun Mar 15 11:36:24 UTC 2020

Modified Files:
src/sys/uvm/pmap: pmap.h

Log Message:
Fix build for ports using uvm/pmap; pmap_remove_all() returns a boolean.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/uvm/pmap/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/arm/sociox

2020-03-15 Thread Tohru Nishimura
Module Name:src
Committed By:   nisimura
Date:   Sun Mar 15 12:01:41 UTC 2020

Added Files:
src/sys/arch/arm/sociox: files.sociox

Log Message:
driver description file for Socionext products


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/sociox/files.sociox

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



CVS commit: src/tests/fs/common

2020-03-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Mar 15 12:12:42 UTC 2020

Modified Files:
src/tests/fs/common: h_fsmacros.h

Log Message:
Hardcode a check for ZFS and too little free space in workdir to skip
ZFS tests if the atf working directory is size restricted (ZFS has a
hardcoded minimal size of 64MB for a storage pool and 128 MB disk size).


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/tests/fs/common/h_fsmacros.h

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



CVS commit: src/sys/compat/netbsd32

2020-03-15 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Mar 15 12:46:02 UTC 2020

Modified Files:
src/sys/compat/netbsd32: netbsd32_compat_50.c

Log Message:
Now that we have split the quota code out of the compat_netbsd32_50
module, it no longer depends on compat_50_quota.

Should address PR kern/55073


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/compat/netbsd32/netbsd32_compat_50.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/evbarm/conf

2020-03-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Mar 15 13:54:28 UTC 2020

Modified Files:
src/sys/arch/evbarm/conf: GENERIC

Log Message:
Remove duplicate ehci @ fdt


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/evbarm/conf/GENERIC

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-03-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Mar 15 13:59:20 UTC 2020

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

Log Message:
Use howmany.  NFCI.


To generate a diff of this commit:
cvs rdiff -u -r1.296 -r1.297 src/sys/dev/usb/uhci.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-03-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Mar 15 14:14:50 UTC 2020

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

Log Message:
Remove useless #include


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/dev/usb/usb_mem.c

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



CVS commit: src/sys/compat/netbsd32

2020-03-15 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Mar 15 14:15:12 UTC 2020

Modified Files:
src/sys/compat/netbsd32: netbsd32_mod.c netbsd32_sysctl.c
Removed Files:
src/sys/compat/netbsd32: netbsd32_sysctl.h

Log Message:
Use SYSCTL_SETUP mechanism to establish our sysctl tree, rather than
using explicit calls to netbsd32_sysctl_{init,fini}()


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/compat/netbsd32/netbsd32_mod.c
cvs rdiff -u -r1.41 -r1.42 src/sys/compat/netbsd32/netbsd32_sysctl.c
cvs rdiff -u -r1.1 -r0 src/sys/compat/netbsd32/netbsd32_sysctl.h

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-03-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Mar 15 14:17:33 UTC 2020

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

Log Message:
KNF


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/dev/usb/usb_mem.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-03-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Mar 15 14:19:04 UTC 2020

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

Log Message:
KNF the KNF


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/dev/usb/usb_mem.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-03-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Mar 15 14:58:54 UTC 2020

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

Log Message:
Move some comments


To generate a diff of this commit:
cvs rdiff -u -r1.297 -r1.298 src/sys/dev/usb/uhci.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-03-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Mar 15 15:00:15 UTC 2020

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

Log Message:
Fix a comment


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

2020-03-15 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sun Mar 15 15:14:23 UTC 2020

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

Log Message:
pmap_enter(): look directly in the tree for old PVE when installing an
unmanaged mapping, because there is no existing pmap_page to check in
the shortcut path (it traps).

pv_pte_next(): don't assert pp_embedded because it could have been removed
(during pmap_pp_remove()).


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

2020-03-15 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sun Mar 15 15:58:24 UTC 2020

Modified Files:
src/sys/arch/x86/include: pmap_pv.h
src/sys/arch/x86/x86: pmap.c

Log Message:
- pmap_enter(): Remove cosmetic differences between the EPT & native cases.
  Remove old code to free PVEs that should not be there that caused panics
  (merge error moving between source trees on my part).

- pmap_destroy(): pmap_remove_all() doesn't work for EPT yet, so need to catch
  up on deferred PTP frees manually in the EPT case.

- pp_embedded: Remove it.  It's one more variable to go wrong and another
  store to be made.  Just check for non-zero PTP pointer & non-zero VA
  instead.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/x86/include/pmap_pv.h
cvs rdiff -u -r1.368 -r1.369 src/sys/arch/x86/x86/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/x86/x86

2020-03-15 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sun Mar 15 19:41:05 UTC 2020

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

Log Message:
Fix a comment.


To generate a diff of this commit:
cvs rdiff -u -r1.369 -r1.370 src/sys/arch/x86/x86/pmap.c

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



CVS commit: src/tests/fs

2020-03-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Mar 15 20:10:26 UTC 2020

Modified Files:
src/tests/fs/common: h_fsmacros.h
src/tests/fs/zfs: t_zpool.sh

Log Message:
Skip tests when we know there is not enough space available


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/tests/fs/common/h_fsmacros.h
cvs rdiff -u -r1.5 -r1.6 src/tests/fs/zfs/t_zpool.sh

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



CVS commit: src/sys/uvm

2020-03-15 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sun Mar 15 21:06:30 UTC 2020

Modified Files:
src/sys/uvm: uvm_physseg.c

Log Message:
uvm_physseg: cluster fields used during RB tree lookup for PHYS_TO_VM_PAGE().


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/uvm/uvm_physseg.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/ndp

2020-03-15 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sun Mar 15 21:15:25 UTC 2020

Modified Files:
src/tests/net/ndp: t_ndp.sh

Log Message:
tests: ndp_rtm: Check correct source address in RTA_AUTHOR

Fixes PR kern/55074.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/tests/net/ndp/t_ndp.sh

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



CVS commit: src/sys/dev/ic

2020-03-15 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sun Mar 15 22:19:01 UTC 2020

Modified Files:
src/sys/dev/ic: aic6915.c dp83932.c gem.c sgec.c smc83c170.c tulip.c

Log Message:
Don't bother with IFF_OACTIVE.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/ic/aic6915.c
cvs rdiff -u -r1.45 -r1.46 src/sys/dev/ic/dp83932.c
cvs rdiff -u -r1.129 -r1.130 src/sys/dev/ic/gem.c
cvs rdiff -u -r1.52 -r1.53 src/sys/dev/ic/sgec.c
cvs rdiff -u -r1.94 -r1.95 src/sys/dev/ic/smc83c170.c
cvs rdiff -u -r1.203 -r1.204 src/sys/dev/ic/tulip.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-03-15 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sun Mar 15 22:20:32 UTC 2020

Modified Files:
src/sys/dev/pci: if_pcn.c if_sip.c if_ste.c if_stge.c

Log Message:
Don't bother with IFF_OACTIVE.


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/dev/pci/if_pcn.c
cvs rdiff -u -r1.180 -r1.181 src/sys/dev/pci/if_sip.c
cvs rdiff -u -r1.61 -r1.62 src/sys/dev/pci/if_ste.c
cvs rdiff -u -r1.85 -r1.86 src/sys/dev/pci/if_stge.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-03-15 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Mar 15 22:44:32 UTC 2020

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

Log Message:
synaptics: Check for single-finger event jitter in all cases.

I now have smooth two-finger scrolling.


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

2020-03-15 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sun Mar 15 23:04:51 UTC 2020

Modified Files:
src/sys/arch/arm/amlogic: gxlphy.c
src/sys/arch/x86/pci: if_vmx.c
src/sys/dev/mii: acphy.c amhphy.c atphy.c bmtphy.c brgphy.c ciphy.c
dmphy.c etphy.c exphy.c gentbi.c glxtphy.c gphyter.c icsphy.c
igphy.c ihphy.c ikphy.c inphy.c iophy.c ipgphy.c jmphy.c lxtphy.c
makphy.c micphy.c mii.c mii_ethersubr.c mii_physubr.c miivar.h
mvphy.c nsphy.c nsphyter.c pnaphy.c qsphy.c rdcphy.c rgephy.c
rlphy.c smscphy.c sqphy.c tlphy.c tqphy.c ukphy.c ukphy_subr.c
src/sys/dev/pci: if_mcx.c if_wm.c
src/sys/dev/pci/ixgbe: ixgbe.c ixv.c
src/sys/dev/usb: if_atu.c if_atureg.h if_aue.c if_axe.c if_axen.c
if_cdce.c if_cue.c if_kue.c if_mos.c if_mue.c if_otus.c
if_otusvar.h if_rum.c if_rumvar.h if_run.c if_runvar.h if_smsc.c
if_udav.c if_upgt.c if_upgtvar.h if_upl.c if_ural.c if_uralvar.h
if_ure.c if_url.c if_urndis.c if_urtw.c if_urtwn.c if_urtwnvar.h
if_urtwreg.h if_zyd.c if_zydreg.h usbnet.c usbnet.h
src/sys/net: if_media.c if_media.h
src/sys/net80211: ieee80211.c ieee80211_netbsd.h ieee80211_var.h

Log Message:
Define and implement a locking protocol for the ifmedia / mii layers:
- MP-safe drivers provide a mutex to ifmedia that is used to serialize
  access to media-related structures / hardware regsiters.  Converted
  drivers use the new ifmedia_init_with_lock() function for this.  The
  new name is provided to ease the transition.
- Un-converted drivers continue to call ifmedia_init(), which will supply
  a compatibility lock to be used instead.  Several media-related entry
  points must be aware of this compatibility lock, and are able to acquire
  it recursively a limited number of times, if needed.  This is a SPIN
  mutex with priority IPL_NET.
- This same lock is used to serialize access to PHY registers and other
  MII-related data structures.

The PHY drivers are modified to acquire and release the lock, as needed,
and assert the lock is held as a diagnostic aid.

The "usbnet" framework has had an overhaul of its internal locking
protocols to fit in with the media / mii changes, and the drivers adapted.

USB wifi drivers have been changed to provide their own adaptive mutex
to the ifmedia later via a new ieee80211_media_init_with_lock() function.
This is required because the USB drivers need an adaptive mutex.

Besised "usbnet", a few other drivers are converted: vmx, wm, ixgbe / ixv.

mcx also now calls ifmedia_init_with_lock() because it needs to also use
an adaptive mutex.  The mcx driver still needs to be fully converted to
NET_MPSAFE.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/amlogic/gxlphy.c
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/x86/pci/if_vmx.c
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/mii/acphy.c src/sys/dev/mii/atphy.c
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/mii/amhphy.c src/sys/dev/mii/pnaphy.c
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/mii/bmtphy.c src/sys/dev/mii/gphyter.c
cvs rdiff -u -r1.87 -r1.88 src/sys/dev/mii/brgphy.c
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/mii/ciphy.c src/sys/dev/mii/rlphy.c
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/mii/dmphy.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/mii/etphy.c
cvs rdiff -u -r1.57 -r1.58 src/sys/dev/mii/exphy.c
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/mii/gentbi.c
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/mii/glxtphy.c
cvs rdiff -u -r1.55 -r1.56 src/sys/dev/mii/icsphy.c src/sys/dev/mii/sqphy.c
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/mii/igphy.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/mii/ihphy.c \
src/sys/dev/mii/ukphy_subr.c
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/mii/ikphy.c
cvs rdiff -u -r1.59 -r1.60 src/sys/dev/mii/inphy.c
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/mii/iophy.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/mii/ipgphy.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/mii/jmphy.c
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/mii/lxtphy.c src/sys/dev/mii/mii.c \
src/sys/dev/mii/qsphy.c
cvs rdiff -u -r1.64 -r1.65 src/sys/dev/mii/makphy.c
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/mii/micphy.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/mii/mii_ethersubr.c \
src/sys/dev/mii/smscphy.c
cvs rdiff -u -r1.89 -r1.90 src/sys/dev/mii/mii_physubr.c
cvs rdiff -u -r1.69 -r1.70 src/sys/dev/mii/miivar.h
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/mii/mvphy.c
cvs rdiff -u -r1.65 -r1.66 src/sys/dev/mii/nsphy.c
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/mii/nsphyter.c src/sys/dev/mii/tqphy.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/mii/rdcphy.c
cvs rdiff -u -r1.58 -r1.59 src/sys/dev/mii/rgephy.c
cvs rdiff -u -r1.67 -r1.68 src/sys/dev/mii/tlphy.c
cvs rdiff -u -r1.52 -r1.53 src/sys/dev/mii/ukphy.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pci/if_mcx.c
cvs rdiff -u -r1.668 -r1.669 src/sys/dev/pci/if_wm.c
cvs rdiff -u -r1.226 -r1.227 src/sys/dev/pci/ixgbe/ixgbe.c
cvs rdiff -u -r1.146 -r1.147 src/sys/dev/pci/ixgbe/ix

CVS commit: src/sys/sys

2020-03-15 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sun Mar 15 23:06:02 UTC 2020

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

Log Message:
NetBSD 9.99.50 -- ifmedia / mii locking changes.


To generate a diff of this commit:
cvs rdiff -u -r1.652 -r1.653 src/sys/sys/param.h

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



CVS commit: src/sys

2020-03-15 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sun Mar 15 23:14:41 UTC 2020

Modified Files:
src/sys/kern: uipc_mbuf.c
src/sys/net: if_ethersubr.c
src/sys/sys: mbuf.h

Log Message:
Add and use a new function, mowner_init_owner(), that initializes an
MBUFTRACE mowner structure (so that providers of it don't have to
grovel the internals).


To generate a diff of this commit:
cvs rdiff -u -r1.236 -r1.237 src/sys/kern/uipc_mbuf.c
cvs rdiff -u -r1.282 -r1.283 src/sys/net/if_ethersubr.c
cvs rdiff -u -r1.225 -r1.226 src/sys/sys/mbuf.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/compiler_rt/dist/lib/sanitizer_common

2020-03-15 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sun Mar 15 23:51:28 UTC 2020

Modified Files:
src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common:
sanitizer_platform_limits_netbsd.cc

Log Message:
Fix compiler-rt build with MKIPFILTER=no

Cherry-pick upstream patch:

>From 7f6b25ad1bb3f8057655a9bad2a3b69621f4a543 Mon Sep 17 00:00:00 2001
From: Kamil Rytarowski 
Date: Mon, 16 Mar 2020 00:39:02 +0100
Subject: [PATCH] [compiler-rt] [netbsd] Add support for the MKIPFILTER=no
 distribution

Add fallback definition for the IPFilter ioctl commands.

https://github.com/llvm/llvm-project/commit/7f6b25ad1bb3f8057655a9bad2a3b69621f4a543.patch

PR bin/55070 by Roy Marples


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \

src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc

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



CVS commit: src/sys/compat/netbsd32

2020-03-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar 16 00:05:29 UTC 2020

Modified Files:
src/sys/compat/netbsd32: netbsd32_ioctl.c

Log Message:
Don't open-code ioctls, pass back to the 64 bit ones (found by maxv@),


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/sys/compat/netbsd32/netbsd32_ioctl.c

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



CVS commit: src/sys/compat/netbsd32

2020-03-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar 16 01:37:51 UTC 2020

Modified Files:
src/sys/compat/netbsd32: netbsd32_ioctl.c

Log Message:
Unfortunately all the clockctl ioctls contain pointers to structs instead
of the structs themselves, so they need special handling. Undo previous
and do the permissions checks explicitly. It would be better to fix the
clockctl ioctls to contain the structs themselves...


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/sys/compat/netbsd32/netbsd32_ioctl.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-03-15 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Mon Mar 16 01:54:23 UTC 2020

Modified Files:
src/sys/dev/pci: if_pcn.c if_sip.c

Log Message:
Do the "have transmit resources available" check before checking that
there is a packet in the send queue.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/dev/pci/if_pcn.c
cvs rdiff -u -r1.181 -r1.182 src/sys/dev/pci/if_sip.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-03-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Mar 16 06:48:18 UTC 2020

Modified Files:
src/usr.sbin/sysinst: defs.h

Log Message:
PR misc/54886: bump threshold for automatic/default creation of a tmpfs /tmp
up slightly (to 384 MB ram). This will make sure the default install has
a > 64 MB /tmp available (number pulled out of thin air, 64 MB is the minimum
required by the ZFS tests).


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/usr.sbin/sysinst/defs.h

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