Re: CVS commit: [phil-wifi] src/sys/net80211

2018-06-28 Thread Phil Nelson
On Thursday 28 June 2018 18:01:28 Kimihiro Nonaka wrote:
> Why did you copy the FreeBSD source from the git mirror?
> When you copy the source from git mirror, "$FreeBSD$" is not expanded.
> So we don't know the revision number of the original file.

svnweb did not have them expanded and following the instructions
at freebsd.org for anonymous svn access produced no access after
multiple trys.   With the git commit id, it should be easy to get diffs
for future updates using the git mirror again.   If needed, I can get
them added when I get access to them.

--Phil

-
Phil Nelson, http://pcnelson.net


CVS commit: [phil-wifi] src/sys/net80211

2018-06-28 Thread Phil Nelson
Module Name:src
Committed By:   phil
Date:   Thu Jun 28 21:03:08 UTC 2018

Modified Files:
src/sys/net80211 [phil-wifi]: CHANGES _ieee80211.h ieee80211.c
ieee80211.h ieee80211_acl.c ieee80211_amrr.c ieee80211_amrr.h
ieee80211_crypto.c ieee80211_crypto.h ieee80211_crypto_ccmp.c
ieee80211_crypto_none.c ieee80211_crypto_tkip.c
ieee80211_crypto_wep.c ieee80211_input.c ieee80211_ioctl.c
ieee80211_ioctl.h ieee80211_netbsd.c ieee80211_netbsd.h
ieee80211_node.c ieee80211_node.h ieee80211_output.c
ieee80211_proto.c ieee80211_proto.h ieee80211_radiotap.h
ieee80211_rssadapt.c ieee80211_rssadapt.h ieee80211_var.h
ieee80211_xauth.c
Added Files:
src/sys/net80211 [phil-wifi]: ieee80211_action.c ieee80211_action.h
ieee80211_adhoc.c ieee80211_adhoc.h ieee80211_ageq.c
ieee80211_ageq.h ieee80211_alq.c ieee80211_alq.h ieee80211_ddb.c
ieee80211_dfs.c ieee80211_dfs.h ieee80211_hostap.c
ieee80211_hostap.h ieee80211_ht.c ieee80211_ht.h ieee80211_hwmp.c
ieee80211_input.h ieee80211_mesh.c ieee80211_mesh.h
ieee80211_monitor.c ieee80211_monitor.h ieee80211_phy.c
ieee80211_phy.h ieee80211_power.c ieee80211_power.h
ieee80211_radiotap.c ieee80211_ratectl.c ieee80211_ratectl.h
ieee80211_ratectl_none.c ieee80211_regdomain.c
ieee80211_regdomain.h ieee80211_scan.c ieee80211_scan.h
ieee80211_scan_sta.c ieee80211_scan_sw.c ieee80211_scan_sw.h
ieee80211_sta.c ieee80211_sta.h ieee80211_superg.c
ieee80211_superg.h ieee80211_tdma.c ieee80211_tdma.h
ieee80211_vht.c ieee80211_vht.h ieee80211_wds.c ieee80211_wds.h

Log Message:
Start of WiFi refresh.  Copy of FreeBSD net80211 directory with git
mirror commit id of 09e3123164ec345822e00465039503686efde455, no
changes yet.  ieee80211_netbsd.[ch] from ieee80211_freebsd.[ch].


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.166.1 src/sys/net80211/CHANGES
cvs rdiff -u -r1.10 -r1.10.38.1 src/sys/net80211/_ieee80211.h
cvs rdiff -u -r1.56 -r1.56.18.1 src/sys/net80211/ieee80211.c
cvs rdiff -u -r1.28 -r1.28.16.1 src/sys/net80211/ieee80211.h
cvs rdiff -u -r1.9 -r1.9.54.1 src/sys/net80211/ieee80211_acl.c
cvs rdiff -u -r0 -r1.1.2.1 src/sys/net80211/ieee80211_action.c \
src/sys/net80211/ieee80211_action.h src/sys/net80211/ieee80211_adhoc.c \
src/sys/net80211/ieee80211_adhoc.h src/sys/net80211/ieee80211_ageq.c \
src/sys/net80211/ieee80211_ageq.h src/sys/net80211/ieee80211_alq.c \
src/sys/net80211/ieee80211_alq.h src/sys/net80211/ieee80211_ddb.c \
src/sys/net80211/ieee80211_dfs.c src/sys/net80211/ieee80211_dfs.h \
src/sys/net80211/ieee80211_hostap.c src/sys/net80211/ieee80211_hostap.h \
src/sys/net80211/ieee80211_hwmp.c src/sys/net80211/ieee80211_input.h \
src/sys/net80211/ieee80211_mesh.c src/sys/net80211/ieee80211_mesh.h \
src/sys/net80211/ieee80211_monitor.c src/sys/net80211/ieee80211_monitor.h \
src/sys/net80211/ieee80211_phy.c src/sys/net80211/ieee80211_phy.h \
src/sys/net80211/ieee80211_radiotap.c \
src/sys/net80211/ieee80211_ratectl.c src/sys/net80211/ieee80211_ratectl.h \
src/sys/net80211/ieee80211_ratectl_none.c \
src/sys/net80211/ieee80211_scan_sw.c src/sys/net80211/ieee80211_scan_sw.h \
src/sys/net80211/ieee80211_sta.c src/sys/net80211/ieee80211_sta.h \
src/sys/net80211/ieee80211_superg.c src/sys/net80211/ieee80211_superg.h \
src/sys/net80211/ieee80211_tdma.c src/sys/net80211/ieee80211_tdma.h \
src/sys/net80211/ieee80211_vht.c src/sys/net80211/ieee80211_vht.h \
src/sys/net80211/ieee80211_wds.c src/sys/net80211/ieee80211_wds.h
cvs rdiff -u -r1.3 -r1.3.18.1 src/sys/net80211/ieee80211_amrr.c
cvs rdiff -u -r1.1 -r1.1.148.1 src/sys/net80211/ieee80211_amrr.h
cvs rdiff -u -r1.23 -r1.23.2.1 src/sys/net80211/ieee80211_crypto.c
cvs rdiff -u -r1.12 -r1.12.4.1 src/sys/net80211/ieee80211_crypto.h
cvs rdiff -u -r1.14 -r1.14.2.1 src/sys/net80211/ieee80211_crypto_ccmp.c
cvs rdiff -u -r1.8 -r1.8.4.1 src/sys/net80211/ieee80211_crypto_none.c
cvs rdiff -u -r1.14 -r1.14.4.1 src/sys/net80211/ieee80211_crypto_tkip.c
cvs rdiff -u -r1.12 -r1.12.2.1 src/sys/net80211/ieee80211_crypto_wep.c
cvs rdiff -u -r0 -r1.1.56.2 src/sys/net80211/ieee80211_ht.c \
src/sys/net80211/ieee80211_ht.h src/sys/net80211/ieee80211_power.c \
src/sys/net80211/ieee80211_power.h src/sys/net80211/ieee80211_regdomain.c \
src/sys/net80211/ieee80211_regdomain.h src/sys/net80211/ieee80211_scan.c \
src/sys/net80211/ieee80211_scan.h src/sys/net80211/ieee80211_scan_sta.c
cvs rdiff -u -r1.114 -r1.114.2.1 src/sys/net80211/ieee80211_input.c
cvs rdiff -u -r1.60 -r1.60.18.1 src/sys/net80211/ieee80211_ioctl.c
cvs rdiff -u -r1.24 -r1.24.2.1 src/sys/net80211/ieee80211_ioctl.h
cvs rdiff -u -r1.31 -r1.31.2.1 src/sys/net80211/ieee80211_netbsd.c
cvs rdiff -u -r1.21 

CVS commit: src/sys/dev/i2c

2018-06-28 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Jun 28 21:21:03 UTC 2018

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

Log Message:
fix a tpyo so now we get the correct maximum speed for CPU intake fans
while there, be a bit more responsive to temperature changes


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/i2c/fcu.c

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

Modified files:

Index: src/sys/dev/i2c/fcu.c
diff -u src/sys/dev/i2c/fcu.c:1.6 src/sys/dev/i2c/fcu.c:1.7
--- src/sys/dev/i2c/fcu.c:1.6	Tue Jun 26 06:03:57 2018
+++ src/sys/dev/i2c/fcu.c	Thu Jun 28 21:21:03 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: fcu.c,v 1.6 2018/06/26 06:03:57 thorpej Exp $ */
+/* $NetBSD: fcu.c,v 1.7 2018/06/28 21:21:03 macallan Exp $ */
 
 /*-
  * Copyright (c) 2018 Michael Lorenz
@@ -27,7 +27,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: fcu.c,v 1.6 2018/06/26 06:03:57 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fcu.c,v 1.7 2018/06/28 21:21:03 macallan Exp $");
 
 #include 
 #include 
@@ -256,7 +256,7 @@ fcu_attach(device_t parent, device_t sel
 			} else if (strstr(descr, "INTAKE") != NULL) {
 KASSERT(eeprom != NULL);
 memcpy(, [0x4c], 2);
-memcpy(, [0x5e], 2);
+memcpy(, [0x4e], 2);
 fan->base_rpm = rmin;
 fan->max_rpm = rmax;
 fan->step = (rmax - rmin) / 30;
@@ -276,6 +276,8 @@ fcu_attach(device_t parent, device_t sel
 fan->max_rpm = 3000;
 fan->step = 100;
 			}
+			DPRINTF("fan %s: %d - %d rpm, step %d\n",
+			   descr, fan->base_rpm, fan->max_rpm, fan->step);
 
 			/* now stuff them into zones */
 			if (strstr(descr, "CPU A") != NULL) {
@@ -503,7 +505,7 @@ fcu_adjust(void *cookie)
 		sc->sc_pwm = FALSE;
 		for (i = 0; i < FCU_ZONE_COUNT; i++)
 			fcu_adjust_zone(sc, i);
-		kpause("fanctrl", true, mstohz(sc->sc_pwm ? 2000 : 3), NULL);
+		kpause("fanctrl", true, mstohz(sc->sc_pwm ? 1000 : 5000), NULL);
 	}
 	kthread_exit(0);
 }



