CVS commit: src/sys/dev/pci

2018-06-21 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Jun 21 09:09:50 UTC 2018

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

Log Message:
 Simplify & white space fix. No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/dev/pci/if_msk.c

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



CVS commit: src/sys

2018-06-21 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Thu Jun 21 10:37:50 UTC 2018

Modified Files:
src/sys/net: if.h
src/sys/netinet: igmp.c in_l2tp.c ip_encap.c ip_icmp.c ip_mroute.c
src/sys/netinet6: in6_l2tp.c ip6_mroute.c

Log Message:
sbappendaddr() is required any lock. Currently, softnet_lock is appropriate.

When rip_input() is called as inetsw[].pr_input, rip_iput() is always called
with holding softnet_lock, that is, in case of !defined(NET_MPSAFE) it is
acquired in ipintr(), otherwise(defined(NET_MPSAFE)) it is acquire in
PR_WRAP_INPUT macro.
However, some function calls rip_input() directly without holding softnet_lock.
That causes assertion failure in sbappendaddr().
rip6_input() and icmp6_rip6_input() are also required softnet_lock for the same
reason.


To generate a diff of this commit:
cvs rdiff -u -r1.262 -r1.263 src/sys/net/if.h
cvs rdiff -u -r1.67 -r1.68 src/sys/netinet/igmp.c
cvs rdiff -u -r1.14 -r1.15 src/sys/netinet/in_l2tp.c
cvs rdiff -u -r1.68 -r1.69 src/sys/netinet/ip_encap.c
cvs rdiff -u -r1.171 -r1.172 src/sys/netinet/ip_icmp.c
cvs rdiff -u -r1.159 -r1.160 src/sys/netinet/ip_mroute.c
cvs rdiff -u -r1.15 -r1.16 src/sys/netinet6/in6_l2tp.c
cvs rdiff -u -r1.128 -r1.129 src/sys/netinet6/ip6_mroute.c

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



CVS commit: src/usr.bin/ldd

2018-06-21 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Jun 21 10:41:46 UTC 2018

Modified Files:
src/usr.bin/ldd/build: Makefile
src/usr.bin/ldd/elf32: Makefile
src/usr.bin/ldd/elf32_compat: Makefile
src/usr.bin/ldd/elf64: Makefile

Log Message:
Disable SANITIZER for ldd(1)

These utilities (elf32, elf32_compat, elf64, liblldb) share code with the
ELF dynamic loader that is not being sanitized and its symbols are
installed into sanitized programs (in particular __tls_get_addr()).

Additionally libldd is used in rescue that is not expected to be sanitized
as of today.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/ldd/build/Makefile
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/ldd/elf32/Makefile
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/ldd/elf32_compat/Makefile
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/ldd/elf64/Makefile

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



CVS commit: src/rescue

2018-06-21 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Jun 21 10:44:01 UTC 2018

Modified Files:
src/rescue: Makefile

Log Message:
Set NOSANITIZER in rescue/Makefile

This is required to stop sanitizing rcmd.o and liboverride.o. These object
files will be linked into statically linked rescue.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/rescue/Makefile

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



CVS commit: src/sys/dev/fdt

2018-06-21 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Jun 21 10:45:25 UTC 2018

Modified Files:
src/sys/dev/fdt: dwc3_fdt.c

Log Message:
Add support for RK3328


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

2018-06-21 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Jun 21 10:46:39 UTC 2018

Added Files:
src/sys/arch/arm/dts: rk3328-rock64.dts rk3328.dtsi

Log Message:
Enable DWC3 USB DRD (host mode) on Rock64.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/dts/rk3328-rock64.dts \
src/sys/arch/arm/dts/rk3328.dtsi

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



CVS commit: src/usr.bin/crunch/crunchgen

2018-06-21 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Jun 21 10:55:54 UTC 2018

Modified Files:
src/usr.bin/crunch/crunchgen: crunchgen.1 crunchgen.c

Log Message:
Add new option -s to crunchgen(1) -- enable sanitization

As of today typical sanitizers require dynamic executables, while
crunchgen(1) programs are produced with static properties.

Lack of specified -s will:
 - generate a Makefile file with NOSANITIZER=
 - build programs that are dependencies with NOSANITIZER=

In future there is an option to handle sanitization in statically linked
programs.

An idea with -s LGTM by 


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/usr.bin/crunch/crunchgen/crunchgen.1
cvs rdiff -u -r1.86 -r1.87 src/usr.bin/crunch/crunchgen/crunchgen.c

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



