svn commit: r359209 - in head/sys/dev: rtwn/usb usb

2020-03-22 Thread Hans Petter Selasky
Author: hselasky
Date: Sun Mar 22 11:44:24 2020
New Revision: 359209
URL: https://svnweb.freebsd.org/changeset/base/359209

Log:
  Add new USB ID.
  
  Submitted by: Konrad Jopek 
  Differential Revision:https://reviews.freebsd.org/D24142
  MFC after:1 week
  Sponsored by: Mellanox Technologies

Modified:
  head/sys/dev/rtwn/usb/rtwn_usb_attach.h
  head/sys/dev/usb/usbdevs

Modified: head/sys/dev/rtwn/usb/rtwn_usb_attach.h
==
--- head/sys/dev/rtwn/usb/rtwn_usb_attach.h Sun Mar 22 03:10:31 2020
(r359208)
+++ head/sys/dev/rtwn/usb/rtwn_usb_attach.h Sun Mar 22 11:44:24 2020
(r359209)
@@ -160,7 +160,8 @@ static const STRUCT_USB_HOST_ID rtwn_devs[] = {
RTWN_RTL8821AU_DEV(NETGEAR, A6100),
RTWN_RTL8821AU_DEV(REALTEK, RTL8821AU_1),
RTWN_RTL8821AU_DEV(REALTEK, RTL8821AU_2),
-   RTWN_RTL8821AU_DEV(TPLINK,  T2UNANO)
+   RTWN_RTL8821AU_DEV(TPLINK,  T2UNANO),
+   RTWN_RTL8821AU_DEV(TPLINK,  T2UPLUS),
 #undef RTWN_RTL8821AU_DEV
 };
 

Modified: head/sys/dev/usb/usbdevs
==
--- head/sys/dev/usb/usbdevsSun Mar 22 03:10:31 2020(r359208)
+++ head/sys/dev/usb/usbdevsSun Mar 22 11:44:24 2020(r359209)
@@ -4667,6 +4667,7 @@ product TPLINK T4UV2  0x010d  Archer T4U ver 2
 product TPLINK T4UHV1  0x0103  Archer T4UH ver 1
 product TPLINK T4UHV2  0x010e  Archer T4UH ver 2
 product TPLINK T2UNANO 0x011e  Archer T2U Nano
+product TPLINK T2UPLUS 0x0120  Archer T2U Plus
 product TPLINK RTL8153 0x0601  RTL8153 USB 10/100/1000 LAN
 
 /* Trek Technology products */
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r359210 - head/lib/libc/gen

2020-03-22 Thread Sergio Carlavilla Delgado
Author: carlavilla (doc committer)
Date: Sun Mar 22 12:57:49 2020
New Revision: 359210
URL: https://svnweb.freebsd.org/changeset/base/359210

Log:
  exec man page: Add HISTORY section
  
  PR:   240258
  Submitted by: gbergl...@gmail.com
  Patch by: gbergl...@gmail.com
  Approved by:  bcr@(mentor)
  MFC after:2 days
  Differential Revision:https://reviews.freebsd.org/D24145

Modified:
  head/lib/libc/gen/exec.3

Modified: head/lib/libc/gen/exec.3
==
--- head/lib/libc/gen/exec.3Sun Mar 22 11:44:24 2020(r359209)
+++ head/lib/libc/gen/exec.3Sun Mar 22 12:57:49 2020(r359210)
@@ -28,7 +28,7 @@
 .\" @(#)exec.3 8.3 (Berkeley) 1/24/94
 .\" $FreeBSD$
 .\"
-.Dd July 28, 2018
+.Dd March 22, 2020
 .Dt EXEC 3
 .Os
 .Sh NAME
@@ -310,6 +310,11 @@ and
 functions
 conform to
 .St -p1003.1-88 .
+.Sh HISTORY
+The
+.Fn exec
+function appeared in
+.At v1.
 The
 .Fn execvP
 function first appeared in
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r359215 - head/etc/mtree

2020-03-22 Thread Ed Maste
Author: emaste
Date: Sun Mar 22 15:37:38 2020
New Revision: 359215
URL: https://svnweb.freebsd.org/changeset/base/359215

Log:
  pkgbase: create sendmail directories only from BSD.sendmail.dist
  
  Else when WITHOUT_SENDMAIL is set we still create a sendmail package
  that contains (only) two directories.
  
  Reviewed by:  manu
  Sponsored by: The FreeBSD Foundation
  Differential Revision:https://reviews.freebsd.org/D24149