CVS commit: [phil-wifi] src/sys/net80211

2018-06-28 Thread Phil Nelson
Module Name:src
Committed By:   phil
Date:   Thu Jun 28 21:03:08 UTC 2018

Modified Files:
src/sys/net80211 [phil-wifi]: CHANGES _ieee80211.h ieee80211.c
ieee80211.h ieee80211_acl.c ieee80211_amrr.c ieee80211_amrr.h
ieee80211_crypto.c ieee80211_crypto.h ieee80211_crypto_ccmp.c
ieee80211_crypto_none.c ieee80211_crypto_tkip.c
ieee80211_crypto_wep.c ieee80211_input.c ieee80211_ioctl.c
ieee80211_ioctl.h ieee80211_netbsd.c ieee80211_netbsd.h
ieee80211_node.c ieee80211_node.h ieee80211_output.c
ieee80211_proto.c ieee80211_proto.h ieee80211_radiotap.h
ieee80211_rssadapt.c ieee80211_rssadapt.h ieee80211_var.h
ieee80211_xauth.c
Added Files:
src/sys/net80211 [phil-wifi]: ieee80211_action.c ieee80211_action.h
ieee80211_adhoc.c ieee80211_adhoc.h ieee80211_ageq.c
ieee80211_ageq.h ieee80211_alq.c ieee80211_alq.h ieee80211_ddb.c
ieee80211_dfs.c ieee80211_dfs.h ieee80211_hostap.c
ieee80211_hostap.h ieee80211_ht.c ieee80211_ht.h ieee80211_hwmp.c
ieee80211_input.h ieee80211_mesh.c ieee80211_mesh.h
ieee80211_monitor.c ieee80211_monitor.h ieee80211_phy.c
ieee80211_phy.h ieee80211_power.c ieee80211_power.h
ieee80211_radiotap.c ieee80211_ratectl.c ieee80211_ratectl.h
ieee80211_ratectl_none.c ieee80211_regdomain.c
ieee80211_regdomain.h ieee80211_scan.c ieee80211_scan.h
ieee80211_scan_sta.c ieee80211_scan_sw.c ieee80211_scan_sw.h
ieee80211_sta.c ieee80211_sta.h ieee80211_superg.c
ieee80211_superg.h ieee80211_tdma.c ieee80211_tdma.h
ieee80211_vht.c ieee80211_vht.h ieee80211_wds.c ieee80211_wds.h

Log Message:
Start of WiFi refresh.  Copy of FreeBSD net80211 directory with git
mirror commit id of 09e3123164ec345822e00465039503686efde455, no
changes yet.  ieee80211_netbsd.[ch] from ieee80211_freebsd.[ch].


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.166.1 src/sys/net80211/CHANGES
cvs rdiff -u -r1.10 -r1.10.38.1 src/sys/net80211/_ieee80211.h
cvs rdiff -u -r1.56 -r1.56.18.1 src/sys/net80211/ieee80211.c
cvs rdiff -u -r1.28 -r1.28.16.1 src/sys/net80211/ieee80211.h
cvs rdiff -u -r1.9 -r1.9.54.1 src/sys/net80211/ieee80211_acl.c
cvs rdiff -u -r0 -r1.1.2.1 src/sys/net80211/ieee80211_action.c \
src/sys/net80211/ieee80211_action.h src/sys/net80211/ieee80211_adhoc.c \
src/sys/net80211/ieee80211_adhoc.h src/sys/net80211/ieee80211_ageq.c \
src/sys/net80211/ieee80211_ageq.h src/sys/net80211/ieee80211_alq.c \
src/sys/net80211/ieee80211_alq.h src/sys/net80211/ieee80211_ddb.c \
src/sys/net80211/ieee80211_dfs.c src/sys/net80211/ieee80211_dfs.h \
src/sys/net80211/ieee80211_hostap.c src/sys/net80211/ieee80211_hostap.h \
src/sys/net80211/ieee80211_hwmp.c src/sys/net80211/ieee80211_input.h \
src/sys/net80211/ieee80211_mesh.c src/sys/net80211/ieee80211_mesh.h \
src/sys/net80211/ieee80211_monitor.c src/sys/net80211/ieee80211_monitor.h \
src/sys/net80211/ieee80211_phy.c src/sys/net80211/ieee80211_phy.h \
src/sys/net80211/ieee80211_radiotap.c \
src/sys/net80211/ieee80211_ratectl.c src/sys/net80211/ieee80211_ratectl.h \
src/sys/net80211/ieee80211_ratectl_none.c \
src/sys/net80211/ieee80211_scan_sw.c src/sys/net80211/ieee80211_scan_sw.h \
src/sys/net80211/ieee80211_sta.c src/sys/net80211/ieee80211_sta.h \
src/sys/net80211/ieee80211_superg.c src/sys/net80211/ieee80211_superg.h \
src/sys/net80211/ieee80211_tdma.c src/sys/net80211/ieee80211_tdma.h \
src/sys/net80211/ieee80211_vht.c src/sys/net80211/ieee80211_vht.h \
src/sys/net80211/ieee80211_wds.c src/sys/net80211/ieee80211_wds.h
cvs rdiff -u -r1.3 -r1.3.18.1 src/sys/net80211/ieee80211_amrr.c
cvs rdiff -u -r1.1 -r1.1.148.1 src/sys/net80211/ieee80211_amrr.h
cvs rdiff -u -r1.23 -r1.23.2.1 src/sys/net80211/ieee80211_crypto.c
cvs rdiff -u -r1.12 -r1.12.4.1 src/sys/net80211/ieee80211_crypto.h
cvs rdiff -u -r1.14 -r1.14.2.1 src/sys/net80211/ieee80211_crypto_ccmp.c
cvs rdiff -u -r1.8 -r1.8.4.1 src/sys/net80211/ieee80211_crypto_none.c
cvs rdiff -u -r1.14 -r1.14.4.1 src/sys/net80211/ieee80211_crypto_tkip.c
cvs rdiff -u -r1.12 -r1.12.2.1 src/sys/net80211/ieee80211_crypto_wep.c
cvs rdiff -u -r0 -r1.1.56.2 src/sys/net80211/ieee80211_ht.c \
src/sys/net80211/ieee80211_ht.h src/sys/net80211/ieee80211_power.c \
src/sys/net80211/ieee80211_power.h src/sys/net80211/ieee80211_regdomain.c \
src/sys/net80211/ieee80211_regdomain.h src/sys/net80211/ieee80211_scan.c \
src/sys/net80211/ieee80211_scan.h src/sys/net80211/ieee80211_scan_sta.c
cvs rdiff -u -r1.114 -r1.114.2.1 src/sys/net80211/ieee80211_input.c
cvs rdiff -u -r1.60 -r1.60.18.1 src/sys/net80211/ieee80211_ioctl.c
cvs rdiff -u -r1.24 -r1.24.2.1 src/sys/net80211/ieee80211_ioctl.h
cvs rdiff -u -r1.31 -r1.31.2.1 src/sys/net80211/ieee80211_netbsd.c
cvs rdiff -u -r1.21 

CVS commit: src/sys/dev/pci

2018-06-28 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Jun 28 17:22:09 UTC 2018

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

Log Message:
restrict a magic number 'fix' inherited from xf86-video-radeon to actual
rv100 chips instead of applying it to anything older than r300.
Now DVI output works properly on 1st generation Mac Minis.
tested by christos


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/dev/pci/radeonfb.c

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

Modified files:

Index: src/sys/dev/pci/radeonfb.c
diff -u src/sys/dev/pci/radeonfb.c:1.98 src/sys/dev/pci/radeonfb.c:1.99
--- src/sys/dev/pci/radeonfb.c:1.98	Sat Jun 16 01:25:23 2018
+++ src/sys/dev/pci/radeonfb.c	Thu Jun 28 17:22:09 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: radeonfb.c,v 1.98 2018/06/16 01:25:23 macallan Exp $ */
+/*	$NetBSD: radeonfb.c,v 1.99 2018/06/28 17:22:09 macallan Exp $ */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -70,7 +70,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: radeonfb.c,v 1.98 2018/06/16 01:25:23 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeonfb.c,v 1.99 2018/06/28 17:22:09 macallan Exp $");
 
 #include 
 #include 