CVS commit: src/external/mpl/dhcp

2018-06-21 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Jun 21 11:02:48 UTC 2018

Modified Files:
src/external/mpl/dhcp: Makefile.inc

Log Message:
Make building of dhcp compatible with MKSANITIZER

Disable LD flags (-Wl,-Bstatic and -Wl,-Bdynamic) with enabled MKSANITIZER.
These options are incompatible with the current design of sanitizers,
because they cause duplication of symbols into programs and thus symbols
from the interceptors from sanitizers cannot be linked.

This change makes effectively mounting /usr required for dhcp programs like
dhclient(8).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/mpl/dhcp/Makefile.inc

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



CVS commit: src/share/mk

2018-06-21 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Jun 21 11:24:38 UTC 2018

Modified Files:
src/share/mk: bsd.lib.mk bsd.prog.mk bsd.sys.mk

Log Message:
Refactor MKSANITIZER flags in mk rules

Introduce a new variable SANITIZERFLAGS that contains all the sanitizer
specific flags. These flags are designed to be passed to CFLAGS, CXXFLAGS
and LDFLAGS.

Pass SANITIZERFLAGS in bsd.prog.mk rules to CFLAGS, CXXFLAGS and LDFLAGS.

Pass SANITIZERFLAGS in bsd.lib.mk rules to *_pic.a build flags. The *_pic.a
libraries are designed to construct .so libraries. All .so libraries with
few exceptions are expected to be prebuilt with a sanitizer. Another
purpuse of *_pic.a files can be constructing static PIE programs, however
they are not supported as of now and there is no sanitization of static
programs either.

Once MKSTATICPIE will be supported, it will be initially incompatible with
MKSANITIZER.

This change also makes it easier to build other targets like kernel and
kernel modules without userland sanitizers.

No functional change intended for MKSANITIZER=no users.


To generate a diff of this commit:
cvs rdiff -u -r1.374 -r1.375 src/share/mk/bsd.lib.mk
cvs rdiff -u -r1.313 -r1.314 src/share/mk/bsd.prog.mk
cvs rdiff -u -r1.282 -r1.283 src/share/mk/bsd.sys.mk

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



CVS commit: src/distrib/amd64/ramdisks/common

2018-06-21 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Jun 21 11:48:05 UTC 2018

Modified Files:
src/distrib/amd64/ramdisks/common: Makefile.ramdisk

Log Message:
Specify NOSANITIZER in distrib/amd64/ramdisks/common

This option cannot be set in distrib/common/Makefile.distrib as it's too
late, after including  that will set MKSANITIZER.

This makes generation of ramdisk for amd64 with MKSANITIZER=yes successful.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/distrib/amd64/ramdisks/common/Makefile.ramdisk

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



CVS import: src/external/bsd/dhcpcd/dist

2018-06-21 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Thu Jun 21 11:55:20 UTC 2018

Update of /cvsroot/src/external/bsd/dhcpcd/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv29160

Log Message:
Import dhcpcd-7.0.6 with the following changes:
  *  fixed compile issues with prior release
  *  fixed carrier loss not being detected for IPv4
  *  UUID based DUID is used where available and no prior DUID exists 

Status:

Vendor Tag: roy
Release Tags:   dhcpcd-7-0-6

