CVS commit: src/usr.bin/make

2020-08-21 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Aug 21 07:00:32 UTC 2020

Modified Files:
src/usr.bin/make: lst.c lst.h

Log Message:
make(1): remove type information from local variables in list library

Every node in this file is of type LstNode, which makes the 'l' in the
name 'ln' redundant.  The name 'ln' is quite close to the name 'l',
which in turn can easily be confused with the digit '1'.  Therefore,
rename 'l' to 'list' and 'ln' to 'node'.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/make/lst.c
cvs rdiff -u -r1.26 -r1.27 src/usr.bin/make/lst.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/make

2020-08-21 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Aug 21 07:04:31 UTC 2020

Modified Files:
src/usr.bin/make: lst.c

Log Message:
make(1): clean up list handling

Lst_Init never returns NULL.  Casting postfix increment to void is
unnecessary since that is quite common.  Found a last instance of a
local variable named 'nlnode'.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/make/lst.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

2020-08-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Aug 21 07:05:25 UTC 2020

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

Log Message:
Ifdef out fast path that relies on atomic 64-bit load/store.

(Really this sliding window business could probably be done with
32-bit sequence numbers and careful detection of wraparound, but
that's a little more effort to work out -- let's just unbreak the
builds for now.)


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/net/if_wg.c

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

2020-08-21 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Aug 21 08:09:55 UTC 2020

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

Log Message:
Quote dot.


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

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



CVS commit: src/bin/sh

2020-08-21 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Aug 21 08:14:45 UTC 2020

Modified Files:
src/bin/sh: sh.1

Log Message:
Remove unmatched .El and mark up signal name with Dv.


To generate a diff of this commit:
cvs rdiff -u -r1.225 -r1.226 src/bin/sh/sh.1

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



CVS commit: src/usr.bin/make

2020-08-21 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Aug 21 14:33:32 UTC 2020

Modified Files:
src/usr.bin/make: lst.c

Log Message:
make(1): revert invalid assertion

When iterating over a list, it is currently not guaranteed that the list
is marked as "!isOpen", which I had wrongly and naively assumed.

This probably means that there is some hidden bug in make, but even if
there is, this bug would be quite old already and was too small to be
detected.

Therefore, remove the assertion again, until the situation is clear and
reproduced.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.bin/make/lst.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

2020-08-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Aug 21 15:48:14 UTC 2020

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

Log Message:
Fix sysctl types.

- CTLTYPE_QUAD, not CTLTYPE_LONG, for uint64_t
- use unsigned rather than time_t -- these are all short durations
- clamp timeouts to be safe for conversion to int ticks in callout

Should fix 32-bit builds.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/net/if_wg.c

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



CVS commit: src/bin/df

2020-08-21 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Fri Aug 21 16:40:02 UTC 2020

Modified Files:
src/bin/df: df.c

Log Message:
field width of blocksize and inode can be changed by #define


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/bin/df/df.c

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



CVS commit: src/bin/df

2020-08-21 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Fri Aug 21 16:41:06 UTC 2020

Modified Files:
src/bin/df: df.c

Log Message:
- Bump Size/Used/Avail from 10 to 12, and iUsed/iAvail from 8 to 10 for 
double-digit terabyte storage.
- set the field width to the optimal, if "-h" is specified.
- if blocksize is greater than M or G, reduce the size field width.


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/bin/df/df.c

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



CVS commit: src/usr.sbin/wgconfig

2020-08-21 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 21 17:51:31 UTC 2020

Modified Files:
src/usr.sbin/wgconfig: wgconfig.c

Log Message:
Use %zu for size_t


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/wgconfig/wgconfig.c

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



CVS commit: src/sys/dev/usb

2020-08-21 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Fri Aug 21 20:16:39 UTC 2020

Modified Files:
src/sys/dev/usb: xhci.c xhcivar.h

Log Message:
xhci(4): copy HCCPARAMS regs to softc, use when needed

We'll need more than just the AC64 bit for the Isoc support coming up;
and we don't need to keep all the bits as bools in the softc.


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 src/sys/dev/usb/xhci.c
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/usb/xhcivar.h

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



CVS commit: src/sys/net

2020-08-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Aug 21 20:21:36 UTC 2020

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