Modified:
  head/etc/mtree/BSD.sendmail.dist
  head/etc/mtree/BSD.var.dist

Modified: head/etc/mtree/BSD.sendmail.dist
==
--- head/etc/mtree/BSD.sendmail.distSun Mar 22 15:24:25 2020
(r359214)
+++ head/etc/mtree/BSD.sendmail.distSun Mar 22 15:37:38 2020
(r359215)
@@ -7,7 +7,10 @@
 .   nochange
 var nochange
 spool   nochange tags=package=runtime
-clientmqueueuname=smmsp gname=smmsp mode=0770
+clientmqueueuname=smmsp gname=smmsp mode=0770 
tags=package=sendmail
+..
+/set gname=daemon
+mqueue  tags=package=sendmail
 ..
 ..
 ..

Modified: head/etc/mtree/BSD.var.dist
==
--- head/etc/mtree/BSD.var.dist Sun Mar 22 15:24:25 2020(r359214)
+++ head/etc/mtree/BSD.var.dist Sun Mar 22 15:37:38 2020(r359215)
@@ -84,16 +84,12 @@
 rwhogname=daemon mode=0775
 ..
 spool
-clientmqueueuname=smmsp gname=smmsp mode=0770 tags=package=sendmail
-..
 dma uname=root gname=mail mode=0770 tags=package=dma
 ..
 lockuname=uucp gname=dialer mode=0775
 ..
 /set gname=daemon
 lpd
-..
-mqueue  tags=package=sendmail
 ..
 opielocks   mode=0700
 ..
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r359216 - head/etc/mtree

2020-03-22 Thread Ed Maste
Author: emaste
Date: Sun Mar 22 16:55:20 2020
New Revision: 359216
URL: https://svnweb.freebsd.org/changeset/base/359216

Log:
  BSD.sendmail.dist: simplify mqueue group name setting
  
  Submitted by: gshapiro

Modified:
  head/etc/mtree/BSD.sendmail.dist

Modified: head/etc/mtree/BSD.sendmail.dist
==
--- head/etc/mtree/BSD.sendmail.distSun Mar 22 15:37:38 2020
(r359215)
+++ head/etc/mtree/BSD.sendmail.distSun Mar 22 16:55:20 2020
(r359216)
@@ -9,8 +9,7 @@
 spool   nochange tags=package=runtime
 clientmqueueuname=smmsp gname=smmsp mode=0770 
tags=package=sendmail
 ..
-/set gname=daemon
-mqueue  tags=package=sendmail
+mqueue  gname=daemon tags=package=sendmail
 ..
 ..
 ..
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r359218 - head/sys/riscv/riscv

2020-03-22 Thread Mitchell Horne
Author: mhorne
Date: Sun Mar 22 17:59:36 2020
New Revision: 359218
URL: https://svnweb.freebsd.org/changeset/base/359218

Log:
  Fix ordering of machine includes
  
  Remove machine/asm.h since it is unused.

Modified:
  head/sys/riscv/riscv/machdep.c

Modified: head/sys/riscv/riscv/machdep.c
==
--- head/sys/riscv/riscv/machdep.c  Sun Mar 22 17:13:19 2020
(r359217)
+++ head/sys/riscv/riscv/machdep.c  Sun Mar 22 17:59:36 2020
(r359218)
@@ -77,18 +77,16 @@ __FBSDID("$FreeBSD$");
 #include 
 #include 
 
-#include 
 #include 
+#include 
 #include 
 #include 
 #include 
 #include 
+#include 
+#include 
 #include 
 #include 
-#include 
-#include 
-
-#include 
 
 #ifdef FPE
 #include 
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r359219 - head/sys/kern

2020-03-22 Thread Rick Macklem
Author: rmacklem
Date: Sun Mar 22 18:18:30 2020
New Revision: 359219
URL: https://svnweb.freebsd.org/changeset/base/359219

Log:
  Fix an NFS mount attempt where VFS_STATFS() fails.
  
  r353150 added mnt_rootvnode and this seems to have broken NFS mounts when the
  VFS_STATFS() called just after VFS_MOUNT() returns an error.
  Then the code calls VFS_UNMOUNT(), which calls vflush(), which returns EBUSY.
  Then the thread get stuck sleeping on "mntref" in vfs_mount_destroy().
  This patch fixes this problem.
  
  Reviewed by:  kib, mjg
  Differential Revision:https://reviews.freebsd.org/D24022