U src/external/bsd/dhcpcd/dist/.arcconfig
U src/external/bsd/dhcpcd/dist/.gitignore
U src/external/bsd/dhcpcd/dist/BUILDING.md
U src/external/bsd/dhcpcd/dist/LICENSE
U src/external/bsd/dhcpcd/dist/Makefile
U src/external/bsd/dhcpcd/dist/Makefile.inc
U src/external/bsd/dhcpcd/dist/README.md
U src/external/bsd/dhcpcd/dist/config-null.mk
U src/external/bsd/dhcpcd/dist/configure
U src/external/bsd/dhcpcd/dist/iconfig.mk
U src/external/bsd/dhcpcd/dist/compat/_strtoi.h
U src/external/bsd/dhcpcd/dist/compat/arc4random.c
U src/external/bsd/dhcpcd/dist/compat/arc4random.h
U src/external/bsd/dhcpcd/dist/compat/bitops.h
U src/external/bsd/dhcpcd/dist/compat/queue.h
U src/external/bsd/dhcpcd/dist/compat/arc4random_uniform.c
U src/external/bsd/dhcpcd/dist/compat/arc4random_uniform.h
U src/external/bsd/dhcpcd/dist/compat/reallocarray.c
U src/external/bsd/dhcpcd/dist/compat/dprintf.c
U src/external/bsd/dhcpcd/dist/compat/dprintf.h
U src/external/bsd/dhcpcd/dist/compat/endian.h
U src/external/bsd/dhcpcd/dist/compat/pidfile.c
U src/external/bsd/dhcpcd/dist/compat/pidfile.h
U src/external/bsd/dhcpcd/dist/compat/reallocarray.h
U src/external/bsd/dhcpcd/dist/compat/strlcpy.c
U src/external/bsd/dhcpcd/dist/compat/strlcpy.h
U src/external/bsd/dhcpcd/dist/compat/strtoi.c
U src/external/bsd/dhcpcd/dist/compat/strtoi.h
U src/external/bsd/dhcpcd/dist/compat/strtou.c
U src/external/bsd/dhcpcd/dist/compat/crypt/hmac.c
U src/external/bsd/dhcpcd/dist/compat/crypt/hmac.h
U src/external/bsd/dhcpcd/dist/compat/crypt/md5.c
U src/external/bsd/dhcpcd/dist/compat/crypt/md5.h
U src/external/bsd/dhcpcd/dist/compat/crypt/sha256.c
U src/external/bsd/dhcpcd/dist/compat/crypt/sha256.h
U src/external/bsd/dhcpcd/dist/src/dhcp.c
U src/external/bsd/dhcpcd/dist/src/GNUmakefile
U src/external/bsd/dhcpcd/dist/src/Makefile
U src/external/bsd/dhcpcd/dist/src/arp.c
U src/external/bsd/dhcpcd/dist/src/arp.h
U src/external/bsd/dhcpcd/dist/src/auth.c
U src/external/bsd/dhcpcd/dist/src/auth.h
U src/external/bsd/dhcpcd/dist/src/bpf.c
U src/external/bsd/dhcpcd/dist/src/bpf.h
U src/external/bsd/dhcpcd/dist/src/common.c
U src/external/bsd/dhcpcd/dist/src/common.h
U src/external/bsd/dhcpcd/dist/src/control.c
U src/external/bsd/dhcpcd/dist/src/control.h
U src/external/bsd/dhcpcd/dist/src/defs.h
U src/external/bsd/dhcpcd/dist/src/dev.c
U src/external/bsd/dhcpcd/dist/src/dev.h
U src/external/bsd/dhcpcd/dist/src/dhcp-common.c
U src/external/bsd/dhcpcd/dist/src/dhcp-common.h
U src/external/bsd/dhcpcd/dist/src/dhcp.h
U src/external/bsd/dhcpcd/dist/src/dhcp6.c
U src/external/bsd/dhcpcd/dist/src/dhcp6.h
U src/external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in
U src/external/bsd/dhcpcd/dist/src/dhcpcd.8.in
U src/external/bsd/dhcpcd/dist/src/dhcpcd-definitions-small.conf
U src/external/bsd/dhcpcd/dist/src/dhcpcd-definitions.conf
U src/external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c.in
U src/external/bsd/dhcpcd/dist/src/dhcpcd-embedded.h.in
C src/external/bsd/dhcpcd/dist/src/dhcpcd.c
U src/external/bsd/dhcpcd/dist/src/dhcpcd.conf
U src/external/bsd/dhcpcd/dist/src/genembedc
U src/external/bsd/dhcpcd/dist/src/dhcpcd.h
U src/external/bsd/dhcpcd/dist/src/duid.c
U src/external/bsd/dhcpcd/dist/src/duid.h
U src/external/bsd/dhcpcd/dist/src/eloop.c
U src/external/bsd/dhcpcd/dist/src/eloop.h
U src/external/bsd/dhcpcd/dist/src/if-linux-wext.c
U src/external/bsd/dhcpcd/dist/src/genembedh
U src/external/bsd/dhcpcd/dist/src/if-bsd.c
U src/external/bsd/dhcpcd/dist/src/if-linux.c
U src/external/bsd/dhcpcd/dist/src/if-options.c
U src/external/bsd/dhcpcd/dist/src/if-options.h
U src/external/bsd/dhcpcd/dist/src/if-sun.c
U src/external/bsd/dhcpcd/dist/src/if.c
U src/external/bsd/dhcpcd/dist/src/if.h
U src/external/bsd/dhcpcd/dist/src/ipv4.c
U src/external/bsd/dhcpcd/dist/src/ipv4.h
U src/external/bsd/dhcpcd/dist/src/ipv4ll.c
U src/external/bsd/dhcpcd/dist/src/ipv4ll.h
U src/external/bsd/dhcpcd/dist/src/ipv6.c
U src/external/bsd/dhcpcd/dist/src/ipv6.h
U src/external/bsd/dhcpcd/dist/src/ipv6nd.c
U src/external/bsd/dhcpcd/dist/src/ipv6nd.h
U src/external/bsd/dhcpcd/dist/src/logerr.c
U src/external/bsd/dhcpcd/dist/src/logerr.h
U src/external/bsd/dhcpcd/dist/src/route.c
U src/external/bsd/dhcpcd/dist/src/route.h
U src/external/bsd/dhcpcd/dist/src/sa.c
U src/external/bsd/dhcpcd/dist/src/sa.h
U src/external/bsd/dhcpcd/dist/src/script.c
U src/external/bsd/dhcpcd/dist/src/script.h
U src/external/bsd/dhcpcd/dist/src/dev/Makefile
U src/external/bsd/dhcpcd/dist/src/dev/udev.c
U src/external/bsd/dhcpcd/dist/hooks/15-timezone
U src/ex