@@ -589,7 +589,14 @@ radeonfb_attach(device_t parent, device_
 	PRINTREG(RADEON_FP_H_SYNC_STRT_WID);
 	PRINTREG(RADEON_CRTC2_H_SYNC_STRT_WID);
 	PRINTREG(RADEON_FP_H2_SYNC_STRT_WID);
-	if (IS_RV100(sc))
+
+/*
+ * XXX
+ * This was if (IS_RV100()), which is set for all pre-R3xx chips.
+ * I suspect this only makes sense on Sun XVR-100 with firmware that doesn't
+ * support DVI, so for now let's restrict it to only actual RV100
+ */
+	if (sc->sc_family == RADEON_RV100)
 		PUT32(sc, RADEON_TMDS_PLL_CNTL, 0xa27);
 
 	/* XXX



CVS commit: src/sys/dev/pci

2018-06-28 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Jun 28 17:22:09 UTC 2018

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

Log Message:
restrict a magic number 'fix' inherited from xf86-video-radeon to actual
rv100 chips instead of applying it to anything older than r300.
Now DVI output works properly on 1st generation Mac Minis.
tested by christos


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/dev/pci/radeonfb.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

2018-06-28 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Jun 28 06:02:24 UTC 2018

Modified Files:
src/sys/net: if_loop.c

Log Message:
loop: don't allocate a unnecessary link-state-change thread


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/net/if_loop.c

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

Modified files:

Index: src/sys/net/if_loop.c
diff -u src/sys/net/if_loop.c:1.102 src/sys/net/if_loop.c:1.103
--- src/sys/net/if_loop.c:1.102	Tue Jun 26 06:48:02 2018
+++ src/sys/net/if_loop.c	Thu Jun 28 06:02:24 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_loop.c,v 1.102 2018/06/26 06:48:02 msaitoh Exp $	*/
+/*	$NetBSD: if_loop.c,v 1.103 2018/06/28 06:02:24 ozaki-r Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -65,7 +65,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_loop.c,v 1.102 2018/06/26 06:48:02 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_loop.c,v 1.103 2018/06/28 06:02:24 ozaki-r Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -183,8 +183,9 @@ loop_clone_create(struct if_clone *ifc, 
 
 	ifp->if_mtu = LOMTU;
 	ifp->if_flags = IFF_LOOPBACK | IFF_MULTICAST;
+	ifp->if_extflags = IFEF_NO_LINK_STATE_CHANGE;
 #ifdef NET_MPSAFE
-	ifp->if_extflags = IFEF_MPSAFE;
+	ifp->if_extflags |= IFEF_MPSAFE;
 #endif
 	ifp->if_ioctl = loioctl;
 	ifp->if_output = looutput;



CVS commit: src/lib/librumphijack

2018-06-28 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Jun 28 06:20:36 UTC 2018

Modified Files:
src/lib/librumphijack: hijack.c

Log Message:
rumphijack: don't modify a cmsg on just validating it

Pointed out by k-goda@IIJ


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/lib/librumphijack/hijack.c

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

Modified files:

Index: src/lib/librumphijack/hijack.c
diff -u src/lib/librumphijack/hijack.c:1.124 src/lib/librumphijack/hijack.c:1.125
--- src/lib/librumphijack/hijack.c:1.124	Mon Oct 23 06:52:17 2017
+++ src/lib/librumphijack/hijack.c	Thu Jun 28 06:20:36 2018
@@ -1,4 +1,4 @@
-/*  $NetBSD: hijack.c,v 1.124 2017/10/23 06:52:17 ozaki-r Exp $	*/
+/*  $NetBSD: hijack.c,v 1.125 2018/06/28 06:20:36 ozaki-r Exp $	*/
 
 /*-
  * Copyright (c) 2011 Antti Kantee.  All Rights Reserved.
@@ -34,7 +34,7 @@
 #include 
 
 #if !defined(lint)
-__RCSID("$NetBSD: hijack.c,v 1.124 2017/10/23 06:52:17 ozaki-r Exp $");
+__RCSID("$NetBSD: hijack.c,v 1.125 2018/06/28 06:20:36 ozaki-r Exp $");
 #endif
 
 #include 
@@ -1587,7 +1587,7 @@ write(int fd, const void *buf, size_t bl
  */
 
 static int
-msg_convert(struct msghdr *msg, int (*func)(int))
+_msg_convert_fds(struct msghdr *msg, int (*func)(int), bool dryrun)
 {
 	struct cmsghdr *cmsg;
 
@@ -1607,7 +1607,8 @@ msg_convert(struct msghdr *msg, int (*fu
 if (newval < 0) {
 	return ENOTSUP;
 }
-*fdp = newval;
+if (!dryrun)
+	*fdp = newval;
 fdp++;
 			}
 		}
@@ -1615,6 +1616,20 @@ msg_convert(struct msghdr *msg, int (*fu
 	return 0;
 }
 
+static int
+msg_convert_fds(struct msghdr *msg, int (*func)(int))
+{
+
+	return _msg_convert_fds(msg, func, false);
+}
+
+static int
+msg_check_fds(struct msghdr *msg, int (*func)(int))
+{
+
+	return _msg_convert_fds(msg, func, true);
+}
+
 ssize_t
 recvmsg(int fd, struct msghdr *msg, int flags)
 {
@@ -1636,9 +1651,9 @@ recvmsg(int fd, struct msghdr *msg, int 
 	 * convert descriptors in the message.
 	 */
 	if (isrump) {
-		msg_convert(msg, fd_rump2host);
+		msg_convert_fds(msg, fd_rump2host);
 	} else {
-		msg_convert(msg, fd_host2host);
+		msg_convert_fds(msg, fd_host2host);
 	}
 	return ret;
 }
@@ -1681,7 +1696,7 @@ sendmsg(int fd, const struct msghdr *msg
 	/*
 	 * reject descriptors from a different kernel.
 	 */
-	error = msg_convert(__UNCONST(msg),
+	error = msg_check_fds(__UNCONST(msg),
 	isrump ? fd_check_rump: fd_check_host);
 	if (error != 0) {
 		errno = error;
@@ -1700,7 +1715,7 @@ sendmsg(int fd, const struct msghdr *msg
 		 *
 		 * it's safer to copy and modify instead.
 		 */
-		msg_convert(__UNCONST(msg), fd_host2rump);
+		msg_convert_fds(__UNCONST(msg), fd_host2rump);
 		op_sendmsg = GETSYSCALL(rump, SENDMSG);
 	} else {
 		op_sendmsg = GETSYSCALL(host, SENDMSG);



CVS commit: src/lib/librumphijack

2018-06-28 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Jun 28 06:20:36 UTC 2018

Modified Files:
src/lib/librumphijack: hijack.c

Log Message:
rumphijack: don't modify a cmsg on just validating it

Pointed out by k-goda@IIJ


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/lib/librumphijack/hijack.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/acpica/bin/iasl

2018-06-28 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Jun 28 07:56:22 UTC 2018

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
Correctly specify that iasl needs to be case insensitive.

Fixes PR bin/53405. thanks to martin.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/external/bsd/acpica/bin/iasl/Makefile

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

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.20 src/external/bsd/acpica/bin/iasl/Makefile:1.21
--- src/external/bsd/acpica/bin/iasl/Makefile:1.20	Wed Jun 27 16:13:43 2018
+++ src/external/bsd/acpica/bin/iasl/Makefile	Thu Jun 28 07:56:22 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2018/06/27 16:13:43 maya Exp $
+# $NetBSD: Makefile,v 1.21 2018/06/28 07:56:22 maya Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -264,7 +264,7 @@ SRCS+=	osunixxf.c
 
 YHEADER=	# Generate headers
 YFLAGS+=-v	# Require debugging
-FLAGS+=-i	# Case insensitivive parser
+LFLAGS+=-i	# Case insensitivive parser
 
 
 # Prevent rules from firing.



CVS commit: src/external/bsd/acpica/bin/iasl

2018-06-28 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Jun 28 07:56:22 UTC 2018

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
Correctly specify that iasl needs to be case insensitive.

Fixes PR bin/53405. thanks to martin.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/external/bsd/acpica/bin/iasl/Makefile

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



CVS commit: src/sys/net

2018-06-28 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Jun 28 06:02:24 UTC 2018

Modified Files:
src/sys/net: if_loop.c

Log Message:
loop: don't allocate a unnecessary link-state-change thread


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/net/if_loop.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-28 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Thu Jun 28 15:21:52 UTC 2018

Modified Files:
src/sys/arch/evbarm/conf: ARMADILLO210 ARMADILLO9 BEAGLEBONE
MMNET_GENERIC MPCSA_GENERIC
src/sys/arch/evbmips/conf: OMSAL400

Log Message:
Use the "flags" config directive modifier to specify seeprom size
(a pre-existing capability in seeprom driver) now that "size" is no
longer a valid locator for i2c.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/evbarm/conf/ARMADILLO210
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/evbarm/conf/ARMADILLO9
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/evbarm/conf/BEAGLEBONE
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/evbarm/conf/MMNET_GENERIC
cvs rdiff -u -r1.58 -r1.59 src/sys/arch/evbarm/conf/MPCSA_GENERIC
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbmips/conf/OMSAL400

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

Modified files:

Index: src/sys/arch/evbarm/conf/ARMADILLO210
diff -u src/sys/arch/evbarm/conf/ARMADILLO210:1.40 src/sys/arch/evbarm/conf/ARMADILLO210:1.41
--- src/sys/arch/evbarm/conf/ARMADILLO210:1.40	Thu Jun  7 13:36:28 2018
+++ src/sys/arch/evbarm/conf/ARMADILLO210	Thu Jun 28 15:21:52 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: ARMADILLO210,v 1.40 2018/06/07 13:36:28 thorpej Exp $
+#	$NetBSD: ARMADILLO210,v 1.41 2018/06/28 15:21:52 thorpej Exp $
 #
 #	ARMADILLO210 -- Atmark Techno, Armadillo-210
 #
@@ -156,7 +156,7 @@ epled0		at epgpio0 port 4 bit1 1 bit2 0
 # I^2C Controller Unit
 armadillo9iic0	at epgpio0 port 1 bit1 4 bit2 5
 iic*		at armadillo9iic?
-seeprom0	at iic? addr 0x50 size 128
+seeprom0	at iic? addr 0x50 flags 1	# 128 bytes
 
 # MII/PHY support
 lxtphy* at mii? phy ?			# Level One LXT-970 PHYs

Index: src/sys/arch/evbarm/conf/ARMADILLO9
diff -u src/sys/arch/evbarm/conf/ARMADILLO9:1.57 src/sys/arch/evbarm/conf/ARMADILLO9:1.58
--- src/sys/arch/evbarm/conf/ARMADILLO9:1.57	Thu Jun  7 13:36:28 2018
+++ src/sys/arch/evbarm/conf/ARMADILLO9	Thu Jun 28 15:21:52 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: ARMADILLO9,v 1.57 2018/06/07 13:36:28 thorpej Exp $
+#	$NetBSD: ARMADILLO9,v 1.58 2018/06/28 15:21:52 thorpej Exp $
 #
 #	ARMADILLO9 -- Atmark Techno, Armadillo-9
 #
@@ -167,7 +167,7 @@ epled0		at epgpio0 port 4 bit1 0 bit2 1
 # I^2C Controller Unit
 armadillo9iic0	at epgpio0 port 1 bit1 4 bit2 5
 iic*		at armadillo9iic?
-seeprom0	at iic? addr 0x50 size 128
+seeprom0	at iic? addr 0x50 flags 1	# 128 bytes
 #s3531rtc0	at iic? addr 0x30
 
 # PCMCIA bus support

Index: src/sys/arch/evbarm/conf/BEAGLEBONE
diff -u src/sys/arch/evbarm/conf/BEAGLEBONE:1.43 src/sys/arch/evbarm/conf/BEAGLEBONE:1.44
--- src/sys/arch/evbarm/conf/BEAGLEBONE:1.43	Mon Jun 26 03:15:16 2017
+++ src/sys/arch/evbarm/conf/BEAGLEBONE	Thu Jun 28 15:21:52 2018
@@ -1,5 +1,5 @@
 #
-#	$NetBSD: BEAGLEBONE,v 1.43 2017/06/26 03:15:16 sevan Exp $
+#	$NetBSD: BEAGLEBONE,v 1.44 2018/06/28 15:21:52 thorpej Exp $
 #
 #	BEAGLEBONE -- TI AM335x board Kernel
 #
@@ -104,7 +104,7 @@ gpio* 		at gpiobus?
 # I2C Controller
 tiiic0		at obio0 addr 0x44e0b000 size 0x1000 intr 70
 iic*		at tiiic?
-seeprom*	at iic0 addr 0x50 size 32768
+seeprom*	at iic0 addr 0x50 flags 256	# 32768 bytes
 tps65217pmic*	at iic0 addr 0x24
 
 # On-board 16550 UARTs

Index: src/sys/arch/evbarm/conf/MMNET_GENERIC
diff -u src/sys/arch/evbarm/conf/MMNET_GENERIC:1.37 src/sys/arch/evbarm/conf/MMNET_GENERIC:1.38
--- src/sys/arch/evbarm/conf/MMNET_GENERIC:1.37	Sat Jun 23 01:23:27 2018
+++ src/sys/arch/evbarm/conf/MMNET_GENERIC	Thu Jun 28 15:21:52 2018
@@ -1,4 +1,4 @@
-# $NetBSD: MMNET_GENERIC,v 1.37 2018/06/23 01:23:27 maya Exp $
+# $NetBSD: MMNET_GENERIC,v 1.38 2018/06/28 15:21:52 thorpej Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include		"arch/evbarm/conf/std.mmnet"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.37 $"
+#ident 		"GENERIC-$Revision: 1.38 $"
 
 maxusers	32		# estimated number of users
 
@@ -282,7 +282,7 @@ ohci0		at at91bus0 addr 0x0050 size 
 at91twi0	at at91bus0 addr 0xfffac000 size 0x4000 pid 11
 iic0		at at91twi?
 #ds1672rtc*	at iic0 addr 0x68
-#seeprom*	at iic0 addr 0x50 size 4096
+#seeprom*	at iic0 addr 0x50 flags 32	# 4096 bytes
 
 # Hardware monitors
 

Index: src/sys/arch/evbarm/conf/MPCSA_GENERIC
diff -u src/sys/arch/evbarm/conf/MPCSA_GENERIC:1.58 src/sys/arch/evbarm/conf/MPCSA_GENERIC:1.59
--- src/sys/arch/evbarm/conf/MPCSA_GENERIC:1.58	Sat Jun 23 01:23:27 2018
+++ src/sys/arch/evbarm/conf/MPCSA_GENERIC	Thu Jun 28 15:21:52 2018
@@ -1,4 +1,4 @@
-# $NetBSD: MPCSA_GENERIC,v 1.58 2018/06/23 01:23:27 maya Exp $
+# $NetBSD: MPCSA_GENERIC,v 1.59 2018/06/28 15:21:52 thorpej Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include		"arch/evbarm/conf/std.mpcsa"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.58 $"
+#ident 		"GENERIC-$Revision: 1.59 $"
 
 maxusers	32		# estimated number of 

CVS commit: src/sys/arch

2018-06-28 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Thu Jun 28 15:21:52 UTC 2018

Modified Files:
src/sys/arch/evbarm/conf: ARMADILLO210 ARMADILLO9 BEAGLEBONE
MMNET_GENERIC MPCSA_GENERIC
src/sys/arch/evbmips/conf: OMSAL400

Log Message:
Use the "flags" config directive modifier to specify seeprom size
(a pre-existing capability in seeprom driver) now that "size" is no
longer a valid locator for i2c.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/evbarm/conf/ARMADILLO210
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/evbarm/conf/ARMADILLO9
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/evbarm/conf/BEAGLEBONE
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/evbarm/conf/MMNET_GENERIC
cvs rdiff -u -r1.58 -r1.59 src/sys/arch/evbarm/conf/MPCSA_GENERIC
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbmips/conf/OMSAL400

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



CVS commit: src/share/man/man4

2018-06-28 Thread Radoslaw Kujawa
Module Name:src
Committed By:   rkujawa
Date:   Thu Jun 28 13:18:19 UTC 2018

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

Log Message:
Clarify caveats.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/share/man/man4/tps65217pmic.4

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

Modified files:

Index: src/share/man/man4/tps65217pmic.4
diff -u src/share/man/man4/tps65217pmic.4:1.8 src/share/man/man4/tps65217pmic.4:1.9
--- src/share/man/man4/tps65217pmic.4:1.8	Sun Oct 16 05:25:52 2016
+++ src/share/man/man4/tps65217pmic.4	Thu Jun 28 13:18:19 2018
@@ -1,4 +1,4 @@
-.\" $NetBSD: tps65217pmic.4,v 1.8 2016/10/16 05:25:52 wiz Exp $
+.\" $NetBSD: tps65217pmic.4,v 1.9 2018/06/28 13:18:19 rkujawa Exp $
 .\"
 .\" Copyright (c) 2013 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 29, 2013
+.Dd June 28, 2018
 .Dt TPS65217PMIC 4
 .Os
 .Sh NAME
@@ -81,10 +81,18 @@ White LED (backlight) support was added 
 .Sh CAVEATS
 The driver can only report current voltage regulator settings.
 It can not measure the real voltage, as the TPS65217 chip lacks hardware to do
-that.
+that. Some boards allow voltage measurement by connecting the power output to
+external sensor, or analog input of the MPU, but this is outside of the
+scope of this driver.
 .Pp
 Modifying voltage regulator parameters from user space was deliberately left
-unimplemented, as these parameters should only be set at the firmware level.
+unimplemented, as these parameters should only be set at the firmware or
+kernel level.
 Setting wrong parameters may result in permanent hardware damage.
+.Pp
+The
+.Nm
+driver offers a function that can be used to change the voltage from other
+kernel components (currently used by AM335x support code).
 .Sh BUGS
 Battery and interrupt support is not implemented.



CVS commit: src/sys/dev/sdmmc

2018-06-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Jun 28 13:31:38 UTC 2018

Modified Files:
src/sys/dev/sdmmc: sdmmcdevs

Log Message:
Add vendor REALTEK and product RTL8703BS


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

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

Modified files:

Index: src/sys/dev/sdmmc/sdmmcdevs
diff -u src/sys/dev/sdmmc/sdmmcdevs:1.2 src/sys/dev/sdmmc/sdmmcdevs:1.3
--- src/sys/dev/sdmmc/sdmmcdevs:1.2	Sat Oct 19 22:45:12 2013
+++ src/sys/dev/sdmmc/sdmmcdevs	Thu Jun 28 13:31:38 2018
@@ -1,4 +1,4 @@
-	$NetBSD: sdmmcdevs,v 1.2 2013/10/19 22:45:12 mlelstv Exp $
+	$NetBSD: sdmmcdevs,v 1.3 2018/06/28 13:31:38 jmcneill Exp $
 /*	$OpenBSD: sdmmcdevs,v 1.8 2007/05/11 17:16:16 mglocker Exp $	*/
 
 /*
@@ -23,6 +23,7 @@
 vendor CGUYS			0x0092	C-guys, Inc.
 vendor TOSHIBA			0x0098	Toshiba
 vendor SOCKETCOM		0x0104	Socket Communications, Inc.
+vendor REALTEK			0x024c	Realtek
 vendor ATHEROS			0x0271	Atheros
 vendor SYCHIP			0x02db	SyChip Inc.
 vendor SPECTEC			0x02fe	Spectec Computer Co., Ltd
@@ -70,5 +71,8 @@ product TOSHIBA SDBTCARD3	0x0003	Toshiba
 product SOCKETCOM SDSCANNER	0x005e	Socket SD Scanner
 product SOCKETCOM BTCARD	0x00c5	Socket BT Card
 
+/* Realtek */
+product REALTEK RTL8703BS	0xb703	RTL8703BS Wireless LAN 802.11n SDIO
+
 /* Ricoh */
 product RICOH MMCREADER		0xe823  MMC card reader



CVS commit: src/sys/dev/sdmmc

2018-06-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Jun 28 13:31:57 UTC 2018

Modified Files:
src/sys/dev/sdmmc: sdmmcdevs.h

Log Message:
Regen


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/sdmmc/sdmmcdevs.h

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

Modified files:

Index: src/sys/dev/sdmmc/sdmmcdevs.h
diff -u src/sys/dev/sdmmc/sdmmcdevs.h:1.2 src/sys/dev/sdmmc/sdmmcdevs.h:1.3
--- src/sys/dev/sdmmc/sdmmcdevs.h:1.2	Tue Apr 21 03:10:41 2009
+++ src/sys/dev/sdmmc/sdmmcdevs.h	Thu Jun 28 13:31:57 2018
@@ -1,10 +1,10 @@
-/*	$NetBSD: sdmmcdevs.h,v 1.2 2009/04/21 03:10:41 nonaka Exp $	*/
+/*	$NetBSD: sdmmcdevs.h,v 1.3 2018/06/28 13:31:57 jmcneill Exp $	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *		NetBSD: sdmmcdevs,v 1.1 2009/04/21 03:00:31 nonaka Exp 
+ *		NetBSD: sdmmcdevs,v 1.3 2018/06/28 13:31:38 jmcneill Exp 
  */
 /*	$OpenBSD: sdmmcdevs,v 1.8 2007/05/11 17:16:16 mglocker Exp $	*/
 
@@ -30,11 +30,13 @@
 #define	SDMMC_VENDOR_CGUYS	0x0092	/* C-guys, Inc. */
 #define	SDMMC_VENDOR_TOSHIBA	0x0098	/* Toshiba */
 #define	SDMMC_VENDOR_SOCKETCOM	0x0104	/* Socket Communications, Inc. */
+#define	SDMMC_VENDOR_REALTEK	0x024c	/* Realtek */
 #define	SDMMC_VENDOR_ATHEROS	0x0271	/* Atheros */
 #define	SDMMC_VENDOR_SYCHIP	0x02db	/* SyChip Inc. */
 #define	SDMMC_VENDOR_SPECTEC	0x02fe	/* Spectec Computer Co., Ltd */
 #define	SDMMC_VENDOR_MEDIATEK	0x037a	/* MediaTek Inc. */
 #define	SDMMC_VENDOR_GLOBALSAT	0x0501	/* Globalsat Technology Co. */
+#define	SDMMC_VENDOR_RICOH	0x1180	/* Ricoh */
 #define	SDMMC_VENDOR_ABOCOM	0x13d1	/* AboCom Systems, Inc. */
 
 /*
@@ -92,3 +94,11 @@
 #define	SDMMC_PRODUCT_SOCKETCOM_SDSCANNER	0x005e
 #define	SDMMC_CIS_SOCKETCOM_BTCARD	{ NULL, NULL, NULL, NULL }
 #define	SDMMC_PRODUCT_SOCKETCOM_BTCARD	0x00c5
+
+/* Realtek */
+#define	SDMMC_CIS_REALTEK_RTL8703BS	{ NULL, NULL, NULL, NULL }
+#define	SDMMC_PRODUCT_REALTEK_RTL8703BS	0xb703
+
+/* Ricoh */
+#define	SDMMC_CIS_RICOH_MMCREADER	{ NULL, NULL, NULL, NULL }
+#define	SDMMC_PRODUCT_RICOH_MMCREADER	0xe823



CVS commit: src/share/man/man4

2018-06-28 Thread Radoslaw Kujawa
Module Name:src
Committed By:   rkujawa
Date:   Thu Jun 28 13:18:19 UTC 2018

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

Log Message:
Clarify caveats.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/share/man/man4/tps65217pmic.4

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



CVS commit: src/sys/dev/sdmmc

2018-06-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Jun 28 13:31:38 UTC 2018

Modified Files:
src/sys/dev/sdmmc: sdmmcdevs

Log Message:
Add vendor REALTEK and product RTL8703BS


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

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

2018-06-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jun 28 10:14:01 UTC 2018

Modified Files:
src/distrib/sets/lists/base: shl.mi
src/distrib/sets/lists/comp: mi shl.mi
src/distrib/sets/lists/debug: mi shl.mi

Log Message:
put back lsan


To generate a diff of this commit:
cvs rdiff -u -r1.841 -r1.842 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.2205 -r1.2206 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.318 -r1.319 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.254 -r1.255 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.200 -r1.201 src/distrib/sets/lists/debug/shl.mi

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

Modified files:

Index: src/distrib/sets/lists/base/shl.mi
diff -u src/distrib/sets/lists/base/shl.mi:1.841 src/distrib/sets/lists/base/shl.mi:1.842
--- src/distrib/sets/lists/base/shl.mi:1.841	Wed Jun 27 02:08:15 2018
+++ src/distrib/sets/lists/base/shl.mi	Thu Jun 28 06:14:01 2018
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.841 2018/06/27 06:08:15 martin Exp $
+# $NetBSD: shl.mi,v 1.842 2018/06/28 10:14:01 christos Exp $
 #
 # Note:	Don't delete entries from here - mark them as "obsolete" instead,
 #	unless otherwise stated below.
@@ -381,9 +381,9 @@
 ./usr/lib/libldap_r.sobase-ldap-shlib		ldap,compatfile
 ./usr/lib/libldap_r.so.4			base-ldap-shlib		ldap,compatfile
 ./usr/lib/libldap_r.so.4.3			base-ldap-shlib		ldap,compatfile
-#./usr/lib/liblsan.sobase-sys-shlib		compatfile,gcc
-#./usr/lib/liblsan.so.1base-sys-shlib		compatfile,gcc=6
-#./usr/lib/liblsan.so.1.0			base-sys-shlib		compatfile,gcc=6
+./usr/lib/liblsan.sobase-sys-shlib		compatfile,gcc
+./usr/lib/liblsan.so.1base-sys-shlib		compatfile,gcc=6
+./usr/lib/liblsan.so.1.0			base-sys-shlib		compatfile,gcc=6
 ./usr/lib/liblua.sobase-sys-shlib		compatfile
 ./usr/lib/liblua.so.5base-sys-shlib		compatfile
 ./usr/lib/liblua.so.5.3base-sys-shlib		compatfile

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.2205 src/distrib/sets/lists/comp/mi:1.2206
--- src/distrib/sets/lists/comp/mi:1.2205	Wed Jun 27 02:08:15 2018
+++ src/distrib/sets/lists/comp/mi	Thu Jun 28 06:14:01 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.2205 2018/06/27 06:08:15 martin Exp $
+#	$NetBSD: mi,v 1.2206 2018/06/28 10:14:01 christos Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 ./etc/mtree/set.compcomp-sys-root
@@ -3423,8 +3423,8 @@
 ./usr/lib/libldap_p.acomp-ldap-proflib	compatfile,ldap,profile
 ./usr/lib/libldap_r.acomp-ldap-lib		compatfile,ldap
 ./usr/lib/libldap_r_p.acomp-ldap-proflib	compatfile,ldap,profile
-#./usr/lib/liblsan.acomp-c-lib		compatfile,gcc
-#./usr/lib/liblsan_p.acomp-c-proflib		compatfile,profile,gcc
+./usr/lib/liblsan.acomp-c-lib		compatfile,gcc
+./usr/lib/liblsan_p.acomp-c-proflib		compatfile,profile,gcc
 ./usr/lib/liblua.acomp-c-lib		compatfile
 ./usr/lib/liblua_p.acomp-c-proflib		compatfile,profile
 ./usr/lib/liblutok.acomp-c-lib		compatfile,kyua

Index: src/distrib/sets/lists/comp/shl.mi
diff -u src/distrib/sets/lists/comp/shl.mi:1.318 src/distrib/sets/lists/comp/shl.mi:1.319
--- src/distrib/sets/lists/comp/shl.mi:1.318	Wed Jun 27 02:08:15 2018
+++ src/distrib/sets/lists/comp/shl.mi	Thu Jun 28 06:14:01 2018
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.318 2018/06/27 06:08:15 martin Exp $
+# $NetBSD: shl.mi,v 1.319 2018/06/28 10:14:01 christos Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -83,7 +83,7 @@
 ./usr/lib/liblber_pic.acomp-ldap-piclib	compatfile,picinstall,ldap
 ./usr/lib/libldap_pic.acomp-ldap-piclib	compatfile,picinstall,ldap
 ./usr/lib/libldap_r_pic.a			comp-ldap-piclib	compatfile,picinstall,ldap
-#./usr/lib/liblsan_pic.acomp-c-piclib		compatfile,picinstall,gcc
+./usr/lib/liblsan_pic.acomp-c-piclib		compatfile,picinstall,gcc
 ./usr/lib/liblua_pic.acomp-c-piclib		compatfile,picinstall
 ./usr/lib/liblutok_pic.a			comp-c-piclib		compatfile,picinstall,kyua
 ./usr/lib/liblwres_pic.a			comp-bind-piclib	compatfile,picinstall

Index: src/distrib/sets/lists/debug/mi
diff -u src/distrib/sets/lists/debug/mi:1.254 src/distrib/sets/lists/debug/mi:1.255
--- src/distrib/sets/lists/debug/mi:1.254	Wed Jun 27 02:08:15 2018
+++ src/distrib/sets/lists/debug/mi	Thu Jun 28 06:14:01 2018
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.254 2018/06/27 06:08:15 martin Exp $
+# $NetBSD: mi,v 1.255 2018/06/28 10:14:01 christos Exp $
 ./etc/mtree/set.debug   comp-sys-root
 ./usr/lib	comp-sys-usr		compatdir
 ./usr/lib/i18n/libBIG5_g.a			comp-c-debuglib		debuglib,compatfile
@@ -95,7 +95,7 @@
 ./usr/lib/liblber_g.acomp-c-debuglib		debuglib,ldap,compatfile
 ./usr/lib/libldap_g.acomp-c-debuglib		debuglib,ldap,compatfile
 ./usr/lib/libldap_r_g.acomp-c-debuglib		debuglib,ldap,compatfile
-#./usr/lib/liblsan_g.acomp-c-debuglib		

CVS commit: src/lib

2018-06-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jun 28 10:14:27 UTC 2018

Modified Files:
src/lib: Makefile

Log Message:
put back lsan


To generate a diff of this commit:
cvs rdiff -u -r1.257 -r1.258 src/lib/Makefile

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

Modified files:

Index: src/lib/Makefile
diff -u src/lib/Makefile:1.257 src/lib/Makefile:1.258
--- src/lib/Makefile:1.257	Mon May 28 17:05:00 2018
+++ src/lib/Makefile	Thu Jun 28 06:14:27 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.257 2018/05/28 21:05:00 chs Exp $
+#	$NetBSD: Makefile,v 1.258 2018/06/28 10:14:27 christos Exp $
 #	from: @(#)Makefile	5.25.1.1 (Berkeley) 5/7/91
 
 .include 
@@ -165,7 +165,7 @@ SUBDIR+=	../external/gpl3/${EXTERNAL_GCC
 # 2nd library dependency barrier 
 SUBDIR+=	.WAIT
 
-.for sanitizer in asan ubsan
+.for sanitizer in asan lsan ubsan
 .if exists(../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/lib${sanitizer})
 SUBDIR+= ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/lib${sanitizer}
 .endif



CVS commit: src/lib

2018-06-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jun 28 10:14:27 UTC 2018

Modified Files:
src/lib: Makefile

Log Message:
put back lsan


To generate a diff of this commit:
cvs rdiff -u -r1.257 -r1.258 src/lib/Makefile

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

2018-06-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jun 28 10:14:01 UTC 2018

Modified Files:
src/distrib/sets/lists/base: shl.mi
src/distrib/sets/lists/comp: mi shl.mi
src/distrib/sets/lists/debug: mi shl.mi

Log Message:
put back lsan


To generate a diff of this commit:
cvs rdiff -u -r1.841 -r1.842 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.2205 -r1.2206 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.318 -r1.319 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.254 -r1.255 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.200 -r1.201 src/distrib/sets/lists/debug/shl.mi

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

2018-06-28 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Jun 28 14:01:12 UTC 2018

Modified Files:
src/external/gpl3/gcc/lib: Makefile

Log Message:
Remove (recently) commented out (recently added) liblsan SUBDIR
(it has been added a different way.)


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/lib/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/lib/Makefile
diff -u src/external/gpl3/gcc/lib/Makefile:1.16 src/external/gpl3/gcc/lib/Makefile:1.17
--- src/external/gpl3/gcc/lib/Makefile:1.16	Thu Jun 28 10:15:01 2018
+++ src/external/gpl3/gcc/lib/Makefile	Thu Jun 28 14:01:12 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.16 2018/06/28 10:15:01 christos Exp $
+#	$NetBSD: Makefile,v 1.17 2018/06/28 14:01:12 kre Exp $
 
 .include 
 
@@ -6,7 +6,6 @@
 SUBDIR+= libgcc .WAIT
 SUBDIR+= libiberty libobjc libgomp
 SUBDIR+= libbacktrace
-# SUBDIR+= liblsan
 SUBDIR+= liblto_plugin
 
 .if (${MKLIBSTDCXX} != "no") && (${MKCXX} != "no")



CVS commit: src/sys/dev/sdmmc

2018-06-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Jun 28 13:31:57 UTC 2018

Modified Files:
src/sys/dev/sdmmc: sdmmcdevs.h

Log Message:
Regen


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/sdmmc/sdmmcdevs.h

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

2018-06-28 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Jun 28 14:01:12 UTC 2018

Modified Files:
src/external/gpl3/gcc/lib: Makefile

Log Message:
Remove (recently) commented out (recently added) liblsan SUBDIR
(it has been added a different way.)


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/lib/Makefile

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

2018-06-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jun 28 10:15:01 UTC 2018

Modified Files:
src/external/gpl3/gcc/lib: Makefile
src/external/gpl3/gcc/lib/libasan: Makefile

Log Message:
put back lsan


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/lib/Makefile
cvs rdiff -u -r1.24 -r1.25 src/external/gpl3/gcc/lib/libasan/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/lib/Makefile
diff -u src/external/gpl3/gcc/lib/Makefile:1.15 src/external/gpl3/gcc/lib/Makefile:1.16
--- src/external/gpl3/gcc/lib/Makefile:1.15	Wed Jun 27 02:06:39 2018
+++ src/external/gpl3/gcc/lib/Makefile	Thu Jun 28 06:15:01 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.15 2018/06/27 06:06:39 martin Exp $
+#	$NetBSD: Makefile,v 1.16 2018/06/28 10:15:01 christos Exp $
 
 .include 
 
@@ -13,6 +13,6 @@ SUBDIR+= liblto_plugin
 SUBDIR+= libsupc++ libstdc++-v3
 .endif
 
-SUBDIR+= .WAIT libasan libubsan
+SUBDIR+= .WAIT libasan liblsan libubsan
 
 .include 

Index: src/external/gpl3/gcc/lib/libasan/Makefile
diff -u src/external/gpl3/gcc/lib/libasan/Makefile:1.24 src/external/gpl3/gcc/lib/libasan/Makefile:1.25
--- src/external/gpl3/gcc/lib/libasan/Makefile:1.24	Sat Jun  9 18:39:29 2018
+++ src/external/gpl3/gcc/lib/libasan/Makefile	Thu Jun 28 06:15:01 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2018/06/09 22:39:29 christos Exp $
+# $NetBSD: Makefile,v 1.25 2018/06/28 10:15:01 christos Exp $
 
 UNSUPPORTED_COMPILER.clang=	# defined
 NOSANITIZER=	# defined
@@ -8,7 +8,7 @@ NOSANITIZER=	# defined
 .include "../Makefile.inc"
 .include "../Makefile.sanitizer"
 
-.PATH: ${SANITIZER}/asan
+.PATH: ${SANITIZER}/asan ${SANITIZER}/lsan
 
 ASAN_SRCS= \
 asan_activation.cc \
@@ -37,7 +37,7 @@ asan_win_dll_thunk.cc \
 asan_win_dynamic_runtime_thunk.cc
 
 LIB=	asan
-SRCS+=	${ASAN_SRCS}
+SRCS+=	${ASAN_SRCS} lsan_common.cc lsan_common_linux.cc
 LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt
 
 .if ${MACHINE_ARCH} == "vax"



CVS commit: src/external/gpl3/gcc/lib

2018-06-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jun 28 10:15:01 UTC 2018

Modified Files:
src/external/gpl3/gcc/lib: Makefile
src/external/gpl3/gcc/lib/libasan: Makefile

Log Message:
put back lsan


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/lib/Makefile
cvs rdiff -u -r1.24 -r1.25 src/external/gpl3/gcc/lib/libasan/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/mii

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

Modified Files:
src/sys/dev/mii: mdio.h

Log Message:
 Add 25G(802.3by), 2.5G and 5G (802.3bz).


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/mii/mdio.h

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

Modified files:

Index: src/sys/dev/mii/mdio.h
diff -u src/sys/dev/mii/mdio.h:1.7 src/sys/dev/mii/mdio.h:1.8
--- src/sys/dev/mii/mdio.h:1.7	Tue Nov  7 05:33:12 2017
+++ src/sys/dev/mii/mdio.h	Thu Jun 28 09:12:21 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: mdio.h,v 1.7 2017/11/07 05:33:12 msaitoh Exp $	*/
+/*	$NetBSD: mdio.h,v 1.8 2018/06/28 09:12:21 msaitoh Exp $	*/
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -81,6 +81,9 @@
 #define PMAPMD_CTRL1_SPEED_10PASS (PMAPMD_CTRL1_SPEED_SEL52 | (1 << 2))
 #define PMAPMD_CTRL1_SPEED_40G	  (PMAPMD_CTRL1_SPEED_SEL52 | (2 << 2))
 #define PMAPMD_CTRL1_SPEED_100G   (PMAPMD_CTRL1_SPEED_SEL52 | (3 << 2))
+#define PMAPMD_CTRL1_SPEED_25G(PMAPMD_CTRL1_SPEED_SEL52 | (4 << 2))
+#define PMAPMD_CTRL1_SPEED_2_5G   (PMAPMD_CTRL1_SPEED_SEL52 | (6 << 2))
+#define PMAPMD_CTRL1_SPEED_5G (PMAPMD_CTRL1_SPEED_SEL52 | (7 << 2))
 
 #define MDIO_PMAPMD_STAT1		1   /* PMA/PMD status 1 */
 #define MDIO_PMAPMD_DEVID1		2   /* PMA/PMD device identifier 1 */



CVS commit: src/sys/dev/mii

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

Modified Files:
src/sys/dev/mii: mdio.h

Log Message:
 Add 25G(802.3by), 2.5G and 5G (802.3bz).


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/mii/mdio.h

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



CVS commit: [phil-wifi] src/sys/net80211

2018-06-28 Thread Phil Nelson
Module Name:src
Committed By:   phil
Date:   Thu Jun 28 21:23:01 UTC 2018

Modified Files:
src/sys/net80211 [phil-wifi]: _ieee80211.h ieee80211.h
ieee80211_action.h ieee80211_adhoc.h ieee80211_ageq.h
ieee80211_alq.h ieee80211_amrr.h ieee80211_crypto.h ieee80211_dfs.h
ieee80211_hostap.h ieee80211_ht.h ieee80211_input.h
ieee80211_ioctl.h ieee80211_mesh.h ieee80211_monitor.h
ieee80211_netbsd.h ieee80211_node.h ieee80211_phy.h
ieee80211_power.h ieee80211_proto.h ieee80211_radiotap.h
ieee80211_ratectl.h ieee80211_regdomain.h ieee80211_rssadapt.h
ieee80211_scan.h ieee80211_scan_sw.h ieee80211_sta.h
ieee80211_superg.h ieee80211_tdma.h ieee80211_var.h ieee80211_vht.h
ieee80211_wds.h

Log Message:
Add RCS ID at the top of all the files.


To generate a diff of this commit:
cvs rdiff -u -r1.10.38.1 -r1.10.38.2 src/sys/net80211/_ieee80211.h
cvs rdiff -u -r1.28.16.1 -r1.28.16.2 src/sys/net80211/ieee80211.h
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/net80211/ieee80211_action.h \
src/sys/net80211/ieee80211_adhoc.h src/sys/net80211/ieee80211_ageq.h \
src/sys/net80211/ieee80211_alq.h src/sys/net80211/ieee80211_dfs.h \
src/sys/net80211/ieee80211_hostap.h src/sys/net80211/ieee80211_input.h \
src/sys/net80211/ieee80211_mesh.h src/sys/net80211/ieee80211_monitor.h \
src/sys/net80211/ieee80211_phy.h src/sys/net80211/ieee80211_ratectl.h \
src/sys/net80211/ieee80211_scan_sw.h src/sys/net80211/ieee80211_sta.h \
src/sys/net80211/ieee80211_superg.h src/sys/net80211/ieee80211_tdma.h \
src/sys/net80211/ieee80211_vht.h src/sys/net80211/ieee80211_wds.h
cvs rdiff -u -r1.1.148.1 -r1.1.148.2 src/sys/net80211/ieee80211_amrr.h
cvs rdiff -u -r1.12.4.1 -r1.12.4.2 src/sys/net80211/ieee80211_crypto.h
cvs rdiff -u -r1.1.56.2 -r1.1.56.3 src/sys/net80211/ieee80211_ht.h \
src/sys/net80211/ieee80211_power.h src/sys/net80211/ieee80211_regdomain.h \
src/sys/net80211/ieee80211_scan.h
cvs rdiff -u -r1.24.2.1 -r1.24.2.2 src/sys/net80211/ieee80211_ioctl.h
cvs rdiff -u -r1.21.2.1 -r1.21.2.2 src/sys/net80211/ieee80211_netbsd.h
cvs rdiff -u -r1.30.2.1 -r1.30.2.2 src/sys/net80211/ieee80211_node.h
cvs rdiff -u -r1.23.16.1 -r1.23.16.2 src/sys/net80211/ieee80211_proto.h
cvs rdiff -u -r1.24.56.1 -r1.24.56.2 src/sys/net80211/ieee80211_radiotap.h
cvs rdiff -u -r1.9.18.1 -r1.9.18.2 src/sys/net80211/ieee80211_rssadapt.h
cvs rdiff -u -r1.33.2.1 -r1.33.2.2 src/sys/net80211/ieee80211_var.h

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

Modified files:

Index: src/sys/net80211/_ieee80211.h
diff -u src/sys/net80211/_ieee80211.h:1.10.38.1 src/sys/net80211/_ieee80211.h:1.10.38.2
--- src/sys/net80211/_ieee80211.h:1.10.38.1	Thu Jun 28 21:03:07 2018
+++ src/sys/net80211/_ieee80211.h	Thu Jun 28 21:23:01 2018
@@ -1,3 +1,5 @@
+/*	$NetBSD: _ieee80211.h,v 1.10.38.2 2018/06/28 21:23:01 phil Exp $ */
+
 /*-
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
  *

Index: src/sys/net80211/ieee80211.h
diff -u src/sys/net80211/ieee80211.h:1.28.16.1 src/sys/net80211/ieee80211.h:1.28.16.2
--- src/sys/net80211/ieee80211.h:1.28.16.1	Thu Jun 28 21:03:07 2018
+++ src/sys/net80211/ieee80211.h	Thu Jun 28 21:23:01 2018
@@ -1,3 +1,5 @@
+/*	$NetBSD: ieee80211.h,v 1.28.16.2 2018/06/28 21:23:01 phil Exp $ */
+
 /*-
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
  *

Index: src/sys/net80211/ieee80211_action.h
diff -u src/sys/net80211/ieee80211_action.h:1.1.2.1 src/sys/net80211/ieee80211_action.h:1.1.2.2
--- src/sys/net80211/ieee80211_action.h:1.1.2.1	Thu Jun 28 21:03:07 2018
+++ src/sys/net80211/ieee80211_action.h	Thu Jun 28 21:23:01 2018
@@ -1,3 +1,5 @@
+/*	$NetBSD: ieee80211_action.h,v 1.1.2.2 2018/06/28 21:23:01 phil Exp $ */
+
 /*-
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
  *
Index: src/sys/net80211/ieee80211_adhoc.h
diff -u src/sys/net80211/ieee80211_adhoc.h:1.1.2.1 src/sys/net80211/ieee80211_adhoc.h:1.1.2.2
--- src/sys/net80211/ieee80211_adhoc.h:1.1.2.1	Thu Jun 28 21:03:07 2018
+++ src/sys/net80211/ieee80211_adhoc.h	Thu Jun 28 21:23:01 2018
@@ -1,3 +1,5 @@
+/*	$NetBSD: ieee80211_adhoc.h,v 1.1.2.2 2018/06/28 21:23:01 phil Exp $ */
+
 /*-
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
  *
Index: src/sys/net80211/ieee80211_ageq.h
diff -u src/sys/net80211/ieee80211_ageq.h:1.1.2.1 src/sys/net80211/ieee80211_ageq.h:1.1.2.2
--- src/sys/net80211/ieee80211_ageq.h:1.1.2.1	Thu Jun 28 21:03:07 2018
+++ src/sys/net80211/ieee80211_ageq.h	Thu Jun 28 21:23:01 2018
@@ -1,3 +1,5 @@
+/*	$NetBSD: ieee80211_ageq.h,v 1.1.2.2 2018/06/28 21:23:01 phil Exp $ */
+
 /*-
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
  *
Index: src/sys/net80211/ieee80211_alq.h
diff -u src/sys/net80211/ieee80211_alq.h:1.1.2.1 src/sys/net80211/ieee80211_alq.h:1.1.2.2
--- src/sys/net80211/ieee80211_alq.h:1.1.2.1	Thu Jun 28 21:03:07 2018
+++ src/sys/net80211/ieee80211_alq.h	Thu Jun 28 

CVS commit: src/sys/dev/i2c

2018-06-28 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Jun 28 21:21:03 UTC 2018

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

Log Message:
fix a tpyo so now we get the correct maximum speed for CPU intake fans
while there, be a bit more responsive to temperature changes


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/i2c/fcu.c

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



CVS commit: [phil-wifi] src/sys/net80211

2018-06-28 Thread Phil Nelson
Module Name:src
Committed By:   phil
Date:   Thu Jun 28 21:23:01 UTC 2018

Modified Files:
src/sys/net80211 [phil-wifi]: _ieee80211.h ieee80211.h
ieee80211_action.h ieee80211_adhoc.h ieee80211_ageq.h
ieee80211_alq.h ieee80211_amrr.h ieee80211_crypto.h ieee80211_dfs.h
ieee80211_hostap.h ieee80211_ht.h ieee80211_input.h
ieee80211_ioctl.h ieee80211_mesh.h ieee80211_monitor.h
ieee80211_netbsd.h ieee80211_node.h ieee80211_phy.h
ieee80211_power.h ieee80211_proto.h ieee80211_radiotap.h
ieee80211_ratectl.h ieee80211_regdomain.h ieee80211_rssadapt.h
ieee80211_scan.h ieee80211_scan_sw.h ieee80211_sta.h
ieee80211_superg.h ieee80211_tdma.h ieee80211_var.h ieee80211_vht.h
ieee80211_wds.h

Log Message:
Add RCS ID at the top of all the files.


To generate a diff of this commit:
cvs rdiff -u -r1.10.38.1 -r1.10.38.2 src/sys/net80211/_ieee80211.h
cvs rdiff -u -r1.28.16.1 -r1.28.16.2 src/sys/net80211/ieee80211.h
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/net80211/ieee80211_action.h \
src/sys/net80211/ieee80211_adhoc.h src/sys/net80211/ieee80211_ageq.h \
src/sys/net80211/ieee80211_alq.h src/sys/net80211/ieee80211_dfs.h \
src/sys/net80211/ieee80211_hostap.h src/sys/net80211/ieee80211_input.h \
src/sys/net80211/ieee80211_mesh.h src/sys/net80211/ieee80211_monitor.h \
src/sys/net80211/ieee80211_phy.h src/sys/net80211/ieee80211_ratectl.h \
src/sys/net80211/ieee80211_scan_sw.h src/sys/net80211/ieee80211_sta.h \
src/sys/net80211/ieee80211_superg.h src/sys/net80211/ieee80211_tdma.h \
src/sys/net80211/ieee80211_vht.h src/sys/net80211/ieee80211_wds.h
cvs rdiff -u -r1.1.148.1 -r1.1.148.2 src/sys/net80211/ieee80211_amrr.h
cvs rdiff -u -r1.12.4.1 -r1.12.4.2 src/sys/net80211/ieee80211_crypto.h
cvs rdiff -u -r1.1.56.2 -r1.1.56.3 src/sys/net80211/ieee80211_ht.h \
src/sys/net80211/ieee80211_power.h src/sys/net80211/ieee80211_regdomain.h \
src/sys/net80211/ieee80211_scan.h
cvs rdiff -u -r1.24.2.1 -r1.24.2.2 src/sys/net80211/ieee80211_ioctl.h
cvs rdiff -u -r1.21.2.1 -r1.21.2.2 src/sys/net80211/ieee80211_netbsd.h
cvs rdiff -u -r1.30.2.1 -r1.30.2.2 src/sys/net80211/ieee80211_node.h
cvs rdiff -u -r1.23.16.1 -r1.23.16.2 src/sys/net80211/ieee80211_proto.h
cvs rdiff -u -r1.24.56.1 -r1.24.56.2 src/sys/net80211/ieee80211_radiotap.h
cvs rdiff -u -r1.9.18.1 -r1.9.18.2 src/sys/net80211/ieee80211_rssadapt.h
cvs rdiff -u -r1.33.2.1 -r1.33.2.2 src/sys/net80211/ieee80211_var.h

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



CVS commit: src/share/man/man4

2018-06-28 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Jun 28 22:00:50 UTC 2018

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

Log Message:
New sentence, new line.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/man/man4/tps65217pmic.4

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



Re: CVS commit: [phil-wifi] src/sys/net80211

2018-06-28 Thread Kimihiro Nonaka
Hi,

Why did you copy the FreeBSD source from the git mirror?
When you copy the source from git mirror, "$FreeBSD$" is not expanded.
So we don't know the revision number of the original file.

> Module Name:src
> Committed By:   phil
> Date:   Thu Jun 28 21:03:08 UTC 2018
>
> Modified Files:
> src/sys/net80211 [phil-wifi]: CHANGES _ieee80211.h ieee80211.c
> ieee80211.h ieee80211_acl.c ieee80211_amrr.c ieee80211_amrr.h
> ieee80211_crypto.c ieee80211_crypto.h ieee80211_crypto_ccmp.c
> ieee80211_crypto_none.c ieee80211_crypto_tkip.c
> ieee80211_crypto_wep.c ieee80211_input.c ieee80211_ioctl.c
> ieee80211_ioctl.h ieee80211_netbsd.c ieee80211_netbsd.h
> ieee80211_node.c ieee80211_node.h ieee80211_output.c
> ieee80211_proto.c ieee80211_proto.h ieee80211_radiotap.h
> ieee80211_rssadapt.c ieee80211_rssadapt.h ieee80211_var.h
> ieee80211_xauth.c
> Added Files:
> src/sys/net80211 [phil-wifi]: ieee80211_action.c ieee80211_action.h
> ieee80211_adhoc.c ieee80211_adhoc.h ieee80211_ageq.c
> ieee80211_ageq.h ieee80211_alq.c ieee80211_alq.h ieee80211_ddb.c
> ieee80211_dfs.c ieee80211_dfs.h ieee80211_hostap.c
> ieee80211_hostap.h ieee80211_ht.c ieee80211_ht.h ieee80211_hwmp.c
> ieee80211_input.h ieee80211_mesh.c ieee80211_mesh.h
> ieee80211_monitor.c ieee80211_monitor.h ieee80211_phy.c
> ieee80211_phy.h ieee80211_power.c ieee80211_power.h
> ieee80211_radiotap.c ieee80211_ratectl.c ieee80211_ratectl.h
> ieee80211_ratectl_none.c ieee80211_regdomain.c
> ieee80211_regdomain.h ieee80211_scan.c ieee80211_scan.h
> ieee80211_scan_sta.c ieee80211_scan_sw.c ieee80211_scan_sw.h
> ieee80211_sta.c ieee80211_sta.h ieee80211_superg.c
> ieee80211_superg.h ieee80211_tdma.c ieee80211_tdma.h
> ieee80211_vht.c ieee80211_vht.h ieee80211_wds.c ieee80211_wds.h
>
> Log Message:
> Start of WiFi refresh.  Copy of FreeBSD net80211 directory with git
> mirror commit id of 09e3123164ec345822e00465039503686efde455, no
> changes yet.  ieee80211_netbsd.[ch] from ieee80211_freebsd.[ch].
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.2 -r1.2.166.1 src/sys/net80211/CHANGES
> cvs rdiff -u -r1.10 -r1.10.38.1 src/sys/net80211/_ieee80211.h
> cvs rdiff -u -r1.56 -r1.56.18.1 src/sys/net80211/ieee80211.c
> cvs rdiff -u -r1.28 -r1.28.16.1 src/sys/net80211/ieee80211.h
> cvs rdiff -u -r1.9 -r1.9.54.1 src/sys/net80211/ieee80211_acl.c
> cvs rdiff -u -r0 -r1.1.2.1 src/sys/net80211/ieee80211_action.c \
> src/sys/net80211/ieee80211_action.h src/sys/net80211/ieee80211_adhoc.c \
> src/sys/net80211/ieee80211_adhoc.h src/sys/net80211/ieee80211_ageq.c \
> src/sys/net80211/ieee80211_ageq.h src/sys/net80211/ieee80211_alq.c \
> src/sys/net80211/ieee80211_alq.h src/sys/net80211/ieee80211_ddb.c \
> src/sys/net80211/ieee80211_dfs.c src/sys/net80211/ieee80211_dfs.h \
> src/sys/net80211/ieee80211_hostap.c src/sys/net80211/ieee80211_hostap.h \
> src/sys/net80211/ieee80211_hwmp.c src/sys/net80211/ieee80211_input.h \
> src/sys/net80211/ieee80211_mesh.c src/sys/net80211/ieee80211_mesh.h \
> src/sys/net80211/ieee80211_monitor.c src/sys/net80211/ieee80211_monitor.h 
> \
> src/sys/net80211/ieee80211_phy.c src/sys/net80211/ieee80211_phy.h \
> src/sys/net80211/ieee80211_radiotap.c \
> src/sys/net80211/ieee80211_ratectl.c src/sys/net80211/ieee80211_ratectl.h 
> \
> src/sys/net80211/ieee80211_ratectl_none.c \
> src/sys/net80211/ieee80211_scan_sw.c src/sys/net80211/ieee80211_scan_sw.h 
> \
> src/sys/net80211/ieee80211_sta.c src/sys/net80211/ieee80211_sta.h \
> src/sys/net80211/ieee80211_superg.c src/sys/net80211/ieee80211_superg.h \
> src/sys/net80211/ieee80211_tdma.c src/sys/net80211/ieee80211_tdma.h \
> src/sys/net80211/ieee80211_vht.c src/sys/net80211/ieee80211_vht.h \
> src/sys/net80211/ieee80211_wds.c src/sys/net80211/ieee80211_wds.h
> cvs rdiff -u -r1.3 -r1.3.18.1 src/sys/net80211/ieee80211_amrr.c
> cvs rdiff -u -r1.1 -r1.1.148.1 src/sys/net80211/ieee80211_amrr.h
> cvs rdiff -u -r1.23 -r1.23.2.1 src/sys/net80211/ieee80211_crypto.c
> cvs rdiff -u -r1.12 -r1.12.4.1 src/sys/net80211/ieee80211_crypto.h
> cvs rdiff -u -r1.14 -r1.14.2.1 src/sys/net80211/ieee80211_crypto_ccmp.c
> cvs rdiff -u -r1.8 -r1.8.4.1 src/sys/net80211/ieee80211_crypto_none.c
> cvs rdiff -u -r1.14 -r1.14.4.1 src/sys/net80211/ieee80211_crypto_tkip.c
> cvs rdiff -u -r1.12 -r1.12.2.1 src/sys/net80211/ieee80211_crypto_wep.c
> cvs rdiff -u -r0 -r1.1.56.2 src/sys/net80211/ieee80211_ht.c \
> src/sys/net80211/ieee80211_ht.h src/sys/net80211/ieee80211_power.c \
> src/sys/net80211/ieee80211_power.h src/sys/net80211/ieee80211_regdomain.c 
> \
> src/sys/net80211/ieee80211_regdomain.h src/sys/net80211/ieee80211_scan.c \
> 

CVS commit: src/share/man/man4

2018-06-28 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Jun 28 22:00:50 UTC 2018

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

Log Message:
New sentence, new line.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/man/man4/tps65217pmic.4

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

Modified files:

Index: src/share/man/man4/tps65217pmic.4
diff -u src/share/man/man4/tps65217pmic.4:1.9 src/share/man/man4/tps65217pmic.4:1.10
--- src/share/man/man4/tps65217pmic.4:1.9	Thu Jun 28 13:18:19 2018
+++ src/share/man/man4/tps65217pmic.4	Thu Jun 28 22:00:50 2018
@@ -1,4 +1,4 @@
-.\" $NetBSD: tps65217pmic.4,v 1.9 2018/06/28 13:18:19 rkujawa Exp $
+.\" $NetBSD: tps65217pmic.4,v 1.10 2018/06/28 22:00:50 wiz Exp $
 .\"
 .\" Copyright (c) 2013 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -81,7 +81,8 @@ White LED (backlight) support was added 
 .Sh CAVEATS
 The driver can only report current voltage regulator settings.
 It can not measure the real voltage, as the TPS65217 chip lacks hardware to do
-that. Some boards allow voltage measurement by connecting the power output to
+that.
+Some boards allow voltage measurement by connecting the power output to
 external sensor, or analog input of the MPU, but this is outside of the
 scope of this driver.
 .Pp



CVS commit: src/sys/dev

2018-06-28 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Jun 29 04:02:10 UTC 2018

Modified Files:
src/sys/dev/pci: if_rtwn.c if_rtwnreg.h
src/sys/dev/usb: if_urtwn.c if_urtwnreg.h if_urtwnvar.h
Added Files:
src/sys/dev/ic: rtwn_data.h rtwnreg.h
Removed Files:
src/sys/dev/usb: if_urtwn_data.h

Log Message:
- Unify the "rtwn" and "urtwn" register definitions and initialization
  tables into common header files shared by both drivers.
- Fix some register and bit definitions, from OpenBSD and verified against
  the vendor driver.
- Add some additional register / descriptor defnitions, from OpenBSD.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/dev/ic/rtwn_data.h src/sys/dev/ic/rtwnreg.h
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/pci/if_rtwn.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/if_rtwnreg.h
cvs rdiff -u -r1.59 -r1.60 src/sys/dev/usb/if_urtwn.c
cvs rdiff -u -r1.4 -r0 src/sys/dev/usb/if_urtwn_data.h
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/usb/if_urtwnreg.h
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/usb/if_urtwnvar.h

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