CVS commit: src/sys/netinet6

2018-02-01 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Feb  2 06:23:45 UTC 2018

Modified Files:
src/sys/netinet6: ip6_mroute.c

Log Message:
Fix a pretty simple, yet pretty tragic typo: we should return IPPROTO_DONE,
not IPPROTO_NONE. With IPPROTO_NONE we will keep parsing the header chain
on an mbuf that was already freed.


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 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/external/gpl3/gcc/dist

2018-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  2 03:41:13 UTC 2018

Modified Files:
src/external/gpl3/gcc/dist: LAST_UPDATED MD5SUMS NEWS config.guess
config.sub configure configure.ac
src/external/gpl3/gcc/dist/INSTALL: binaries.html build.html
configure.html download.html finalinstall.html gfdl.html index.html
old.html prerequisites.html specific.html test.html
src/external/gpl3/gcc/dist/gcc: ChangeLog Makefile.in alias.c
auto-profile.c builtins.c cfgexpand.c common.opt config.gcc
config.host configure configure.ac cppdefault.c debug.h
diagnostic.c dse.c dwarf2out.c except.c expr.c final.c gcc.c gcc.h
genemit.c gengtype-lex.c genmultilib genrecog.c ggc-common.c
graphite-isl-ast-to-gimple.c hwint.h opts-global.c opts.c output.h
reload.c reload1.c rtlanal.c system.h target-def.h targhooks.c
toplev.c tree-cfg.c tree-ssa-ccp.c var-tracking.c varasm.c
src/external/gpl3/gcc/dist/gcc/c: Make-lang.in
src/external/gpl3/gcc/dist/gcc/c-family: c-format.c c-format.h c-opts.c
c.opt
src/external/gpl3/gcc/dist/gcc/common/config/arm: arm-common.c
src/external/gpl3/gcc/dist/gcc/config: freebsd-spec.h netbsd-elf.h
netbsd.h t-linux
src/external/gpl3/gcc/dist/gcc/config/alpha: alpha.h elf.h netbsd.h
src/external/gpl3/gcc/dist/gcc/config/arc: arc-modes.def arc-protos.h
arc.c arc.h arc.md arc.opt
src/external/gpl3/gcc/dist/gcc/config/arm: arm-cores.def arm.c arm.h
arm.md bpabi.h elf.h freebsd.h netbsd-elf.h t-arm t-rtems thumb2.md
src/external/gpl3/gcc/dist/gcc/config/i386: cpuid.h driver-i386.c
i386.c i386.h netbsd-elf.h netbsd64.h pmm_malloc.h
src/external/gpl3/gcc/dist/gcc/config/m68k: constraints.md m68k.c
m68k.md netbsd-elf.h t-opts
src/external/gpl3/gcc/dist/gcc/config/mips: mips.c netbsd.h t-mips
src/external/gpl3/gcc/dist/gcc/config/pa: pa.c pa.h
src/external/gpl3/gcc/dist/gcc/config/rs6000: netbsd.h ppc-asm.h
rs6000.c sysv4.h t-netbsd t-rs6000 vxworksae.h
src/external/gpl3/gcc/dist/gcc/config/sh: netbsd-elf.h sh.c t-sh
src/external/gpl3/gcc/dist/gcc/config/sparc: constraints.md
netbsd-elf.h predicates.md sparc.md sync.md
src/external/gpl3/gcc/dist/gcc/config/vax: builtins.md constraints.md
elf.h netbsd-elf.h vax-protos.h vax.c vax.h vax.md
src/external/gpl3/gcc/dist/gcc/cp: Make-lang.in cfns.gperf cfns.h
except.c
src/external/gpl3/gcc/dist/gcc/doc: aot-compile.1 cpp.1 cpp.texi
cppenv.texi cppinternals.info cppopts.texi fsf-funding.7
gc-analyze.1 gccinstall.info gccint.info gcj-dbtool.1 gcj.1
gcj.info gcov.texi gfdl.7 gfortran.1 gij.1 gpl.7 grmic.1
invoke.texi jcf-dump.1 jv-convert.1 rebuild-gcj-db.1
src/external/gpl3/gcc/dist/gcc/ginclude: stddef.h unwind-arm-common.h
src/external/gpl3/gcc/dist/gcc/objc: Make-lang.in
src/external/gpl3/gcc/dist/gcc/objcp: Make-lang.in
src/external/gpl3/gcc/dist/include: objalloc.h
src/external/gpl3/gcc/dist/intl: configure
src/external/gpl3/gcc/dist/libbacktrace: configure
src/external/gpl3/gcc/dist/libcpp: Makefile.in configure configure.ac
files.c init.c internal.h lex.c macro.c
src/external/gpl3/gcc/dist/libcpp/include: cpplib.h
src/external/gpl3/gcc/dist/libdecnumber: configure
src/external/gpl3/gcc/dist/libgcc: Makefile.in config.host configure
unwind-compat.c unwind-dw2-fde-dip.c unwind-dw2-fde.c unwind-dw2.c
unwind-generic.h unwind-seh.c unwind-sjlj.c
src/external/gpl3/gcc/dist/libgcc/config/alpha: qrnnd.S
src/external/gpl3/gcc/dist/libgcc/config/arm: pr-support.c
src/external/gpl3/gcc/dist/libgcc/config/c6x: pr-support.c
src/external/gpl3/gcc/dist/libgcc/config/cr16: unwind-cr16.c
src/external/gpl3/gcc/dist/libgcc/config/i386: morestack.S
src/external/gpl3/gcc/dist/libgcc/config/ia64: unwind-ia64.c
src/external/gpl3/gcc/dist/libgcc/config/m68k: lb1sf68.S
src/external/gpl3/gcc/dist/libgcc/config/xtensa: unwind-dw2-xtensa.c
src/external/gpl3/gcc/dist/libgomp: Makefile.am Makefile.in configure
configure.ac libgomp.info
src/external/gpl3/gcc/dist/libiberty: Makefile.in config.in configure
configure.ac floatformat.c
src/external/gpl3/gcc/dist/libobjc: configure encoding.c hash.c
objects.c sendmsg.c
src/external/gpl3/gcc/dist/libsanitizer: configure configure.tgt
src/external/gpl3/gcc/dist/libsanitizer/asan: asan_interceptors.cc
asan_interceptors.h asan_internal.h asan_linux.cc asan_mapping.h
asan_posix.cc asan_rtl.cc asan_stack.h
src/external