Log Message:
Use lock rather than 64-bit atomics for platforms without the latter.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/net/if_wg.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

2020-08-21 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Aug 21 20:41:43 UTC 2020

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

Log Message:
get sensor name from properties, remove macppc-specific OF support


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

2020-08-21 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Aug 21 20:44:38 UTC 2020

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

Log Message:
get sensore names from properties, remove OF code


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/i2c/adm1021.c

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



CVS commit: src/sys/dev/usb

2020-08-21 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Fri Aug 21 20:46:04 UTC 2020

Modified Files:
src/sys/dev/usb: xhci.c xhcivar.h

Log Message:
xhci(4): initial support for Isochronous pipes

Needs more cleanup, and more work, particularly transaction scheduling
may need to be examined with bus analyzer (to check if too frequent/
infrequent) or various isoc pipe consumers (to check if too infrequent)
and fixed if incorrect.

Begins to address PR kern/55574.


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/sys/dev/usb/xhci.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/usb/xhcivar.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/i2c

2020-08-21 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Aug 21 21:28:22 UTC 2020

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

Log Message:
more OF -> properties for sensor names, this should be the last one


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

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



CVS commit: src/usr.bin/make

2020-08-21 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Aug 21 23:28:11 UTC 2020

Modified Files:
src/usr.bin/make: nonints.h

Log Message:
make(1): remove function declarations without definitions


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/usr.bin/make/nonints.h

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



CVS commit: src/sys/arch/arm/nvidia

2020-08-21 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Fri Aug 21 23:30:03 UTC 2020

Modified Files:
src/sys/arch/arm/nvidia: tegra_platform.c

Log Message:
#ifdef consistency.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/arm/nvidia/tegra_platform.c

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



CVS commit: src/usr.bin/make

2020-08-21 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Aug 22 00:13:16 UTC 2020

Modified Files:
src/usr.bin/make: lst.c

Log Message:
make(1): document the recently failed assertion in Lst_OpenS

In make, a list has a single iterator that can be used with Lst_Open,
Lst_Next and Lst_Close.  Because this is a single iterator, it doesn't
make sense to call Lst_Open twice in a row without the corresponding
Lst_Close.  Exactly this happens in jobs mode though.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/make/lst.c

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



CVS commit: src/usr.bin/make

2020-08-21 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Aug 22 00:48:02 UTC 2020

Modified Files:
src/usr.bin/make: dir.c dir.h main.c

Log Message:
make(1): split Dir_Init into two functions

There's just no point in having a function consisting of a big
if-then-else.


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/usr.bin/make/dir.c
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/make/dir.h
cvs rdiff -u -r1.305 -r1.306 src/usr.bin/make/main.c

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



CVS commit: src/sys/netinet

2020-08-21 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Aug 22 01:43:07 UTC 2020

Modified Files:
src/sys/netinet: ip_encap.c

Log Message:
Mark KASSERT-only variable __diagused.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/netinet/ip_encap.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/include

2020-08-21 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Aug 22 03:41:33 UTC 2020

Modified Files:
src/sys/arch/mips/include: cpuregs.h

Log Message:
Remove bogus duplicate MIPS_COP_0_CONTEXT definition, it's not a MIPS32/64
specific reg and we already define MIPS_COP_0_TLB_CONTEXT elsewhere.


To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/sys/arch/mips/include/cpuregs.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/amiga/stand/bootblock/boot

2020-08-21 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Aug 22 05:09:02 UTC 2020

Modified Files:
src/sys/arch/amiga/stand/bootblock/boot: ashldi3.s

Log Message:
Fix register order.  %d0 is higher and %d1 is lower.
This would have rarely affected.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/amiga/stand/bootblock/boot/ashldi3.s

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

2020-08-21 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Aug 22 05:32:11 UTC 2020

Modified Files:
src/sys/arch/mips/mips: locore_mips1.S

Log Message:
Explicitly #error if this is compiled with _LP64.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/arch/mips/mips/locore_mips1.S

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

2020-08-21 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Aug 22 05:52:00 UTC 2020

Modified Files:
src/sys/arch/mips/mips: locore_mips1.S

Log Message:
Change previous LP64 check to n32/n64.


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/arch/mips/mips/locore_mips1.S

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