CVS commit: src/sys/arch

2018-06-21 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Jun 21 11:57:05 UTC 2018

Modified Files:
src/sys/arch/aarch64/aarch64: locore.S
src/sys/arch/evbarm/fdt: fdt_machdep.c

Log Message:
* make to work printf() and panic() even before consinit().
* tidy up output for VERBOSE_INIT_ARM.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/aarch64/aarch64/locore.S
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/evbarm/fdt/fdt_machdep.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

2018-06-21 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Thu Jun 21 11:58:23 UTC 2018

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

Log Message:
Sync


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/bsd/dhcpcd/dist/src/dhcpcd.c

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



CVS commit: src/doc

2018-06-21 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Thu Jun 21 12:02:15 UTC 2018

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
Note import of dhcpcd-7.0.6


To generate a diff of this commit:
cvs rdiff -u -r1.1529 -r1.1530 src/doc/3RDPARTY
cvs rdiff -u -r1.2401 -r1.2402 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/dev/pci

2018-06-21 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Jun 21 16:47:07 UTC 2018

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

Log Message:
destroy 'sc_sync_wait' condvar and mutex upon detach


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/pci/ld_virtio.c

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



CVS commit: src/sys/net80211

2018-06-21 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Jun 21 16:53:10 UTC 2018

Modified Files:
src/sys/net80211: ieee80211_input.c

Log Message:
Fix use-after-free, m_cat can free m.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/sys/net80211/ieee80211_input.c

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



CVS commit: src/sys/net80211

2018-06-21 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Jun 21 17:03:45 UTC 2018

Modified Files:
src/sys/net80211: ieee80211_input.c

Log Message:
remove unused arguments


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/net80211/ieee80211_input.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/ata

2018-06-21 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu Jun 21 21:52:15 UTC 2018

Modified Files:
src/sys/dev/ata: sata_subr.c satavar.h

Log Message:
split the port status reporting to new function sata_interpret_det()
so it can be called separately from sata_reset_interface()

do not treat PHY offline as an error, it's pretty normal when there
is no device actually connected

debugging aid for PR kern/52372


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/ata/sata_subr.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/ata/satavar.h

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



CVS commit: src/share/misc

2018-06-21 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Jun 21 22:56:42 UTC 2018

Modified Files:
src/share/misc: acronyms.comp

Log Message:
Add AFP, AMD, ASA, BSDP, DEC, IPL, MDMX, MIPS, PIX, PRU (found on the BeagleBone
Black), XHR.


To generate a diff of this commit:
cvs rdiff -u -r1.201 -r1.202 src/share/misc/acronyms.comp

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

2018-06-21 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Jun 21 23:05:28 UTC 2018

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

Log Message:
Fix invalid free(3) in sysinst(8)

The path variable is assigned with an allocation on the heap with
strdup(3). Later this pointer is changed with strsep(3) and this caused
invalid free(3).

Store the original pointer in a new helper variable opath and pass it to
free(3). With this change, the problem is going away.

Detected with MKSANITIZER=yes with AddressSanitizer.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 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/share/misc

