CVS commit: src/sys/dev/ic

2019-12-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Dec  4 08:12:03 UTC 2019

Modified Files:
src/sys/dev/ic: gem.c

Log Message:
 Rename ifm to ife for struct ifmedia_entry *. No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/sys/dev/ic/gem.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/ic

2019-12-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Dec  4 08:21:43 UTC 2019

Modified Files:
src/sys/dev/ic: gem.c

Log Message:
>From OpenBSD:
 - Fix error message.
 - Whitespace fix.


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/sys/dev/ic/gem.c

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



CVS commit: src/etc/root

2019-12-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Dec  4 08:21:50 UTC 2019

Modified Files:
src/etc/root: dot.cshrc

Log Message:
remove no longer existing gnu/* from cdpath.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/etc/root/dot.cshrc

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

2019-12-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Dec  4 09:03:45 UTC 2019

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

Log Message:
 Simplify. No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.649 -r1.650 src/sys/dev/pci/if_wm.c

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



CVS commit: src/distrib/notes/common

2019-12-04 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Dec  4 09:03:34 UTC 2019

Modified Files:
src/distrib/notes/common: main

Log Message:
For HEAD builds, add a small "bleeding edge" warning when we talk about
a rock solid OS.


To generate a diff of this commit:
cvs rdiff -u -r1.557 -r1.558 src/distrib/notes/common/main

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



CVS commit: src/distrib/notes/common

2019-12-04 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Dec  4 09:25:43 UTC 2019

Modified Files:
src/distrib/notes/common: main

Log Message:
Fix some typos.


To generate a diff of this commit:
cvs rdiff -u -r1.558 -r1.559 src/distrib/notes/common/main

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



CVS commit: src/sys

2019-12-04 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Dec  4 09:34:13 UTC 2019

Modified Files:
src/sys/external/bsd/drm2/dist/drm/vmwgfx: vmwgfx_kms.c
src/sys/kern: kern_cpu.c

Log Message:
Fix typo in comment (typlogy)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_kms.c
cvs rdiff -u -r1.80 -r1.81 src/sys/kern/kern_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/modules/dtrace

2019-12-04 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Dec  4 10:12:47 UTC 2019

Modified Files:
src/sys/modules/dtrace: Makefile

Log Message:
Add syscall_linux back for other arm architectures (accidently removed
in previous)


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/modules/dtrace/Makefile

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



CVS commit: src/usr.bin/mkubootimage

2019-12-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Dec  4 11:21:34 UTC 2019

Modified Files:
src/usr.bin/mkubootimage: mkubootimage.1 mkubootimage.c

Log Message:
Add -u flag for updating headers in place.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/mkubootimage/mkubootimage.1
cvs rdiff -u -r1.24 -r1.25 src/usr.bin/mkubootimage/mkubootimage.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/aarch64

2019-12-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Dec  4 11:24:31 UTC 2019

Modified Files:
src/sys/arch/aarch64/aarch64: start.S
src/sys/arch/aarch64/conf: Makefile.aarch64

Log Message:
Fix alignment of .text section by changing load address to
0xffc0 and adding 64 bytes of padding before the entry point.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/aarch64/aarch64/start.S
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/aarch64/conf/Makefile.aarch64

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

2019-12-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Dec  4 11:25:04 UTC 2019

Modified Files:
src/sys/arch/evbarm/conf: mk.generic64

Log Message:
Update arm64 image header in place


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/conf/mk.generic64

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



CVS commit: src/distrib/sets/lists/modules

2019-12-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Dec  4 11:47:17 UTC 2019

Modified Files:
src/distrib/sets/lists/modules: ad.arm md.amd64 md.i386 mi

Log Message:
Move dtrace_syscall_linux out of mi set list


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/distrib/sets/lists/modules/ad.arm
cvs rdiff -u -r1.81 -r1.82 src/distrib/sets/lists/modules/md.amd64
cvs rdiff -u -r1.82 -r1.83 src/distrib/sets/lists/modules/md.i386
cvs rdiff -u -r1.127 -r1.128 src/distrib/sets/lists/modules/mi

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



CVS commit: src/share/mk

2019-12-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Dec  4 11:47:52 UTC 2019

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
Enable DTrace on aarch64


To generate a diff of this commit:
cvs rdiff -u -r1.1167 -r1.1168 src/share/mk/bsd.own.mk

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



CVS commit: src/distrib/notes/common

2019-12-04 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Wed Dec  4 13:04:09 UTC 2019

Modified Files:
src/distrib/notes/common: main

Log Message:
"Administrivia" is a real word and it was used here on purpose.


To generate a diff of this commit:
cvs rdiff -u -r1.559 -r1.560 src/distrib/notes/common/main

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/aarch64

2019-12-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Dec  4 13:47:03 UTC 2019

Modified Files:
src/sys/arch/aarch64/aarch64: TODO

Log Message:
remove DTrace from TODO list


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

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



CVS commit: src/sys/sys

2019-12-04 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Wed Dec  4 13:52:27 UTC 2019

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

Log Message:
Register "PT_STOP" in ptrace PT_STRINGS


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/sys/ptrace.h

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



CVS commit: src/usr.bin/mkubootimage

2019-12-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Dec  4 14:09:47 UTC 2019

Modified Files:
src/usr.bin/mkubootimage: mkubootimage.c

Log Message:
Fix signed/unsigned comparison


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/mkubootimage/mkubootimage.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/dm

2019-12-04 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Wed Dec  4 15:31:12 UTC 2019

Modified Files:
src/sys/dev/dm: device-mapper.c dm_dev.c dm_ioctl.c dm_pdev.c
dm_table.c dm_target.c

Log Message:
dm: style + whitespace + indentation fixes

No functional changes.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/dm/device-mapper.c
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/dm/dm_dev.c
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/dm/dm_ioctl.c
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/dm/dm_pdev.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/dm/dm_table.c
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/dm/dm_target.c

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



CVS commit: src/etc/rc.d

2019-12-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Dec  4 16:46:50 UTC 2019

Modified Files:
src/etc/rc.d: zfs

Log Message:
Add missing rcvar=$name


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/etc/rc.d/zfs

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



CVS commit: src/sys/dev/dm

2019-12-04 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Wed Dec  4 16:54:03 UTC 2019

Modified Files:
src/sys/dev/dm: dm.h

Log Message:
dm: Comment out unused dm_dev fields documented in sys/dev/dm/doc


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/dm/dm.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/dm

2019-12-04 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Wed Dec  4 16:55:30 UTC 2019

Modified Files:
src/sys/dev/dm: device-mapper.c dm_pdev.c

Log Message:
dm: Minor fixes/cleanups


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/dm/device-mapper.c
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/dm/dm_pdev.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/acpi/wmi

2019-12-04 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Wed Dec  4 19:51:32 UTC 2019

Modified Files:
src/sys/dev/acpi/wmi: wmi_dell.c

Log Message:
Finally fix problem discussed in this old thread:
http://mail-index.netbsd.org/tech-kern/2017/12/03/msg022661.html

Dell's radio hotkey sends a PMFE_RADIO_TOGGLE event, but nothing actually
listen to it.
Turn it into a PSWITCH_HK_WIRELESS_BUTTON hotkey, similar to
what thinkpad_acpi.c does.
Add type/subtypes seen on a Dell lattitude 5480 laptop.
XXX we need a PMFE_AUDIO_MICRO_TOGGLE, and something to handle it.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/acpi/wmi/wmi_dell.c

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



CVS commit: src/etc

2019-12-04 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Dec  4 21:53:21 UTC 2019

Modified Files:
src/etc/etc.amd64: boot.cfg
src/etc/etc.i386: boot.cfg

Log Message:
Make use of the pcidevs database by default.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/etc/etc.amd64/boot.cfg
cvs rdiff -u -r1.6 -r1.7 src/etc/etc.i386/boot.cfg

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



CVS commit: src

2019-12-04 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Dec  4 23:35:36 UTC 2019

Modified Files:
src/lib/libc/sys: modctl.2
src/sbin/modstat: modstat.8

Log Message:
Note that the size returned by modctl(2) and displayed by modstat(8) is
only for the module's text section, not for the entire size of the module.

Addresses PR kern-54737


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/sys/modctl.2
cvs rdiff -u -r1.23 -r1.24 src/sbin/modstat/modstat.8

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/imx/fdt

2019-12-04 Thread Kenichi Hashimoto
Module Name:src
Committed By:   hkenken
Date:   Thu Dec  5 00:31:14 UTC 2019

Modified Files:
src/sys/arch/arm/imx/fdt: imx6_pcie.c

Log Message:
Remove unnecessary code.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/imx/fdt/imx6_pcie.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

2019-12-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Dec  5 03:11:41 UTC 2019

Modified Files:
src/sys/dev/ic: awi.c wi.c
src/sys/dev/usb: if_atu.c

Log Message:
 Remove SIOC[GS]IFMEDIA because ieee80211_ioctl() does the same thing.


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/dev/ic/awi.c
cvs rdiff -u -r1.253 -r1.254 src/sys/dev/ic/wi.c
cvs rdiff -u -r1.67 -r1.68 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/arch/mips/adm5120/dev

2019-12-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Dec  5 03:15:20 UTC 2019

Modified Files:
src/sys/arch/mips/adm5120/dev: if_admsw.c

Log Message:
 Do SIOC[GS]IFMEDIA like others. Not tested.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/mips/adm5120/dev/if_admsw.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

2019-12-04 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Dec  5 03:21:08 UTC 2019

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

Log Message:
Allow equality in this assertion.

This can happen if we lose the race mentioned in percpu_cpu_swap.


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

2019-12-04 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Dec  5 03:21:29 UTC 2019

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

Log Message:
Switch psz_ev_excl to static evcnt.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/kern/subr_pserialize.c

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



CVS commit: src/sys

2019-12-04 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Dec  5 03:22:03 UTC 2019

Modified Files:
src/sys/conf: files
Removed Files:
src/sys/crypto/arc4: arc4.c arc4.h files.arc4

Log Message:
Nuke crypto/arc4.  Has not been used since 2003.  Will not be missed.


To generate a diff of this commit:
cvs rdiff -u -r1.1244 -r1.1245 src/sys/conf/files
cvs rdiff -u -r1.7 -r0 src/sys/crypto/arc4/arc4.c
cvs rdiff -u -r1.5 -r0 src/sys/crypto/arc4/arc4.h
cvs rdiff -u -r1.2 -r0 src/sys/crypto/arc4/files.arc4

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



CVS commit: src/sys/kern

2019-12-04 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Dec  5 03:21:17 UTC 2019

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

Log Message:
Restore psz_lock just for the event count.

Cost of mutex_enter/exit is negligible compared to the xcall we just
did, so this is not going to meaningfully affect performance.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/kern/subr_pserialize.c

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



CVS commit: src/external/cddl/osnet/sys/sys

2019-12-04 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Dec  5 03:21:42 UTC 2019

Modified Files:
src/external/cddl/osnet/sys/sys: opentypes.h

Log Message:
Avoid redefining uint_t &c. if compat_defs.h already defines them.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/cddl/osnet/sys/sys/opentypes.h

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



CVS commit: src/sys/rump/kern/lib/libcrypto

2019-12-04 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Dec  5 03:57:55 UTC 2019

Modified Files:
src/sys/rump/kern/lib/libcrypto: Makefile

Log Message:
Missed a spot in the crypto/arc4 deletion.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/rump/kern/lib/libcrypto/Makefile

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



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

2019-12-04 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Dec  5 03:59:39 UTC 2019

Modified Files:
src/sys/arch/hppa/include: cpu.h

Log Message:
Only need one ci_onproc member.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/hppa/include/cpu.h

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



CVS commit: src/sys/lib/libkern

2019-12-04 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Dec  5 04:17:13 UTC 2019

Modified Files:
src/sys/lib/libkern: libkern.h

Log Message:
#ifdef notyet ---> never


To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 src/sys/lib/libkern/libkern.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/aarch64/aarch64

2019-12-04 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Dec  5 05:17:55 UTC 2019

Modified Files:
src/sys/arch/aarch64/aarch64: cpufunc.c

Log Message:
MAX_CACHE_LEVEL * struct aarch64_cache_info are required to statically allocate 
for cpu0.

avoid "cpu0: L2 512KB/64B 16-way write-back read-allocate write-allocate PIPT 
*UNK* cache" by r1.8


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/aarch64/aarch64/cpufunc.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/emips/ebus

2019-12-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Dec  5 05:28:09 UTC 2019

Modified Files:
src/sys/arch/emips/ebus: if_le_ebus.c

Log Message:
 Remove SIOC[SIFMEDIA because ifmedia_ioctl() does the same thing.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/emips/ebus/if_le_ebus.c

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



CVS commit: src/sys/net

2019-12-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Dec  5 05:29:28 UTC 2019

Modified Files:
src/sys/net: if_media.h

Log Message:
Fix previous comment change for ifm_media. It was correct.

 The real problem is that some driver misuse ifm_media as the current active
media. struct mii_data has the current active media(mii_media_active). If a
driver use mii(4), it can be use mii->mii_media_active for this purpose.
struct ifmedia has no entry for this purpose. Some drivers have an entry
in their own softc to keep the value, but some other's don't have it and
they mistakenly use ifm_media.

 We might add a new entry to struct ifmedia in future to avoid this confusion
and for simplify.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/net/if_media.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/aarch64/aarch64

2019-12-04 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Dec  5 05:45:52 UTC 2019

Modified Files:
src/sys/arch/aarch64/aarch64: cpufunc.c

Log Message:
fix build error by my previous commit


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/aarch64/aarch64/cpufunc.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/mips/adm5120/dev

2019-12-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Dec  5 06:25:33 UTC 2019

Modified Files:
src/sys/arch/mips/adm5120/dev: if_admsw.c

Log Message:
 Revert if_admsw.c rev. 1.25. It's not required to check
sc->sc_ifmedia[port].ifm_cur->ifm_media instead of ifm->ifm_media.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/mips/adm5120/dev/if_admsw.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/i2c

2019-12-04 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Thu Dec  5 06:28:09 UTC 2019

Modified Files:
src/sys/dev/i2c: i2c.c

Log Message:
Revert previous. Indirect matches are not wanted on platforms that
use external configuration data (FDT or OF).


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/dev/i2c/i2c.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/dev

2019-12-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Dec  5 06:28:20 UTC 2019

Modified Files:
src/sys/arch/macppc/dev: if_mc.c

Log Message:
 Revert if_mc.c rev. 1.25. It's not required to check ifm->ifm_cur->ifm_media
instead of ifm->ifm_media.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/macppc/dev/if_mc.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

2019-12-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Dec  5 07:03:01 UTC 2019

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

Log Message:
 KNF. No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/pci/pciconf.c

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