CVS commit: src

2018-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  2 01:02:42 UTC 2018

Modified Files:
src/bin/expr: Makefile
src/distrib/sets/lists/base: ad.mips shl.mi
src/distrib/sets/lists/comp: ad.arm ad.hppa ad.m68k ad.mips ad.powerpc
ad.riscv ad.sh3 md.alpha md.amd64 md.hppa md.i386 md.or1k md.sparc
md.sparc64 md.vax mi shl.mi
src/distrib/sets/lists/debug: ad.mips mi shl.mi
src/external/bsd/dhcpcd/sbin/dhcpcd: Makefile
src/external/bsd/ntp/bin/ntpd: Makefile
src/external/bsd/ntp/lib/libiscntp: Makefile
src/external/bsd/ntp/lib/libntp: Makefile
src/external/bsd/ntp/lib/libopts: Makefile
src/external/gpl2/libmalloc/lib: Makefile
src/external/mit/xorg/lib/libXft: Makefile
src/external/mit/xorg/server/drivers/xf86-video-nouveau: Makefile
src/external/mit/xorg/server/drivers/xf86-video-openchrome: Makefile
src/external/mit/xorg/server/drivers/xf86-video-siliconmotion: Makefile
src/external/mit/xorg/server/drivers/xf86-video-sis: Makefile
src/external/mit/xorg/server/drivers/xf86-video-suncg6: Makefile
src/external/mit/xorg/server/drivers/xf86-video-sunffb: Makefile
src/external/mit/xorg/server/xorg-server/hw/xfree86/common: Makefile
src/share/mk: bsd.own.mk bsd.sys.mk
src/sys/arch/i386/stand/lib: Makefile
src/sys/arch/sun68k/stand/libsa: Makefile
src/tools/gcc: Makefile README.mknative