2018-06-21 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Jun 21 23:05:44 UTC 2018

Modified Files:
src/share/misc: acronyms.comp

Log Message:
Amend MIPS, there are multiple stages in a pipeline.


To generate a diff of this commit:
cvs rdiff -u -r1.202 -r1.203 src/share/misc/acronyms.comp

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



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

2018-06-21 Thread D'Arcy J.M. Cain
Module Name:src
Committed By:   darcy
Date:   Fri Jun 22 02:51:17 UTC 2018

Modified Files:
src/sys/arch/amd64/conf: XEN3_DOM0

Log Message:
PR port-xen/50446
With approval from bouyer@ and acceptance, sometimes grudgingly, from
others I have removed the AGP lines from the XEN3_DOM0 config.  I have
left a note in the PR suggesting that if it ever gets a proper fix that
those lines can be considered for re-inclusion.


To generate a diff of this commit:
cvs rdiff -u -r1.151 -r1.152 src/sys/arch/amd64/conf/XEN3_DOM0

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



CVS commit: src/sys

2018-06-21 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Jun 22 04:17:42 UTC 2018

Modified Files:
src/sys/arch/acorn32/podulebus: if_ie.c
src/sys/arch/amiga/dev: if_es.c if_qn.c
src/sys/arch/arm/at91: at91emac.c
src/sys/arch/arm/ep93xx: epe.c
src/sys/arch/emips/ebus: if_le_ebus.c
src/sys/arch/mac68k/dev: if_mc.c
src/sys/arch/macppc/dev: am79c950.c
src/sys/arch/newsmips/apbus: if_sn.c
src/sys/arch/next68k/dev: mb8795.c
src/sys/arch/playstation2/dev: if_smap.c
src/sys/arch/sun2/dev: if_ec.c
src/sys/arch/sun3/dev: if_ie.c
src/sys/arch/x68k/dev: if_ne_intio.c
src/sys/arch/xen/xen: if_xennet_xenbus.c xennetback_xenbus.c
src/sys/dev/bi: if_ni.c
src/sys/dev/cadence: if_cemac.c
src/sys/dev/ic: am7990.c am79900.c an.c cs89x0.c dm9000.c dp8390.c
elink3.c elinkxl.c hme.c i82586.c lance.c mb86950.c mb86960.c
mtd803.c pdq_ifsubr.c rrunner.c seeq8005.c sgec.c smc90cx6.c
smc91cxx.c tropic.c wi.c
src/sys/dev/isa: if_eg.c if_el.c if_iy.c
src/sys/dev/ofw: ofnet.c
src/sys/dev/pci: if_de.c if_fpa.c if_jme.c if_tl.c if_vte.c
src/sys/dev/pcmcia: if_cnw.c if_ray.c if_xi.c mhzc.c xirc.c
src/sys/dev/qbus: if_de.c if_qe.c if_qt.c
src/sys/dev/sbus: be.c qe.c
src/sys/dev/scsipi: if_se.c
src/sys/dev/usb: if_atu.c