Modified:
  head/sys/kern/vfs_mount.c

Modified: head/sys/kern/vfs_mount.c
==
--- head/sys/kern/vfs_mount.c   Sun Mar 22 17:59:36 2020(r359218)
+++ head/sys/kern/vfs_mount.c   Sun Mar 22 18:18:30 2020(r359219)
@@ -900,7 +900,7 @@ vfs_domount_first(
 {
struct vattr va;
struct mount *mp;
-   struct vnode *newdp;
+   struct vnode *newdp, *rootvp;
int error, error1;
 
ASSERT_VOP_ELOCKED(vp, __func__);
@@ -967,6 +967,9 @@ vfs_domount_first(
(error1 = VFS_ROOT(mp, LK_EXCLUSIVE, &newdp)) != 0) {
if (error1 != 0) {
error = error1;
+   rootvp = vfs_cache_root_clear(mp);
+   if (rootvp != NULL)
+   vrele(rootvp);
if ((error1 = VFS_UNMOUNT(mp, 0)) != 0)
printf("VFS_UNMOUNT returned %d\n", error1);
}
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r359227 - head/lib/libc/gen

2020-03-22 Thread Sergio Carlavilla Delgado
Author: carlavilla (doc committer)
Date: Sun Mar 22 20:10:05 2020
New Revision: 359227
URL: https://svnweb.freebsd.org/changeset/base/359227

Log:
  fix typo in exec man page
  
  PR:   240258
  Submitted by: gbergl...@gmail.com
  Reported by:  kib@
  Approved by:  bcr@(mentor, implicit)
  MFC after:2 days
  Differential Revision:https://reviews.freebsd.org/D24145

Modified:
  head/lib/libc/gen/exec.3

Modified: head/lib/libc/gen/exec.3
==
--- head/lib/libc/gen/exec.3Sun Mar 22 20:00:12 2020(r359226)
+++ head/lib/libc/gen/exec.3Sun Mar 22 20:10:05 2020(r359227)
@@ -314,7 +314,7 @@ conform to
 The
 .Fn exec
 function appeared in
-.At v1.
+.At v1 .
 The
 .Fn execvP
 function first appeared in
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r359228 - in head/share: syscons/keymaps vt/keymaps

2020-03-22 Thread Carlo Strub
Author: cs (ports committer)
Date: Sun Mar 22 21:41:32 2020
New Revision: 359228
URL: https://svnweb.freebsd.org/changeset/base/359228

Log:
  - sort according to scan code
  - adapt some alt and alt shift keys to other standard keyboards
  - fix ctrl-d to issue eot
  
  Approved by:  philip (implicit)

Modified:
  head/share/syscons/keymaps/colemak-dh.iso15.acc.kbd
  head/share/vt/keymaps/colemak-dh.acc.kbd

Modified: head/share/syscons/keymaps/colemak-dh.iso15.acc.kbd
==
--- head/share/syscons/keymaps/colemak-dh.iso15.acc.kbd Sun Mar 22 20:10:05 
2020(r359227)
+++ head/share/syscons/keymaps/colemak-dh.iso15.acc.kbd Sun Mar 22 21:41:32 
2020(r359228)
@@ -9,8 +9,8 @@
 # scan   cntrl  altalt   cntrl lock
 # code  base   shift  cntrl  shift  altshift  cntrl  shift state
 # --
-
-  041   '`''~'nopnopdtil   '~'nopnop O
+  000   nopnopnopnopnopnopnopnop O
+  001   escescescescescescdebug  debug   O
   002   '1''!'nopnop'¡''¹'nopnop O
   003   '2''@'nulnul'º''²'nulnul O
   004   '3''#'nopnop'ª''³'nopnop O
@@ -23,7 +23,8 @@
   011   '0'')'nopnop'~''~'nopnop O
   012   '-''_'us us '~''~'us us  O
   013   '=''+'nopnop'×''÷'nopnop O
-
+  014   bs bs deldelbs bs deldel O
+  015   ht btab   nscr   nscr   ht btab   nopnop O
   016   'q''Q'dc1dc1'ä''Ä'dc1dc1 C
   017   'w''W'etbetb'å''Å'etbetb C
   018   'f''F'ackack'ã''Ã'ackack C
@@ -36,8 +37,8 @@
   025   ';'':'nopnop'ö''Ö'nopnop O
   026   '[''{'escesc'«''~'escesc O
   027   ']''}'gs gs '»''~'gs gs  O
-  043   '\''|'fs fs '~''~'fs fs  O
-
+  028   cr cr nl nl cr cr nl nl  O
+  029   lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl   O
   030   'a''A'sohsoh'á''Á'sohsoh C
   031   'r''R'dc2dc2dgra   '~'dc2dc2 C
   032   's''S'dc3dc3'ß''~'dc3dc3 C
@@ -49,32 +50,24 @@
   038   'i''I'ht ht 'í''Í'ht ht  C
   039   'o''O'si si 'ó''Ó'si si  C
   040   ''''"'nopnop'õ''Õ'nopnop O
-
+  041   '`''~'nopnopdtil   '~'nopnop O
+  042   lshift lshift lshift lshift lshift lshift lshift lshift  O
+  043   '\''|'fs fs '~''~'fs fs  O
   044   'z''Z'subsub'æ''Æ'subsub C
   045   'x''X'cancandcir   '~'cancan C
   046   'c''C'etxetx'ç''Ç'etxetx C
-  047   'd''D'synsyn'½''¼'synsyn C
+  047   'd''D'eoteot'½''¼'synsyn C
   048   'v''V'stxstx'~''~'stxstx C
   049   'm''M'vt vt drin   '~'vt vt  C
   050   'h''H'cr cr '~''~'cr cr  C
   051   ',''<'nopnopdced   '~'nopnop O
   052   '.''>'nopnop'~''~'nopnop O
   053   '/''?'nopnop'¿''~'nopnop O
-
-  058   bs bs bs bs bs bs bs bs  O
-  086   '-''_'us us '~''~'us us  O
-  057   ' '' 'nulnul' '' 'susp   suspO
-
-  000   nopnopnopnopnopnopnopnop O
-  001   escescescescescescdebug  debug   O
-  014   bs bs deldelbs bs deldel O
-  015   ht btab   nscr   nscr   ht btab   nopnop O
-  028   cr cr nl nl cr cr nl nl  O
-  029   lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl   O
-  042   lshift lshift lshift lshift lshift lshift lshift lshift  O
   054   rshift rshift rshift rshift rshift rshift rshift rshift  O
   055   '*''*''*''*''*''*''*''*' O
   056   lalt   lalt   lalt   lalt   lalt   lalt   lalt   laltO
+  057   ' '' 'nulnul' '' 'susp   suspO
+  058   bs bs bs bs bs bs bs bs  O
   059   fkey01 fkey13 fkey25 fkey37 scr01  scr11  scr01  scr11   O
   060   fkey02 fkey14 fkey26 fkey38 scr02  scr12  scr02  scr12   O
   061   fkey03 fkey15 fkey27 fkey39 scr03  scr13  scr03  scr13   O
@@ -102,6 

svn commit: r359229 - head/usr.bin/tail

2020-03-22 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer)
Date: Sun Mar 22 21:51:50 2020
New Revision: 359229
URL: https://svnweb.freebsd.org/changeset/base/359229

Log:
  Use -F instead of -f in tail(1) examples
  
  There is an example in tail(1) manual page explaining how to use tail(1) to
  track the contents of /var/log/messages. The example uses the -f flag to
  follow the file. The problem with the -f flag is that it cannot handle the
  situation where /var/log/messages is rotated. Hence, use -F instead in the
  example.
  
  Reviewed by:  asomers
  MFC after:3 days
  Differential Revision:https://reviews.freebsd.org/D24157

Modified:
  head/usr.bin/tail/tail.1

Modified: head/usr.bin/tail/tail.1
==
--- head/usr.bin/tail/tail.1Sun Mar 22 21:41:32 2020(r359228)
+++ head/usr.bin/tail/tail.1Sun Mar 22 21:51:50 2020(r359229)
@@ -31,7 +31,7 @@
 .\"@(#)tail.1  8.1 (Berkeley) 6/6/93
 .\" $FreeBSD$
 .\"
-.Dd April 10, 2018
+.Dd March 22, 2020
 .Dt TAIL 1
 .Os
 .Sh NAME
@@ -157,7 +157,7 @@ Keep
 .Pa /var/log/messages
 open, displaying to the standard output anything appended to the file:
 .Pp
-.Dl $ tail -f /var/log/messages
+.Dl $ tail -F /var/log/messages
 .Sh SEE ALSO
 .Xr cat 1 ,
 .Xr head 1 ,
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r359231 - head/sys/mips/nlm

2020-03-22 Thread Alex Richardson
Author: arichardson
Date: Sun Mar 22 22:18:06 2020
New Revision: 359231
URL: https://svnweb.freebsd.org/changeset/base/359231

Log:
  Use a GCC-compatile compiler flag in files.xlp
  
  Seems like GCC doesn't like -Qunused-arguments, so use
  -Wno-unused-command-line-argument, which is supported by both GCC and Clang.

Modified:
  head/sys/mips/nlm/files.xlp

Modified: head/sys/mips/nlm/files.xlp
==
--- head/sys/mips/nlm/files.xlp Sun Mar 22 22:18:00 2020(r359230)
+++ head/sys/mips/nlm/files.xlp Sun Mar 22 22:18:06 2020(r359231)
@@ -23,7 +23,7 @@ mips/nlm/dev/net/sgmii.c  optional xlpge
 mips/nlm/dev/net/xaui.coptional xlpge
 mips/nlm/dev/net/xlpge.c   optional xlpge
 ucore_app.bin  optional xlpge  \
-   compile-with"${CC} -EB -march=mips32 -mabi=32 -msoft-float -I. -I$S 
-O3 -funroll-loops -fomit-frame-pointer -Qunused-arguments -mno-branch-likely 
-fno-pic -mno-abicalls -ffunction-sections -fdata-sections -G0 -Wall -Werror -c 
$S/$M/nlm/dev/net/ucore/crt0_basic.S  $S/$M/nlm/dev/net/ucore/ucore_app.c && 
${LD} -melf32btsmip_fbsd -d -warn-common -T$S/$M/nlm/dev/net/ucore/ld.ucore.S 
crt0_basic.o ucore_app.o -o ucore_app && ${OBJCOPY} -S -O binary -R .note -R 
.comment ucore_app ${.TARGET}" \
+   compile-with"${CC} -EB -march=mips32 -mabi=32 -msoft-float -I. -I$S 
-O3 -funroll-loops -fomit-frame-pointer -Wno-unused-command-line-argument 
-mno-branch-likely -fno-pic -mno-abicalls -ffunction-sections -fdata-sections 
-G0 -Wall -Werror -c $S/$M/nlm/dev/net/ucore/crt0_basic.S  
$S/$M/nlm/dev/net/ucore/ucore_app.c && ${LD} -melf32btsmip_fbsd -d -warn-common 
-T$S/$M/nlm/dev/net/ucore/ld.ucore.S crt0_basic.o ucore_app.o -o ucore_app && 
${OBJCOPY} -S -O binary -R .note -R .comment ucore_app ${.TARGET}" \
no-obj no-implicit-rule before-depend   \
clean   "crt0_basic.o ucore_app.o ucore_app ucore_app.bin"
 ucore_app_bin.hoptional xlpge  \
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r359230 - head/sys/conf

2020-03-22 Thread Alex Richardson
Author: arichardson
Date: Sun Mar 22 22:18:00 2020
New Revision: 359230
URL: https://svnweb.freebsd.org/changeset/base/359230

Log:
  Fix linking OCTEON1 kernel with LLD
  
  LLD complains that the type of .dynamic was changed. Fix this by copying
  the approach used in the mips64 ldscript.
  I do not have hardware to test this change so I only verified that the
  kernel links and the section layout looks sensible.
  
  Reviewed By:  imp, emaste
  Differential Revision: https://reviews.freebsd.org/D24093

Modified:
  head/sys/conf/ldscript.mips.octeon1

Modified: head/sys/conf/ldscript.mips.octeon1
==
--- head/sys/conf/ldscript.mips.octeon1 Sun Mar 22 21:51:50 2020
(r359229)
+++ head/sys/conf/ldscript.mips.octeon1 Sun Mar 22 22:18:00 2020
(r359230)
@@ -10,8 +10,7 @@ SECTIONS {
. = KERNLOADADDR + SIZEOF_HEADERS;
 
.text : {
-   *(.text)
-   *(.dynamic)
+   *(.text)
etext = .;
_etext = .;
. = ALIGN(0x2000);
@@ -35,8 +34,10 @@ SECTIONS {
*(.data)
. = ALIGN(32);
}
-
-   _gp = (. + 0x8000);
+   .plt : { *(.plt) }
+   _gp = ALIGN(16) + 0x7ff0;
+   .got : { *(.got.plt) *(.got) }
+   .dynamic : { *(.dynamic) }
 
.sdata : {
 _small_start = .;
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"