Log Message:
convert HAVE_GCC handling to modern GCC release numbering:
- HAVE_GCC=5 is now the default (vs. HAVE_GCC=53 we've been using for
  GCC 5.4 and GCC 5.5.)
- remove some more GCC 4.8 code.  we don't support GCC 4 here.
- adjust set lists to gcc=5 from gcc=53.

add some basic HAVE_GCC=6 handling (totally unused so far.)


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/bin/expr/Makefile
cvs rdiff -u -r1.74 -r1.75 src/distrib/sets/lists/base/ad.mips
cvs rdiff -u -r1.825 -r1.826 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.81 -r1.82 src/distrib/sets/lists/comp/ad.arm
cvs rdiff -u -r1.10 -r1.11 src/distrib/sets/lists/comp/ad.hppa
cvs rdiff -u -r1.53 -r1.54 src/distrib/sets/lists/comp/ad.m68k
cvs rdiff -u -r1.70 -r1.71 src/distrib/sets/lists/comp/ad.mips
cvs rdiff -u -r1.87 -r1.88 src/distrib/sets/lists/comp/ad.powerpc
cvs rdiff -u -r1.7 -r1.8 src/distrib/sets/lists/comp/ad.riscv \
src/distrib/sets/lists/comp/md.hppa
cvs rdiff -u -r1.35 -r1.36 src/distrib/sets/lists/comp/ad.sh3
cvs rdiff -u -r1.71 -r1.72 src/distrib/sets/lists/comp/md.alpha
cvs rdiff -u -r1.252 -r1.253 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.175 -r1.176 src/distrib/sets/lists/comp/md.i386
cvs rdiff -u -r1.3 -r1.4 src/distrib/sets/lists/comp/md.or1k
cvs rdiff -u -r1.90 -r1.91 src/distrib/sets/lists/comp/md.sparc
cvs rdiff -u -r1.197 -r1.198 src/distrib/sets/lists/comp/md.sparc64
cvs rdiff -u -r1.44 -r1.45 src/distrib/sets/lists/comp/md.vax
cvs rdiff -u -r1.2172 -r1.2173 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.310 -r1.311 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.65 -r1.66 src/distrib/sets/lists/debug/ad.mips
cvs rdiff -u -r1.237 -r1.238 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.188 -r1.189 src/distrib/sets/lists/debug/shl.mi
cvs rdiff -u -r1.42 -r1.43 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile
cvs rdiff -u -r1.21 -r1.22 src/external/bsd/ntp/bin/ntpd/Makefile
cvs rdiff -u -r1.14 -r1.15 src/external/bsd/ntp/lib/libiscntp/Makefile
cvs rdiff -u -r1.19 -r1.20 src/external/bsd/ntp/lib/libntp/Makefile
cvs rdiff -u -r1.14 -r1.15 src/external/bsd/ntp/lib/libopts/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/gpl2/libmalloc/lib/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/lib/libXft/Makefile
cvs rdiff -u -r1.6 -r1.7 \
src/external/mit/xorg/server/drivers/xf86-video-nouveau/Makefile
cvs rdiff -u -r1.12 -r1.13 \
src/external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile
cvs rdiff -u -r1.11 -r1.12 \
src/external/mit/xorg/server/drivers/xf86-video-siliconmotion/Makefile
cvs rdiff -u -r1.15 -r1.16 \
src/external/mit/xorg/server/drivers/xf86-video-sis/Makefile
cvs rdiff -u -r1.9 -r1.10 \
src/external/mit/xorg/server/drivers/xf86-video-suncg6/Makefile
cvs rdiff -u -r1.13 -r1.14 \
src/external/mit/xorg/server/drivers/xf86-video-sunffb/Makefile
cvs rdiff -u -r1.31 -r1.32 \
src/external/mit/xorg/server/xorg-server/hw/xfree86/common/Makefile
cvs rdiff -u -r1.1029 -r1.1030 src/share/mk/bsd.own.mk
cvs rdiff -u -r1.274 -r1.275 src/share/mk/bsd.sys.mk
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/i386/stand/lib/Makefile
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/sun68k/stand/libsa/Makefile
cvs rdiff -u -r1.83 -r1.84 src/tools/gcc/Makefile
cvs rdiff -u -r1.21 -r1.22 src/tools/gcc/README.mknative

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