Log Message:
 It's not required to include net/bpfdesc.h. Remove it.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/acorn32/podulebus/if_ie.c
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/amiga/dev/if_es.c
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/amiga/dev/if_qn.c
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/arm/at91/at91emac.c
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/arm/ep93xx/epe.c
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/emips/ebus/if_le_ebus.c
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/mac68k/dev/if_mc.c
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/macppc/dev/am79c950.c
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/newsmips/apbus/if_sn.c
cvs rdiff -u -r1.58 -r1.59 src/sys/arch/next68k/dev/mb8795.c
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/playstation2/dev/if_smap.c
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/sun2/dev/if_ec.c
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/sun3/dev/if_ie.c
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/x68k/dev/if_ne_intio.c
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/xen/xen/if_xennet_xenbus.c
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/xen/xen/xennetback_xenbus.c
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/bi/if_ni.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/cadence/if_cemac.c
cvs rdiff -u -r1.77 -r1.78 src/sys/dev/ic/am7990.c
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/ic/am79900.c src/sys/dev/ic/mb86950.c
cvs rdiff -u -r1.66 -r1.67 src/sys/dev/ic/an.c
cvs rdiff -u -r1.39 -r1.40 src/sys/dev/ic/cs89x0.c
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/ic/dm9000.c
cvs rdiff -u -r1.87 -r1.88 src/sys/dev/ic/dp8390.c
cvs rdiff -u -r1.140 -r1.141 src/sys/dev/ic/elink3.c
cvs rdiff -u -r1.121 -r1.122 src/sys/dev/ic/elinkxl.c
cvs rdiff -u -r1.97 -r1.98 src/sys/dev/ic/hme.c
cvs rdiff -u -r1.76 -r1.77 src/sys/dev/ic/i82586.c
cvs rdiff -u -r1.52 -r1.53 src/sys/dev/ic/lance.c
cvs rdiff -u -r1.85 -r1.86 src/sys/dev/ic/mb86960.c src/sys/dev/ic/rrunner.c
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/ic/mtd803.c
cvs rdiff -u -r1.58 -r1.59 src/sys/dev/ic/pdq_ifsubr.c
cvs rdiff -u -r1.57 -r1.58 src/sys/dev/ic/seeq8005.c
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/ic/sgec.c
cvs rdiff -u -r1.71 -r1.72 src/sys/dev/ic/smc90cx6.c
cvs rdiff -u -r1.95 -r1.96 src/sys/dev/ic/smc91cxx.c
cvs rdiff -u -r1.48 -r1.49 src/sys/dev/ic/tropic.c
cvs rdiff -u -r1.244 -r1.245 src/sys/dev/ic/wi.c
cvs rdiff -u -r1.92 -r1.93 src/sys/dev/isa/if_eg.c
cvs rdiff -u -r1.94 -r1.95 src/sys/dev/isa/if_el.c
cvs rdiff -u -r1.100 -r1.101 src/sys/dev/isa/if_iy.c
cvs rdiff -u -r1.57 -r1.58 src/sys/dev/ofw/ofnet.c
cvs rdiff -u -r1.151 -r1.152 src/sys/dev/pci/if_de.c
cvs rdiff -u -r1.60 -r1.61 src/sys/dev/pci/if_fpa.c
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/pci/if_jme.c
cvs rdiff -u -r1.107 -r1.108 src/sys/dev/pci/if_tl.c
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/pci/if_vte.c
cvs rdiff -u -r1.61 -r1.62 src/sys/dev/pcmcia/if_cnw.c
cvs rdiff -u -r1.88 -r1.89 src/sys/dev/pcmcia/if_ray.c
cvs rdiff -u -r1.80 -r1.81 src/sys/dev/pcmcia/if_xi.c
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/pcmcia/mhzc.c
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/pcmcia/xirc.c
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/qbus/if_de.c
cvs rdiff -u -r1.77 -r1.78 src/sys/dev/qbus/if_qe.c
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/qbus/if_qt.c
cvs rdiff -u -r1.86 -r1.87 src/sys/dev/sbus/be.c
cvs rdiff -u -r1.67 -r1.68 src/sys/dev/sbus/qe.c
cvs rdiff -u -r1.95 -r1.96 src/sys/dev/scsipi/if_se.c
cvs rdiff -u -r1.58 -r1.59 src/sys/dev/usb/if_atu.c

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



CVS commit: src/sys

2018-06-21 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Jun 22 04:41:57 UTC 2018

Modified Files:
src/sys/arch/emips/ebus: if_le_ebus.c
src/sys/arch/playstation2/dev: if_smap.c
src/sys/dev/ic: dm9000.c

Log Message:
 Simplify like other drivers. NULL check of ifp->if_bpf is done in
bpf_mtap(), so it's not required to do it here.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/emips/ebus/if_le_ebus.c
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/playstation2/dev/if_smap.c
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/ic/dm9000.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-06-21 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Jun 22 06:22:37 UTC 2018

Modified Files:
src/sys/arch/x86/include: fpu.h
src/sys/arch/x86/x86: cpu.c fpu.c
src/sys/arch/xen/x86: cpu.c

Log Message:
Revert jdolecek's changes related to FXSAVE. They just didn't make any
sense and were trying to hide a real bug, which is, that there is for some
reason a wrong stack alignment that causes FXSAVE to fault in
fpuinit_mxcsr_mask. As seen in current-users@ yesterday, rdi % 16 = 8. And
as seen several months ago, as well.

The rest of the changes in XSAVE are wrong too, but I'll let him fix these
ones.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x86/include/fpu.h
cvs rdiff -u -r1.157 -r1.158 src/sys/arch/x86/x86/cpu.c
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/x86/x86/fpu.c
cvs rdiff -u -r1.119 -r1.120 src/sys/arch/xen/x86/cpu.c

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