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

2020-01-11 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jan 12 06:41:02 UTC 2020

Modified Files:
src/sys/arch/zaurus/conf: Makefile.zaurus.inc

Log Message:
Revert "Compile with -O2 by default" change in previous rev 1.11.

COPTS is defined properly after sys/arch/arm/conf/Makefile.arm rev 1.53.
See discussion in source-changes-d@ for details:
 https://mail-index.netbsd.org/source-changes-d/2020/01/thread1.html#011984


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/zaurus/conf/Makefile.zaurus.inc

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



CVS commit: src/distrib/miniroot

2020-01-11 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jan 12 03:56:14 UTC 2020

Modified Files:
src/distrib/miniroot: install.sub

Log Message:
Fix "[: SMALL test, no fallback usage" error on miniroot installation.

Avoid and replace use of '-a', '(' and ')' operatos marked obsolescent
by modern POSIX.1-2017:
 
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_16
as suggested by kre@ in PR/54835.

Should be pulled up to netbsd-9.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/distrib/miniroot/install.sub

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



CVS commit: src/bin/csh

2020-01-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jan 12 03:50:30 UTC 2020

Modified Files:
src/bin/csh: set.c

Log Message:
PR/54853: Greg Oster: unable to 'unset filec' or 'unset edit' in csh
While here allow set edit=vi


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/bin/csh/set.c

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



CVS commit: src/distrib/miniroot

2020-01-11 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jan 12 03:37:10 UTC 2020

Modified Files:
src/distrib/miniroot: install.sub

Log Message:
Fix miniroot installation failure on network configuration.  PR/54833

No particular comment in the PR.
Should be pulled up to netbsd-9.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/distrib/miniroot/install.sub

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

2020-01-11 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Jan 12 00:35:11 UTC 2020

Modified Files:
src/sys/arch/arm/imx: imxuart.c

Log Message:
Support imxuart_freq=0 (use existing settings)


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/arm/imx/imxuart.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-01-11 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Jan 11 22:21:26 UTC 2020

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

Log Message:
In gttwsi_wait(), don't use cv_timedwait_sig() -- there's no reason to
catch signals here, and the code would need to handle them properly, which
this code does not.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/i2c/gttwsi_core.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-01-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Jan 11 21:45:08 UTC 2020

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

Log Message:
Note some more layouts that work with KB_SWAPCTRLCAPS.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/share/man/man4/pckbd.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

2020-01-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Jan 11 21:43:11 UTC 2020

Modified Files:
src/sys/dev/hid: hidkbdmap.c
src/sys/dev/pckbport: wskbdmap_mfii.c

Log Message:
Support the combination of KB_SWAPCTRLCAPS and UK layout.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/hid/hidkbdmap.c
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/pckbport/wskbdmap_mfii.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

2020-01-11 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Jan 11 21:05:46 UTC 2020

Modified Files:
src/sys/dev/pci: if_rge.c if_rgereg.h

Log Message:
Start porting to NetBSD. (WIP, incomplete)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/if_rge.c src/sys/dev/pci/if_rgereg.h

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



CVS commit: src

2020-01-11 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Jan 11 20:56:51 UTC 2020

Added Files:
src/share/man/man4: rge.4
src/sys/dev/pci: if_rge.c if_rgereg.h

Log Message:
Import rge(4) from OpenBSD for Realtek's RTL8125 based 2.5GbE network cards.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/share/man/man4/rge.4
cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/if_rge.c src/sys/dev/pci/if_rgereg.h

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



CVS commit: src/sys/uvm

2020-01-11 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat Jan 11 19:51:01 UTC 2020

Modified Files:
src/sys/uvm: uvm_page.c

Log Message:
- uvm_pagezerocheck(): put a global lock around it to protect the single
  page mapping (DEBUG only).

- uvm_pagefree(): increment zeropages as needed.


To generate a diff of this commit:
cvs rdiff -u -r1.222 -r1.223 src/sys/uvm/uvm_page.c

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



CVS commit: src/sys/arch/arm/include/arm32

2020-01-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 11 19:06:35 UTC 2020

Modified Files:
src/sys/arch/arm/include/arm32: vmparam.h

Log Message:
Define the min and max page size supported for the benefit of jemalloc


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/arm/include/arm32/vmparam.h

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



CVS commit: src/sbin/fsck_msdos

2020-01-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 11 16:29:07 UTC 2020

Modified Files:
src/sbin/fsck_msdos: boot.c

Log Message:
Don't add the 2 reserved clusters before we determine if we using fat16/fat32.
>From FreeBSD: https://reviews.freebsd.org/D23082:

Correct off-by-two issue when determining FAT type.

In the code we used NumClusters as the upper (non-inclusive) boundary
of valid cluster number, so the actual value was 2 (CLUST_FIRST) more
than the real number of clusters. This causes a FAT16 media with
65524 clusters be treated as FAT32 and might affect FAT12 media with
4084 clusters as well.

To fix this, we increment NumClusters by CLUST_FIRST after the type
determination.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sbin/fsck_msdos/boot.c

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