CVS commit: src/sys/arch/sparc/sparc

2018-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Feb  1 22:58:44 UTC 2018

Modified Files:
src/sys/arch/sparc/sparc: cpu.c

Log Message:
"save fp ipi" is an interrupt type counter, mark it so.


To generate a diff of this commit:
cvs rdiff -u -r1.252 -r1.253 src/sys/arch/sparc/sparc/cpu.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/macppc/conf

2018-02-01 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Feb  1 21:47:07 UTC 2018

Modified Files:
src/sys/arch/macppc/conf: POWERMAC_G5_11_2

Log Message:
add dstemp at iic


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/macppc/conf/POWERMAC_G5_11_2

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



CVS commit: src/sys/dev/i2c

2018-02-01 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Feb  1 21:44:18 UTC 2018

Modified Files:
src/sys/dev/i2c: files.i2c
Added Files:
src/sys/dev/i2c: dstemp.c

Log Message:
add driver for Maxim DS1631 High-Precision Digital Thermometer and Thermostat
temperature reading only for now


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/dev/i2c/dstemp.c
cvs rdiff -u -r1.81 -r1.82 src/sys/dev/i2c/files.i2c

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



CVS commit: src/external/gpl3/gcc/usr.bin/include

2018-02-01 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Feb  1 21:10:46 UTC 2018

Modified Files:
src/external/gpl3/gcc/usr.bin/include: Makefile
Added Files:
src/external/gpl3/gcc/usr.bin/include/sanitizer: Makefile

Log Message:
Install GCC (gcc) headers for Sanitizers

Sync this code with gcc.old.

PR 52265 by Kamil Rytarowski

Proposed and accepted on tech-toolchain@.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/include/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/include/sanitizer/Makefile

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



CVS commit: src

2018-02-01 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Feb  1 20:50:23 UTC 2018

Modified Files:
src/distrib/sets/lists/base: mi
src/distrib/sets/lists/comp: mi
src/etc/mtree: NetBSD.dist.base
src/external/gpl3/gcc.old/usr.bin/include: Makefile
Added Files:
src/external/gpl3/gcc.old/usr.bin/include/sanitizer: Makefile

Log Message:
Install GCC (gcc.old/) headers for Sanitizers

Install:
 - allocator_interface.h
 - asan_interface.h
 - common_interface_defs.h
 - tsan_interface_atomic.h

Into:
 - /usr/include/gcc-5/sanitizer

Note headers in a comment headers for introduction in future:
 - dfsan_interface.h
 - lsan_interface.h
 - msan_interface.h

Skip a file that will never be relevant on NetBSD:
 - linux_syscall_hooks.h

PR 52265 by Kamil Rytarowski

Proposed and accepted on tech-toolchain@.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.1170 -r1.1171 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.2171 -r1.2172 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.167 -r1.168 src/etc/mtree/NetBSD.dist.base
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc.old/usr.bin/include/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc.old/usr.bin/include/sanitizer/Makefile

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



CVS commit: src/sys/fs/nfs/common

2018-02-01 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Feb  1 17:22:45 UTC 2018

Modified Files:
src/sys/fs/nfs/common: nfsport.h

Log Message:
Remove unused (and a reference to ovbcopy along the way).


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/fs/nfs/common/nfsport.h

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



CVS commit: src/sys/netipsec

2018-02-01 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Feb  1 17:16:11 UTC 2018

Modified Files:
src/sys/netipsec: ipsec_mbuf.c

Log Message:
Replace ovbcopy -> memmove, same.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/netipsec/ipsec_mbuf.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

2018-02-01 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Feb  1 16:49:35 UTC 2018

Modified Files:
src/sys/dev/ic: arn5008.c arn9003.c
src/sys/dev/usb: if_athn_usb.c if_run.c

Log Message:
Replace ovbcopy -> memmove, same.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/ic/arn5008.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/ic/arn9003.c
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/usb/if_athn_usb.c \
src/sys/dev/usb/if_run.c

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



CVS commit: src/sys/netinet6

2018-02-01 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Feb  1 16:36:01 UTC 2018

Modified Files:
src/sys/netinet6: scope6.c

Log Message:
Style, no real functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/netinet6/scope6.c

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



CVS commit: src/sys/netinet6

2018-02-01 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Feb  1 16:23:28 UTC 2018

Modified Files:
src/sys/netinet6: route6.c

Log Message:
Remove this code, RH0 must be dropped, according to RFC5095. FreeBSD and
OpenBSD already do the same. Also, style, and remove useless includes.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/netinet6/route6.c

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



CVS commit: src/sys/netinet6

2018-02-01 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Feb  1 16:17:00 UTC 2018

Modified Files:
src/sys/netinet6: route6.c

Log Message:
Fix the ICMP error code. rh was obtained via IP6_EXTHDR_GET, and it is not
guaranteed to be in the same mbuf as ip6, so computing the difference
between the pointers may result in a wrong offset.

ip6 is now unused, so remove it.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/netinet6/route6.c

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



CVS commit: src/sys/netinet6

2018-02-01 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Feb  1 15:53:16 UTC 2018

Modified Files:
src/sys/netinet6: raw_ip6.c

Log Message:
Fix use-after-free, the first m_copyback_cow may have freed the mbuf, so
it is wrong to read ip6->ip6_nxt.


To generate a diff of this commit:
cvs rdiff -u -r1.160 -r1.161 src/sys/netinet6/raw_ip6.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/sunxi

2018-02-01 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Feb  1 14:50:36 UTC 2018

Modified Files:
src/sys/arch/arm/sunxi: sun6i_spi.c

Log Message:
wait at most one second for controller to complete reset


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sun6i_spi.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-02-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Feb  1 12:09:19 UTC 2018

Modified Files:
src/doc: 3RDPARTY

Log Message:
gdb-8.1 out.


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

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



CVS commit: src/sys

2018-02-01 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Feb  1 09:55:37 UTC 2018

Modified Files:
src/sys/dev/usb: ohci.c xhci.c
src/sys/external/bsd/dwc2: dwc2.c

Log Message:
 Fix KASSERT panic. When detaching USB host controoler, the following panic
occured:
kernel diagnostic assertion "sc->sc_intrxfer == xfer" failed: file 
"../../../../dev/usb/ohci.c", line 1720
Clear sc_intrxfer correctly. Adviced by Nick and tested by me.


To generate a diff of this commit:
cvs rdiff -u -r1.277 -r1.278 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.84 -r1.85 src/sys/dev/usb/xhci.c
cvs rdiff -u -r1.47 -r1.48 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: src/sys/dev/usb

2018-02-01 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Feb  1 09:50:48 UTC 2018

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

Log Message:
 Mark DVF_DETACH_SHUTDOWN to USB root HUB. This change makes USB host
controller drivers detachable. OK'd by Nick.


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/sys/dev/usb/uhub.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-02-01 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Feb  1 09:47:47 UTC 2018

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

Log Message:
- Fix panic on shutdown reported by ozaki-r in PR kern/52961. Use callot_halt()
  correctly. Tested by me and OK'd by Nick.
- Disable interrupt in och_shutdown() to prevent hangup. OK'd by Nick.


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

2018-02-01 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Feb  1 09:09:14 UTC 2018

Modified Files:
src/sys/dev/pci: pci_subr.c pcireg.h

Log Message:
- Add PCie Link Activation ECN.
- Use macro.
- KNF.


To generate a diff of this commit:
cvs rdiff -u -r1.199 -r1.200 src/sys/dev/pci/pci_subr.c
cvs rdiff -u -r1.136 -r1.137 src/sys/dev/pci/pcireg.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/pci

2018-02-01 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Feb  1 08:18:47 UTC 2018

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

Log Message:
Cleanup:
- Don't pass a capability pointer as a argument of pci_conf_find_cap() and
  determine the first pointer in the pci_conf_find_cap() function.
- Don't pass a capability pointer as a argument of pci_conf_find_extcap()
  because it's not used.
- Remove unsed code.


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/sys/dev/pci/pci_subr.c

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