Re: CVS commit: src

2021-07-25 Thread Ryo ONODERA
rs
> diff -u src/sys/conf/majors:1.97 src/sys/conf/majors:1.98
> --- src/sys/conf/majors:1.97  Sun Dec  6 02:57:30 2020
> +++ src/sys/conf/majors   Sat Jul 24 11:39:19 2021
> @@ -1,4 +1,4 @@
> -# $NetBSD: majors,v 1.97 2020/12/06 02:57:30 jmcneill Exp $
> +# $NetBSD: majors,v 1.98 2021/07/24 11:39:19 jmcneill Exp $
>  #
>  # Device majors for Machine-Independent drivers.
>  #
> @@ -91,3 +91,4 @@ device-major vio9p char 356vio9
>  device-major fault char 357 fault
>  device-major wwanc char 358 wwanc
>  device-major acpi  char 359acpi
> +device-major smbioschar 360smbios
>
> Index: src/sys/dev/smbios.c
> diff -u src/sys/dev/smbios.c:1.1 src/sys/dev/smbios.c:1.2
> --- src/sys/dev/smbios.c:1.1  Wed Jul 21 23:16:09 2021
> +++ src/sys/dev/smbios.c  Sat Jul 24 11:39:19 2021
> @@ -1,4 +1,4 @@
> -/*   $NetBSD: smbios.c,v 1.1 2021/07/21 23:16:09 jmcneill Exp $  */
> +/*   $NetBSD: smbios.c,v 1.2 2021/07/24 11:39:19 jmcneill Exp $  */
>  
>  /*
>   * Copyright (c) 1999 The NetBSD Foundation, Inc.
> @@ -86,12 +86,15 @@
>   */
>  
>  #include 
> -__KERNEL_RCSID(0, "$NetBSD: smbios.c,v 1.1 2021/07/21 23:16:09 jmcneill Exp 
> $");
> +__KERNEL_RCSID(0, "$NetBSD: smbios.c,v 1.2 2021/07/24 11:39:19 jmcneill Exp 
> $");
>  
>  #include 
> +#include 
>  #include 
>  #include 
>  
> +#include 
> +
>  #include 
>  
>  #define  SMBIOS_MAKESIG(a, b, c, d)  \
> @@ -99,6 +102,104 @@ __KERNEL_RCSID(0, "$NetBSD: smbios.c,v 1
>  
>  struct smbios_entry smbios_entry;
>  
> +static dev_type_read(smbios_read);
> +
> +const struct cdevsw smbios_cdevsw = {
> + .d_open = nullopen,
> + .d_close= nullclose,
> + .d_read = smbios_read,
> + .d_write= nowrite,
> + .d_ioctl= noioctl,
> + .d_stop = nostop,
> + .d_tty  = notty,
> + .d_poll = nopoll,
> + .d_mmap = nommap,
> + .d_kqfilter = nokqfilter,
> + .d_discard  = nodiscard,
> + .d_flag = D_OTHER | D_MPSAFE,
> +};
> +
> +static void *
> +smbios_map_memory(paddr_t pa, size_t size)
> +{
> + paddr_t spa, epa, curpa;
> + vaddr_t va, curva;
> +
> + spa = trunc_page(pa);
> + epa = round_page(pa + size);
> +
> + va = uvm_km_alloc(kernel_map, epa - spa, 0, UVM_KMF_VAONLY);
> + if (va == 0) {
> + return NULL;
> + }
> +
> + for (curpa = spa, curva = va; curpa < epa; curpa += PAGE_SIZE, curva += 
> PAGE_SIZE) {
> + pmap_kenter_pa(curva, curpa, VM_PROT_READ, PMAP_WRITE_BACK);
> + }
> + pmap_update(pmap_kernel());
> +
> + return (void *)(va + (pa - spa));
> +}
> +
> +static void
> +smbios_unmap_memory(void *va, size_t size)
> +{
> + vaddr_t ova;
> + vsize_t osz;
> +
> + ova = trunc_page((vaddr_t)va);
> + osz = round_page((vaddr_t)va + size) - ova;
> +
> + pmap_kremove(ova, osz);
> + pmap_update(pmap_kernel());
> + uvm_km_free(kernel_map, ova, osz, UVM_KMF_VAONLY);
> +}
> +
> +/*
> + * smbios_read --
> + *
> + *   Read data from an SMBIOS table that resides in physical memory.
> + */
> +static int
> +smbios_read(dev_t dev, struct uio *uio, int flag)
> +{
> + paddr_t pa;
> + uint8_t *data;
> + size_t len;
> + int error;
> +
> + if (smbios_entry.addr == NULL) {
> + return EIO;
> + }
> + if (uio->uio_rw != UIO_READ) {
> + return EPERM;
> + }
> +
> + pa = uio->uio_offset;
> + if (pa == smbios_entry.hdrphys) {
> + /* SMBIOS header */
> + len = uimin(0x20, uio->uio_resid);
> +
> + } else {
> + /* Table data */
> + if (pa < smbios_entry.tabphys ||
> + pa >= smbios_entry.tabphys + smbios_entry.len) {
> + return EFAULT;
> +     }
> + len = uimin(smbios_entry.len - (pa - smbios_entry.tabphys),
> + uio->uio_resid);
> + }
> +
> + data = smbios_map_memory(pa, len);
> + if (data == NULL) {
> + return ENOMEM;
> + }
> + error = uiomove(data, len, uio);
> + smbios_unmap_memory(data, len);
> +
> + return error;
> +}
> +
>  int
>  smbios2_check_header(const uint8_t *p)
>  {
> Index: src/sys/dev/smbiosvar.h
> diff -u src/sys/dev/smbiosvar.h:1.1 src/sys/dev/smbiosvar.h:1.2
> --- src/sys/dev/smbiosvar.h:1.1   Wed Jul 21 23:16:09 2021
> +++ src/sys/dev/smbiosvar.h   Sat Jul 24 11:39:19 2021
> @@ -1,4 +1,4 @@
> -/*   $NetBSD: smbiosvar.h,v 1.1 2021/07/21 23:16:09 jmcneill Exp $ */
> +/*   $NetBSD: smbiosvar.h,v 1.2 2021/07/24 11:39:19 jmcneill Exp $ */
>  /*
>   * Copyright (c) 2006 Gordon Willem Klok 
>   * Copyright (c) 2005 Jordan Hargrave
> @@ -41,6 +41,8 @@
>  #define SMBIOS_UUID_REPLEN 37 /* 16 zero padded values, 4 hyphens, 1 null */
>  
>  struct smbios_entry {
> + paddr_t hdrphys;
> + paddr_t tabphys;
>   uint8_t rev;
>   uint8_t mjr;
>   uint8_t min;
>

-- 
Ryo ONODERA // r...@tetera.org
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


CVS commit: src

2021-03-17 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Wed Mar 17 15:26:20 UTC 2021

Modified Files:
src: README.md

Log Message:
Improve URL consistency

Replace netbsd.org in URL with NetBSD.org and add www. to URL of web server.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/README.md

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

Modified files:

Index: src/README.md
diff -u src/README.md:1.5 src/README.md:1.6
--- src/README.md:1.5	Fri Jan 10 12:33:28 2020
+++ src/README.md	Wed Mar 17 15:26:20 2021
@@ -19,8 +19,8 @@ Additional build information available i
 Binaries
 
 
-- [Daily builds](https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/)
-- [Releases](https://cdn.netbsd.org/pub/NetBSD/)
+- [Daily builds](https://nycdn.NetBSD.org/pub/NetBSD-daily/HEAD/latest/)
+- [Releases](https://cdn.NetBSD.org/pub/NetBSD/)
 
 Testing
 ---
@@ -32,9 +32,9 @@ On a running NetBSD system:
 Troubleshooting
 ---
 
-- Send bugs and patches [via web form](https://www.netbsd.org/cgi-bin/sendpr.cgi?gndb=netbsd).
-- Subscribe to the [mailing lists](https://www.netbsd.org/mailinglists/).
-  The [netbsd-users](https://netbsd.org/mailinglists/#netbsd-users) list is a good choice for many problems; watch [current-users](https://netbsd.org/mailinglists/#current-users) if you follow the bleeding edge of NetBSD-current.
+- Send bugs and patches [via web form](https://www.NetBSD.org/cgi-bin/sendpr.cgi?gndb=netbsd).
+- Subscribe to the [mailing lists](https://www.NetBSD.org/mailinglists/).
+  The [netbsd-users](https://www.NetBSD.org/mailinglists/#netbsd-users) list is a good choice for many problems; watch [current-users](https://www.NetBSD.org/mailinglists/#current-users) if you follow the bleeding edge of NetBSD-current.
 - Join the community IRC channel [#netbsd @ freenode](https://webchat.freenode.net/?channels=#netbsd).
 
 Latest sources
@@ -51,6 +51,6 @@ To work in the Git mirror, which is upda
 Additional Links
 
 
-- [The NetBSD Guide](https://www.netbsd.org/docs/guide/en/)
-- [NetBSD manual pages](http://man.netbsd.org/)
-- [NetBSD Cross-Reference](https://nxr.netbsd.org/)
+- [The NetBSD Guide](https://www.NetBSD.org/docs/guide/en/)
+- [NetBSD manual pages](http://man.NetBSD.org/)
+- [NetBSD Cross-Reference](https://nxr.NetBSD.org/)



CVS commit: src/sys/fs/msdosfs

2021-02-10 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Thu Feb 11 00:15:55 UTC 2021

Modified Files:
src/sys/fs/msdosfs: msdosfs_vfsops.c

Log Message:
Enable to mount Raspberry Pi Pico's USB mass storage partition

Fix PR kern/55985.
O.k. by thorpej@.

Pull-up to netbsd-8 and netbsd-9.


To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 src/sys/fs/msdosfs/msdosfs_vfsops.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/fs/msdosfs/msdosfs_vfsops.c
diff -u src/sys/fs/msdosfs/msdosfs_vfsops.c:1.135 src/sys/fs/msdosfs/msdosfs_vfsops.c:1.136
--- src/sys/fs/msdosfs/msdosfs_vfsops.c:1.135	Mon Apr 13 19:23:17 2020
+++ src/sys/fs/msdosfs/msdosfs_vfsops.c	Thu Feb 11 00:15:55 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: msdosfs_vfsops.c,v 1.135 2020/04/13 19:23:17 ad Exp $	*/
+/*	$NetBSD: msdosfs_vfsops.c,v 1.136 2021/02/11 00:15:55 ryoon Exp $	*/
 
 /*-
  * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -48,7 +48,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: msdosfs_vfsops.c,v 1.135 2020/04/13 19:23:17 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: msdosfs_vfsops.c,v 1.136 2021/02/11 00:15:55 ryoon Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -520,6 +520,13 @@ msdosfs_mountfs(struct vnode *devvp, str
 	b50 = (struct byte_bpb50 *)bsp->bs50.bsBPB;
 	b710 = (struct byte_bpb710 *)bsp->bs710.bsBPB;
 
+#if 0
+	/*
+	 * Some FAT partition, for example Raspberry Pi Pico's
+	 * USB mass storage, does not have exptected BOOTSIGs.
+	 * According to FreeBSD's comment, some PC-9800/9821
+	 * FAT floppy disks have similar problems.
+	 */
 	if (!(argp->flags & MSDOSFSMNT_GEMDOSFS)) {
 		if (bsp->bs50.bsBootSectSig0 != BOOTSIG0
 		|| bsp->bs50.bsBootSectSig1 != BOOTSIG1) {
@@ -530,6 +537,7 @@ msdosfs_mountfs(struct vnode *devvp, str
 			goto error_exit;
 		}
 	}
+#endif
 
 	pmp = malloc(sizeof(*pmp), M_MSDOSFSMNT, M_WAITOK|M_ZERO);
 	pmp->pm_mountp = mp;



CVS commit: src/sys/dev/pci

2021-02-07 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sun Feb  7 11:25:56 UTC 2021

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

Log Message:
Allow MSIX and MSI for interrupt type


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/pci/xhci_pci.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/xhci_pci.c
diff -u src/sys/dev/pci/xhci_pci.c:1.27 src/sys/dev/pci/xhci_pci.c:1.28
--- src/sys/dev/pci/xhci_pci.c:1.27	Sun Feb  7 04:58:17 2021
+++ src/sys/dev/pci/xhci_pci.c	Sun Feb  7 11:25:56 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: xhci_pci.c,v 1.27 2021/02/07 04:58:17 dbj Exp $	*/
+/*	$NetBSD: xhci_pci.c,v 1.28 2021/02/07 11:25:56 ryoon Exp $	*/
 /*	OpenBSD: xhci_pci.c,v 1.4 2014/07/12 17:38:51 yuo Exp	*/
 
 /*
@@ -32,7 +32,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: xhci_pci.c,v 1.27 2021/02/07 04:58:17 dbj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci_pci.c,v 1.28 2021/02/07 11:25:56 ryoon Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_xhci_pci.h"
@@ -223,7 +223,7 @@ xhci_pci_attach(device_t parent, device_
 #endif
 
 	/* Allocate and establish the interrupt. */
-	if (pci_intr_alloc(pa, >sc_pihp, counts, 0)) {
+	if (pci_intr_alloc(pa, >sc_pihp, counts, PCI_INTR_TYPE_MSIX)) {
 		aprint_error_dev(self, "can't allocate handler\n");
 		goto fail;
 	}



CVS commit: src/external/gpl2/send-pr/dist/send-pr

2021-02-03 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Wed Feb  3 15:42:53 UTC 2021

Modified Files:
src/external/gpl2/send-pr/dist/send-pr: send-pr-el.in

Log Message:
Do not use old-style backquotes and other old-style expressions.

Fix PR misc/55918.
Tested with pkgsrc/editors/emacs26 and emacs27.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl2/send-pr/dist/send-pr/send-pr-el.in

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

Modified files:

Index: src/external/gpl2/send-pr/dist/send-pr/send-pr-el.in
diff -u src/external/gpl2/send-pr/dist/send-pr/send-pr-el.in:1.2 src/external/gpl2/send-pr/dist/send-pr/send-pr-el.in:1.3
--- src/external/gpl2/send-pr/dist/send-pr/send-pr-el.in:1.2	Thu Jan 14 21:13:20 2016
+++ src/external/gpl2/send-pr/dist/send-pr/send-pr-el.in	Wed Feb  3 15:42:53 2021
@@ -151,23 +151,23 @@ at runtime.")
 ;;; during runtime instead of having them here in the code.
 ;;;
 (defconst send-pr::fields
-  (` (("Category" send-pr::set-categories
-   (, (or (gnats::get-config "DEFAULT_CATEGORY") nil)) enum)
+`(("Category" send-pr::set-categories
+   ,(or (gnats::get-config "DEFAULT_CATEGORY") nil) enum)
   ("Class" (("sw-bug") ("doc-bug") ("change-request") ("support"))
-   (, (or (gnats::get-config "DEFAULT_CLASS") 0)) enum)
+   ,(or (gnats::get-config "DEFAULT_CLASS") 0) enum)
   ("Confidential" (("yes") ("no"))
-   (, (or (gnats::get-config "DEFAULT_CONFIDENTIAL") 1)) enum)
+   ,(or (gnats::get-config "DEFAULT_CONFIDENTIAL") 1) enum)
   ("Severity" (("non-critical") ("serious") ("critical"))
-   (, (or (gnats::get-config "DEFAULT_SEVERITY") 1)) enum)
+   ,(or (gnats::get-config "DEFAULT_SEVERITY") 1) enum)
   ("Priority" (("low") ("medium") ("high"))
-   (, (or (gnats::get-config "DEFAULT_PRIORITY") 1)) enum)
+   ,(or (gnats::get-config "DEFAULT_PRIORITY") 1) enum)
   ("Release" nil
-   (, (or (gnats::get-config "DEFAULT_RELEASE") "xDEFAULT_RELEASEx"))
+   ,(or (gnats::get-config "DEFAULT_RELEASE") "`uname -s` `uname -r`")
text)
   ("Submitter-Id" nil
-   (, (or (gnats::get-config "SUBMITTER") "xSUBMITTERx")) text)
+   ,(or (gnats::get-config "SUBMITTER") "net") text)
   ("Synopsis" nil nil text
-   (lambda (a b c) (gnats::set-mail-field "Subject" c)
+   (lambda (a b c) (gnats::set-mail-field "Subject" c
   "AList, keyed on the name of the field, of:
 1) The field name.
 2) The list of completions.  This can be a list, a function to call, or nil.
@@ -178,7 +178,7 @@ at runtime.")
 (defvar gnats::fields nil)
 
 (defmacro gnats::push (i l)
-  (` (setq (, l) (cons (,@ (list i l))
+  `(setq ,l (cons ,@ (list i l
 
 (defun send-pr::set-categories ( arg)
   "Get the list of categories for the current site out of



CVS commit: src/sys/dev/usb

2021-01-10 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sun Jan 10 15:50:16 UTC 2021

Modified Files:
src/sys/dev/usb: uaudio.c

Log Message:
Add whitespace after comma


To generate a diff of this commit:
cvs rdiff -u -r1.167 -r1.168 src/sys/dev/usb/uaudio.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/usb/uaudio.c
diff -u src/sys/dev/usb/uaudio.c:1.167 src/sys/dev/usb/uaudio.c:1.168
--- src/sys/dev/usb/uaudio.c:1.167	Sun Jan 10 13:17:44 2021
+++ src/sys/dev/usb/uaudio.c	Sun Jan 10 15:50:16 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: uaudio.c,v 1.167 2021/01/10 13:17:44 ryoon Exp $	*/
+/*	$NetBSD: uaudio.c,v 1.168 2021/01/10 15:50:16 ryoon Exp $	*/
 
 /*
  * Copyright (c) 1999, 2012 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.167 2021/01/10 13:17:44 ryoon Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.168 2021/01/10 15:50:16 ryoon Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1786,7 +1786,7 @@ uaudio_identify_as(struct uaudio_softc *
 			 id->bNumEndpoints);
 			break;
 		}
-		id = uaudio_find_iface(tbuf, size, ,UISUBCLASS_AUDIOSTREAM);
+		id = uaudio_find_iface(tbuf, size, , UISUBCLASS_AUDIOSTREAM);
 		if (id == NULL)
 			break;
 	}



CVS commit: src/sys/dev/usb

2021-01-10 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sun Jan 10 13:17:44 UTC 2021

Modified Files:
src/sys/dev/usb: uaudio.c

Log Message:
Fix a typo in debug message


To generate a diff of this commit:
cvs rdiff -u -r1.166 -r1.167 src/sys/dev/usb/uaudio.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/usb/uaudio.c
diff -u src/sys/dev/usb/uaudio.c:1.166 src/sys/dev/usb/uaudio.c:1.167
--- src/sys/dev/usb/uaudio.c:1.166	Tue Dec 29 08:04:59 2020
+++ src/sys/dev/usb/uaudio.c	Sun Jan 10 13:17:44 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: uaudio.c,v 1.166 2020/12/29 08:04:59 jdc Exp $	*/
+/*	$NetBSD: uaudio.c,v 1.167 2021/01/10 13:17:44 ryoon Exp $	*/
 
 /*
  * Copyright (c) 1999, 2012 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.166 2020/12/29 08:04:59 jdc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.167 2021/01/10 13:17:44 ryoon Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1546,7 +1546,7 @@ uaudio_process_as(struct uaudio_softc *s
 	if (asid->bDescriptorType != UDESC_CS_INTERFACE ||
 	asid->bDescriptorSubtype != AS_GENERAL)
 		return USBD_INVAL;
-	DPRINTF("asid: bTerminakLink=%d wFormatTag=%d\n",
+	DPRINTF("asid: bTerminalLink=%d wFormatTag=%d\n",
 		 asid->bTerminalLink, UGETW(asid->wFormatTag));
 	offs += asid->bLength;
 	if (offs > size)



CVS commit: src/sbin/newfs_msdos

2020-12-11 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Fri Dec 11 18:49:38 UTC 2020

Modified Files:
src/sbin/newfs_msdos: newfs_msdos.8

Log Message:
Describe after example like other examples


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sbin/newfs_msdos/newfs_msdos.8

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

Modified files:

Index: src/sbin/newfs_msdos/newfs_msdos.8
diff -u src/sbin/newfs_msdos/newfs_msdos.8:1.23 src/sbin/newfs_msdos/newfs_msdos.8:1.24
--- src/sbin/newfs_msdos/newfs_msdos.8:1.23	Fri Feb 17 09:29:35 2017
+++ src/sbin/newfs_msdos/newfs_msdos.8	Fri Dec 11 18:49:37 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: newfs_msdos.8,v 1.23 2017/02/17 09:29:35 wiz Exp $
+.\" $NetBSD: newfs_msdos.8,v 1.24 2020/12/11 18:49:37 ryoon Exp $
 .\"
 .\" Copyright (c) 1998 Robert Nordier
 .\" All rights reserved.
@@ -228,11 +228,12 @@ Create a standard 1.44M file system, wit
 .Ar foo ,
 on
 .Pa /dev/rfd0a .
-Create a 30MB image file, with the FAT partition starting
-63 sectors within the image file:
 .Bd -literal -offset indent
 newfs_msdos -C 30M -@63s ./somefile
 .Ed
+.Pp
+Create a 30MB image file, with the FAT partition starting
+63 sectors within the image file:
 .Sh DIAGNOSTICS
 Exit status is 0 on success and 1 on error.
 .Sh SEE ALSO



CVS commit: src/sys/arch/x86/x86

2020-10-12 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Oct 12 12:11:03 UTC 2020

Modified Files:
src/sys/arch/x86/x86: hyperv.c

Log Message:
Fix typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x86/x86/hyperv.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/arch/x86/x86/hyperv.c
diff -u src/sys/arch/x86/x86/hyperv.c:1.11 src/sys/arch/x86/x86/hyperv.c:1.12
--- src/sys/arch/x86/x86/hyperv.c:1.11	Tue Jul 14 00:45:53 2020
+++ src/sys/arch/x86/x86/hyperv.c	Mon Oct 12 12:11:03 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: hyperv.c,v 1.11 2020/07/14 00:45:53 yamaguchi Exp $	*/
+/*	$NetBSD: hyperv.c,v 1.12 2020/10/12 12:11:03 ryoon Exp $	*/
 
 /*-
  * Copyright (c) 2009-2012,2016-2017 Microsoft Corp.
@@ -29,11 +29,11 @@
  */
 
 /**
- * Implements low-level interactions with Hyper-V/Azuree
+ * Implements low-level interactions with Hyper-V/Azure
  */
 #include 
 #ifdef __KERNEL_RCSID
-__KERNEL_RCSID(0, "$NetBSD: hyperv.c,v 1.11 2020/07/14 00:45:53 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hyperv.c,v 1.12 2020/10/12 12:11:03 ryoon Exp $");
 #endif
 #ifdef __FBSDID
 __FBSDID("$FreeBSD: head/sys/dev/hyperv/vmbus/hyperv.c 331757 2018-03-30 02:25:12Z emaste $");



CVS commit: src/sys/dev/usb

2020-09-07 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Sep  7 06:32:13 UTC 2020

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
Add Buffalo BWC-35H01 or BWC-30L01


To generate a diff of this commit:
cvs rdiff -u -r1.785 -r1.786 src/sys/dev/usb/usbdevs

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/usb/usbdevs
diff -u src/sys/dev/usb/usbdevs:1.785 src/sys/dev/usb/usbdevs:1.786
--- src/sys/dev/usb/usbdevs:1.785	Tue Aug 18 02:53:01 2020
+++ src/sys/dev/usb/usbdevs	Mon Sep  7 06:32:13 2020
@@ -1,4 +1,4 @@
-$NetBSD: usbdevs,v 1.785 2020/08/18 02:53:01 simonb Exp $
+$NetBSD: usbdevs,v 1.786 2020/09/07 06:32:13 ryoon Exp $
 
 /*-
  * Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@@ -1179,6 +1179,7 @@ product CHICONY RTL8188CUS_4	0xaffa	RTL8
 product CHICONY RTL8188CUS_5	0xaffb	RTL8188CUS
 product CHICONY RTL8188CUS_6	0xaffc	RTL8188CUS
 product CHICONY2 TWINKLECAM	0x600d	TwinkleCam USB camera
+product CHICONY2 BWC35HL01	0x602c	Buffalo WBC-35H/L01
 
 /* CH Products */
 product CHPRODUCTS PROTHROTTLE	0x00f1	Pro Throttle



CVS commit: src/share/man/man4/man4.i386

2020-08-25 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Aug 25 15:31:24 UTC 2020

Modified Files:
src/share/man/man4/man4.i386: spic.4

Log Message:
Sort correctly, pointed by wiz@. Thank you


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/man4.i386/spic.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/man4.i386/spic.4
diff -u src/share/man/man4/man4.i386/spic.4:1.5 src/share/man/man4/man4.i386/spic.4:1.6
--- src/share/man/man4/man4.i386/spic.4:1.5	Mon Aug 24 19:32:33 2020
+++ src/share/man/man4/man4.i386/spic.4	Tue Aug 25 15:31:24 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: spic.4,v 1.5 2020/08/24 19:32:33 ryoon Exp $
+.\" $NetBSD: spic.4,v 1.6 2020/08/25 15:31:24 ryoon Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -57,8 +57,8 @@ The jog dial works as a
 scroll button, and clicking it generates a click with the "middle" button.
 .Sh SEE ALSO
 .Xr acpi 4 ,
-.Xr wsmouse 4 ,
-.Xr sony 4
+.Xr sony 4 ,
+.Xr wsmouse 4
 .Sh HISTORY
 The
 .Nm



CVS commit: src/share/man/man4/man4.i386

2020-08-24 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Aug 24 19:36:32 UTC 2020

Modified Files:
src/share/man/man4/man4.i386: elansc.4

Log Message:
Do not split for AUTHORS

And bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/share/man/man4/man4.i386/elansc.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/man4.i386/elansc.4
diff -u src/share/man/man4/man4.i386/elansc.4:1.15 src/share/man/man4/man4.i386/elansc.4:1.16
--- src/share/man/man4/man4.i386/elansc.4:1.15	Sat Feb 18 22:39:01 2017
+++ src/share/man/man4/man4.i386/elansc.4	Mon Aug 24 19:36:32 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: elansc.4,v 1.15 2017/02/18 22:39:01 wiz Exp $
+.\"	$NetBSD: elansc.4,v 1.16 2020/08/24 19:36:32 ryoon Exp $
 .\"
 .\" Copyright (c) 2002 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 February 17, 2017
+.Dd August 25, 2020
 .Dt ELANSC 4 i386
 .Os
 .Sh NAME
@@ -110,6 +110,7 @@ Support for PCI exceptions reporting and
 first appeared in
 .Nx 5.0 .
 .Sh AUTHORS
+.An -nosplit
 The
 .Nm
 driver was written by



CVS commit: src/share/man/man4/man4.i386

2020-08-24 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Aug 24 19:32:33 UTC 2020

Modified Files:
src/share/man/man4/man4.i386: spic.4

Log Message:
Add a missing comma

And bump date


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/man4.i386/spic.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/man4.i386/spic.4
diff -u src/share/man/man4/man4.i386/spic.4:1.4 src/share/man/man4/man4.i386/spic.4:1.5
--- src/share/man/man4/man4.i386/spic.4:1.4	Tue Apr  5 08:24:43 2011
+++ src/share/man/man4/man4.i386/spic.4	Mon Aug 24 19:32:33 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: spic.4,v 1.4 2011/04/05 08:24:43 wiz Exp $
+.\" $NetBSD: spic.4,v 1.5 2020/08/24 19:32:33 ryoon Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -57,7 +57,8 @@ The jog dial works as a
 scroll button, and clicking it generates a click with the "middle" button.
 .Sh SEE ALSO
 .Xr acpi 4 ,
-.Xr wsmouse 4
+.Xr wsmouse 4 ,
+.Xr sony 4
 .Sh HISTORY
 The
 .Nm



CVS commit: src/share/man/man4

2020-08-24 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Aug 24 19:30:00 UTC 2020

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

Log Message:
Add COMPAT_90

And bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.514 -r1.515 src/share/man/man4/options.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/options.4
diff -u src/share/man/man4/options.4:1.514 src/share/man/man4/options.4:1.515
--- src/share/man/man4/options.4:1.514	Tue Aug  4 06:10:27 2020
+++ src/share/man/man4/options.4	Mon Aug 24 19:30:00 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: options.4,v 1.514 2020/08/04 06:10:27 skrll Exp $
+.\"	$NetBSD: options.4,v 1.515 2020/08/24 19:30:00 ryoon Exp $
 .\"
 .\" Copyright (c) 1996
 .\" 	Perry E. Metzger.  All rights reserved.
@@ -30,7 +30,7 @@
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\"
-.Dd August 4, 2020
+.Dd August 25, 2020
 .Dt OPTIONS 4
 .Os
 .Sh NAME
@@ -398,6 +398,12 @@ Enable binary compatibility with
 This provides support for old
 .Xr route 4
 interfaces.
+.It Cd options COMPAT_80
+Enable binary compatibility with
+.Nx 8.0 .
+.It Cd options COMPAT_90
+Enable binary compatibility with
+.Nx 9.0 .
 .It Cd options COMPAT_BSDPTY
 This option is currently on by default and enables the pty multiplexer
 .Xr ptm 4



CVS commit: src/share/man/man4

2020-08-24 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Aug 24 19:27:36 UTC 2020

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

Log Message:
Add a missing comma

And bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/viomb.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/viomb.4
diff -u src/share/man/man4/viomb.4:1.3 src/share/man/man4/viomb.4:1.4
--- src/share/man/man4/viomb.4:1.3	Thu Mar  8 22:52:22 2012
+++ src/share/man/man4/viomb.4	Mon Aug 24 19:27:36 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: viomb.4,v 1.3 2012/03/08 22:52:22 wiz Exp $
+.\"	$NetBSD: viomb.4,v 1.4 2020/08/24 19:27:36 ryoon Exp $
 .\"
 .\" Copyright (C) 2011 Minoura Makoto.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd November 26, 2011
+.Dd August 25, 2020
 .Dt VIOMB 4
 .Os
 .Sh NAME
@@ -69,7 +69,8 @@ shows the requested number of memory pag
 shows the actual number of memory pages that are already returned to the hypervisor.
 .Sh SEE ALSO
 .Xr virtio 4 ,
-.Xr sysctl 8
+.Xr sysctl 8 ,
+.Xr x86/balloon 4
 .Pp
 .Rs
 .%A Rusty Russell, IBM Corporation



CVS commit: src/share/man/man4

2020-08-24 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Aug 24 19:25:57 UTC 2020

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

Log Message:
Markup authors

And bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/sf2r.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/sf2r.4
diff -u src/share/man/man4/sf2r.4:1.5 src/share/man/man4/sf2r.4:1.6
--- src/share/man/man4/sf2r.4:1.5	Wed Jan  2 02:14:48 2002
+++ src/share/man/man4/sf2r.4	Mon Aug 24 19:25:57 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sf2r.4,v 1.5 2002/01/02 02:14:48 wiz Exp $
+.\"	$NetBSD: sf2r.4,v 1.6 2020/08/24 19:25:57 ryoon Exp $
 .\"	$RuOBSD: sf2r.4,v 1.3 2001/10/26 05:38:44 form Exp $
 .\"	$OpenBSD: sf2r.4,v 1.2 2001/12/05 11:27:44 mickey Exp $
 .\"
@@ -25,7 +25,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd October 8, 2001
+.Dd August 25, 2020
 .Dt SF2R 4
 .Os
 .Sh NAME
@@ -71,10 +71,15 @@ device driver appeared in
 and
 .Nx 1.6 .
 .Sh AUTHORS
+.An -nosplit
 The
 .Nm
-driver was written by Vladimir Popov and Maxim Tsyplakov.
-The man page was written by Vladimir Popov.
+driver was written by
+.An Vladimir Popov
+and
+.An Maxim Tsyplakov.
+The man page was written by
+.An Vladimir Popov .
 .Sh BUGS
 MediaForte made two variants of the SF16-FMR2 cards, the first one has
 an internal amplifier of the output sound, the second one does not have



CVS commit: src/share/man/man4

2020-08-24 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Aug 24 19:22:06 UTC 2020

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

Log Message:
Link to i386/spic(4) instead of spic(4)

And bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/sony.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/sony.4
diff -u src/share/man/man4/sony.4:1.4 src/share/man/man4/sony.4:1.5
--- src/share/man/man4/sony.4:1.4	Wed Jun  1 08:14:16 2016
+++ src/share/man/man4/sony.4	Mon Aug 24 19:22:06 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: sony.4,v 1.4 2016/06/01 08:14:16 wiz Exp $
+.\" $NetBSD: sony.4,v 1.5 2020/08/24 19:22:06 ryoon Exp $
 .\"
 .\" Copyright (c) 2005 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 June 1, 2016
+.Dd August 25, 2020
 .Dt SONY 4
 .Os
 .Sh NAME
@@ -101,7 +101,7 @@ Fn + F3 (volume down)
 .El
 .Sh SEE ALSO
 .Xr acpi 4 ,
-.Xr spic 4
+.Xr i386/spic 4
 .Sh HISTORY
 The
 .Nm



CVS commit: src/share/man/man4

2020-08-24 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Aug 24 19:19:25 UTC 2020

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

Log Message:
Link to i386/pnpbios(4) instead of pnpbios(4)

And bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/share/man/man4/ess.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/ess.4
diff -u src/share/man/man4/ess.4:1.14 src/share/man/man4/ess.4:1.15
--- src/share/man/man4/ess.4:1.14	Wed Apr 30 13:10:54 2008
+++ src/share/man/man4/ess.4	Mon Aug 24 19:19:24 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ess.4,v 1.14 2008/04/30 13:10:54 martin Exp $
+.\"	$NetBSD: ess.4,v 1.15 2020/08/24 19:19:24 ryoon Exp $
 .\"
 .\" Copyright (c) 1999 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 22, 2005
+.Dd August 25, 2020
 .Dt ESS 4
 .Os
 .Sh NAME
@@ -66,7 +66,7 @@ driver.
 .Xr joy 4 ,
 .Xr ofisa 4 ,
 .Xr opl 4 ,
-.Xr pnpbios 4
+.Xr i386/pnpbios 4
 .Sh HISTORY
 The
 .Nm



CVS commit: src/share/man/man4

2020-08-24 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Aug 24 19:16:42 UTC 2020

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

Log Message:
Link to i386/pnpbios(4) instead of pnpbios(4)

And bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/share/man/man4/wss.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/wss.4
diff -u src/share/man/man4/wss.4:1.20 src/share/man/man4/wss.4:1.21
--- src/share/man/man4/wss.4:1.20	Sun Mar  6 17:39:05 2011
+++ src/share/man/man4/wss.4	Mon Aug 24 19:16:42 2020
@@ -1,4 +1,4 @@
-.\"   $NetBSD: wss.4,v 1.20 2011/03/06 17:39:05 wiz Exp $
+.\"   $NetBSD: wss.4,v 1.21 2020/08/24 19:16:42 ryoon Exp $
 .\"
 .\" Copyright (c) 1995 Michael Long.
 .\" All rights reserved.
@@ -25,7 +25,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 22, 2005
+.Dd August 25, 2020
 .Dt WSS 4
 .Os
 .Sh NAME
@@ -69,4 +69,4 @@ disables the joystick port on MAD16 hard
 .Xr isapnp 4 ,
 .Xr joy 4 ,
 .Xr opl 4 ,
-.Xr pnpbios 4
+.Xr i386/pnpbios 4



CVS commit: src/share/man/man4

2020-08-23 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sun Aug 23 13:35:46 UTC 2020

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

Log Message:
Link to i386/pnpbios(4) instead of pnpbios(4)

And bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/share/man/man4/ym.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/ym.4
diff -u src/share/man/man4/ym.4:1.19 src/share/man/man4/ym.4:1.20
--- src/share/man/man4/ym.4:1.19	Mon Jul  3 21:30:58 2017
+++ src/share/man/man4/ym.4	Sun Aug 23 13:35:46 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: ym.4,v 1.19 2017/07/03 21:30:58 wiz Exp $
+.\" $NetBSD: ym.4,v 1.20 2020/08/23 13:35:46 ryoon Exp $
 .\"
 .\" Copyright (c) 1999 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 August 14, 2006
+.Dd August 23, 2020
 .Dt YM 4
 .Os
 .Sh NAME
@@ -182,7 +182,7 @@ On suspending, the device is put into po
 .Xr midi 4 ,
 .Xr mpu 4 ,
 .Xr opl 4 ,
-.Xr pnpbios 4
+.Xr i386/pnpbios 4
 .Sh HISTORY
 The
 .Nm



CVS commit: src/share/man/man4

2020-07-04 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sat Jul  4 08:10:21 UTC 2020

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

Log Message:
man4: Add Linux USB 3.0 debu port to ugensa.4


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/man/man4/ugensa.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/ugensa.4
diff -u src/share/man/man4/ugensa.4:1.10 src/share/man/man4/ugensa.4:1.11
--- src/share/man/man4/ugensa.4:1.10	Mon Dec 14 09:33:47 2009
+++ src/share/man/man4/ugensa.4	Sat Jul  4 08:10:21 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: ugensa.4,v 1.10 2009/12/14 09:33:47 wiz Exp $
+.\" $NetBSD: ugensa.4,v 1.11 2020/07/04 08:10:21 ryoon Exp $
 .\"
 .\" Copyright (c) 2001 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 December 14, 2009
+.Dd July 4, 2020
 .Dt UGENSA 4
 .Os
 .Sh NAME
@@ -68,6 +68,7 @@ device):
 .It Dell/Novatel Wireless HDSPA modem
 .It Dell W5500 HDSPA modem [not tested]
 .It AnyDATA ADU-E500A [not tested]
+.It Linux's USB 3.0 debug port serial communication
 .El
 .Sh DESCRIPTION
 The



CVS commit: src/sys/dev/usb

2020-07-04 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sat Jul  4 08:07:02 UTC 2020

Modified Files:
src/sys/dev/usb: ugensa.c

Log Message:
usb/ugensa: Support Linux USB 3.0 debugging port serial communication


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/usb/ugensa.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/usb/ugensa.c
diff -u src/sys/dev/usb/ugensa.c:1.42 src/sys/dev/usb/ugensa.c:1.43
--- src/sys/dev/usb/ugensa.c:1.42	Fri Jun  5 08:01:49 2020
+++ src/sys/dev/usb/ugensa.c	Sat Jul  4 08:07:02 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: ugensa.c,v 1.42 2020/06/05 08:01:49 skrll Exp $	*/
+/*	$NetBSD: ugensa.c,v 1.43 2020/07/04 08:07:02 ryoon Exp $	*/
 
 /*
  * Copyright (c) 2004, 2005 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: ugensa.c,v 1.42 2020/06/05 08:01:49 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ugensa.c,v 1.43 2020/07/04 08:07:02 ryoon Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -95,6 +95,7 @@ static const struct ugensa_type ugensa_d
 	{{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_FLEXPACKGPS }, 0 },
 	{{ USB_VENDOR_QUALCOMM_K, USB_PRODUCT_QUALCOMM_K_CDMA_MSM_K }, 0 },
 	{{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_AC8700 }, 0 },
+	{{ USB_VENDOR_LINUXFOUNDATION, USB_PRODUCT_LINUXFOUNDATION_USB3DEBUG}, 0 },
 
 	/*
 	 * The following devices are untested, but they are purported to



CVS commit: src/sys/dev/usb

2020-07-04 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sat Jul  4 08:05:26 UTC 2020

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
usbdevs: Add Linux USB 3.0 debugging port serial device


To generate a diff of this commit:
cvs rdiff -u -r1.783 -r1.784 src/sys/dev/usb/usbdevs

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/usb/usbdevs
diff -u src/sys/dev/usb/usbdevs:1.783 src/sys/dev/usb/usbdevs:1.784
--- src/sys/dev/usb/usbdevs:1.783	Fri Jun 19 11:52:42 2020
+++ src/sys/dev/usb/usbdevs	Sat Jul  4 08:05:26 2020
@@ -1,4 +1,4 @@
-$NetBSD: usbdevs,v 1.783 2020/06/19 11:52:42 flxd Exp $
+$NetBSD: usbdevs,v 1.784 2020/07/04 08:05:26 ryoon Exp $
 
 /*-
  * Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@@ -2141,6 +2141,7 @@ product LINKSYS4 WUSB600NV2	0x0079	WUSB6
 product LINUXFOUNDATION ROOT_HUB_11	0x0001	1.1 root hub
 product LINUXFOUNDATION ROOT_HUB_20	0x0002	2.0 root hub
 product LINUXFOUNDATION ROOT_HUB_30	0x0003	3.0 root hub
+product LINUXFOUNDATION USB3DEBUG	0x0010	USB 3.0 debug port
 
 /* Lite-On Technology */
 product LITEON AR9271		0x4605	AR9271



CVS commit: src/sys/dev/pckbport

2020-02-25 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Feb 25 21:41:38 UTC 2020

Modified Files:
src/sys/dev/pckbport: synaptics.c

Log Message:
Messages in pms_synaptics_input() should not start with "pms_input"

Use "pms_synaptics_input" instead for another 2 messages.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/dev/pckbport/synaptics.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/pckbport/synaptics.c
diff -u src/sys/dev/pckbport/synaptics.c:1.53 src/sys/dev/pckbport/synaptics.c:1.54
--- src/sys/dev/pckbport/synaptics.c:1.53	Tue Feb 25 21:38:42 2020
+++ src/sys/dev/pckbport/synaptics.c	Tue Feb 25 21:41:38 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: synaptics.c,v 1.53 2020/02/25 21:38:42 ryoon Exp $	*/
+/*	$NetBSD: synaptics.c,v 1.54 2020/02/25 21:41:38 ryoon Exp $	*/
 
 /*
  * Copyright (c) 2005, Steve C. Woodford
@@ -48,7 +48,7 @@
 #include "opt_pms.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.53 2020/02/25 21:38:42 ryoon Exp $");
+__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.54 2020/02/25 21:41:38 ryoon Exp $");
 
 #include 
 #include 
@@ -1182,7 +1182,7 @@ pms_synaptics_input(void *vsc, int data)
 	case 0:
 		if ((data & 0xc8) != 0x80) {
 			aprint_debug_dev(psc->sc_dev,
-			"pms_input: 0x%02x out of sync\n", data);
+			"pms_synaptics_input: 0x%02x out of sync\n", data);
 			/* use negative counts to limit resync phase */
 			psc->inputstate--;
 			return;	/* not in sync yet, discard input */
@@ -1194,7 +1194,7 @@ pms_synaptics_input(void *vsc, int data)
 	case 3:
 		if ((data & 8) == 8) {
 			aprint_debug_dev(psc->sc_dev,
-			"pms_input: dropped in relative mode, reset\n");
+			"pms_synaptics_input: dropped in relative mode, reset\n");
 			psc->inputstate = 0;
 			psc->sc_enabled = 0;
 			wakeup(>sc_enabled);



CVS commit: src/sys/dev/pckbport

2020-02-25 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Feb 25 21:38:42 UTC 2020

Modified Files:
src/sys/dev/pckbport: synaptics.c

Log Message:
Messages in pms_synaptics_input() should not start with "pms_input"

Use "pms_synaptics_input" instead.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/dev/pckbport/synaptics.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/pckbport/synaptics.c
diff -u src/sys/dev/pckbport/synaptics.c:1.52 src/sys/dev/pckbport/synaptics.c:1.53
--- src/sys/dev/pckbport/synaptics.c:1.52	Tue Feb 25 21:36:13 2020
+++ src/sys/dev/pckbport/synaptics.c	Tue Feb 25 21:38:42 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: synaptics.c,v 1.52 2020/02/25 21:36:13 ryoon Exp $	*/
+/*	$NetBSD: synaptics.c,v 1.53 2020/02/25 21:38:42 ryoon Exp $	*/
 
 /*
  * Copyright (c) 2005, Steve C. Woodford
@@ -48,7 +48,7 @@
 #include "opt_pms.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.52 2020/02/25 21:36:13 ryoon Exp $");
+__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.53 2020/02/25 21:38:42 ryoon Exp $");
 
 #include 
 #include 
@@ -1159,10 +1159,10 @@ pms_synaptics_input(void *vsc, int data)
 		timersub(>current, >last, );
 		if (diff.tv_sec > 0 || diff.tv_usec >= 4) {
 			aprint_debug_dev(psc->sc_dev,
-			"pms_input: unusual delay (%ld.%06ld s), "
+			"pms_synaptics_input: unusual delay (%ld.%06ld s), "
 			"scheduling reset\n",
 			(long)diff.tv_sec, (long)diff.tv_usec);
-			printf("pms_input: unusual delay (%ld.%06ld s), "
+			printf("pms_synaptics_input: unusual delay (%ld.%06ld s), "
 			"scheduling reset\n",
 			(long)diff.tv_sec, (long)diff.tv_usec);
 			psc->inputstate = 0;



CVS commit: src/sys/dev/pckbport

2020-02-25 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Feb 25 21:36:13 UTC 2020

Modified Files:
src/sys/dev/pckbport: synaptics.c

Log Message:
Do not enter extended W mode conditional for non extended W mode device

Even without extended W mode, sp_w can be 2. This causes
"invalid extended w mode N" warning messages.
Restrict extended W mode conditional for hardwares with extended W
support.

Tested with Synaptics 6.2 device on Panasonic CF-Y8, however it does
not work with X.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/dev/pckbport/synaptics.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/pckbport/synaptics.c
diff -u src/sys/dev/pckbport/synaptics.c:1.51 src/sys/dev/pckbport/synaptics.c:1.52
--- src/sys/dev/pckbport/synaptics.c:1.51	Tue Feb 25 16:24:47 2020
+++ src/sys/dev/pckbport/synaptics.c	Tue Feb 25 21:36:13 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: synaptics.c,v 1.51 2020/02/25 16:24:47 ryoon Exp $	*/
+/*	$NetBSD: synaptics.c,v 1.52 2020/02/25 21:36:13 ryoon Exp $	*/
 
 /*
  * Copyright (c) 2005, Steve C. Woodford
@@ -48,7 +48,7 @@
 #include "opt_pms.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.51 2020/02/25 16:24:47 ryoon Exp $");
+__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.52 2020/02/25 21:36:13 ryoon Exp $");
 
 #include 
 #include 
@@ -945,7 +945,8 @@ pms_synaptics_parse(struct pms_softc *ps
 	   ((psc->packet[0] & 0x04) >> 1) +
 	   ((psc->packet[3] & 0x04) >> 2);
 	sp.sp_finger = 0;
-	if (sp.sp_w == SYNAPTICS_WIDTH_EXTENDED_W) {
+	if ((sc->flags & SYN_FLAG_HAS_EXTENDED_WMODE) &&
+	(sp.sp_w == SYNAPTICS_WIDTH_EXTENDED_W)) {
 		ew_mode = psc->packet[5] >> 4;
 		switch (ew_mode)
 		{



CVS commit: src/sys/dev/pckbport

2020-02-25 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Feb 25 16:24:47 UTC 2020

Modified Files:
src/sys/dev/pckbport: synaptics.c

Log Message:
Remove a trailing tab.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/pckbport/synaptics.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/pckbport/synaptics.c
diff -u src/sys/dev/pckbport/synaptics.c:1.50 src/sys/dev/pckbport/synaptics.c:1.51
--- src/sys/dev/pckbport/synaptics.c:1.50	Fri Jul  5 05:09:24 2019
+++ src/sys/dev/pckbport/synaptics.c	Tue Feb 25 16:24:47 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: synaptics.c,v 1.50 2019/07/05 05:09:24 mlelstv Exp $	*/
+/*	$NetBSD: synaptics.c,v 1.51 2020/02/25 16:24:47 ryoon Exp $	*/
 
 /*
  * Copyright (c) 2005, Steve C. Woodford
@@ -48,7 +48,7 @@
 #include "opt_pms.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.50 2019/07/05 05:09:24 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.51 2020/02/25 16:24:47 ryoon Exp $");
 
 #include 
 #include 
@@ -956,7 +956,7 @@ pms_synaptics_parse(struct pms_softc *ps
 
 		case SYNAPTICS_EW_SECONDARY_FINGER:
 			/* parse the second finger report */
-			
+
 			sp.sp_finger = 1; /* just one other finger for now */
 			sp.sp_x = psc->packet[1]
 			+ ((psc->packet[4] & 0x0f) << 8);



CVS commit: src/share/man/man4

2020-02-10 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Feb 10 16:13:48 UTC 2020

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

Log Message:
Add description on hw.alps.touchpad_movement_threshold


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/share/man/man4/pms.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/pms.4
diff -u src/share/man/man4/pms.4:1.33 src/share/man/man4/pms.4:1.34
--- src/share/man/man4/pms.4:1.33	Mon Feb 10 15:30:33 2020
+++ src/share/man/man4/pms.4	Mon Feb 10 16:13:48 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: pms.4,v 1.33 2020/02/10 15:30:33 ryoon Exp $
+.\" $NetBSD: pms.4,v 1.34 2020/02/10 16:13:48 ryoon Exp $
 .\"
 .\" Copyright (c) 1993 Christopher G. Demetriou
 .\" All rights reserved.
@@ -226,6 +226,9 @@ variables control behavior of ALPS touch
 Decreased values improve the accuracy of X and Y-axis reporting
 at the expense of slower mouse movement (default 2 for touchpad
 and 1 for TrackStick).
+.It Dv hw.alps.touchpad_movement_threshold
+Movements of less than this value (in ALPS coordinates) are
+ignored (default 4).
 .El
 .Sh SEE ALSO
 .Xr pckbc 4 ,



CVS commit: src/sys/dev/pckbport

2020-02-10 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Feb 10 16:12:59 UTC 2020

Modified Files:
src/sys/dev/pckbport: alps.c

Log Message:
Introduce hw.alps.touchpad_movement_threshold to better button area clicks


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/pckbport/alps.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/pckbport/alps.c
diff -u src/sys/dev/pckbport/alps.c:1.13 src/sys/dev/pckbport/alps.c:1.14
--- src/sys/dev/pckbport/alps.c:1.13	Mon Feb 10 15:29:05 2020
+++ src/sys/dev/pckbport/alps.c	Mon Feb 10 16:12:58 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: alps.c,v 1.13 2020/02/10 15:29:05 ryoon Exp $ */
+/* $NetBSD: alps.c,v 1.14 2020/02/10 16:12:58 ryoon Exp $ */
 
 /*-
  * Copyright (c) 2017 Ryo ONODERA 
@@ -30,7 +30,7 @@
 #include "opt_pms.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: alps.c,v 1.13 2020/02/10 15:29:05 ryoon Exp $");
+__KERNEL_RCSID(0, "$NetBSD: alps.c,v 1.14 2020/02/10 16:12:58 ryoon Exp $");
 
 #include 
 #include 
@@ -51,9 +51,11 @@ __KERNEL_RCSID(0, "$NetBSD: alps.c,v 1.1
 
 /* #define ALPS_DEBUG */
 
+static int alps_touchpad_movement_threshold_nodenum;
 static int alps_touchpad_xy_unprecision_nodenum;
 static int alps_trackstick_xy_precision_nodenum;
 
+static int alps_touchpad_movement_threshold = 4;
 static int alps_touchpad_xy_unprecision = 2;
 static int alps_trackstick_xy_precision = 1;
 
@@ -77,6 +79,9 @@ pms_sysctl_alps_verify(SYSCTLFN_ARGS)
 		node.sysctl_num == alps_trackstick_xy_precision_nodenum) {
 		if (t < 0 || t > 7)
 			return EINVAL;
+	} else if (node.sysctl_num == alps_touchpad_movement_threshold_nodenum) {
+		if (t < 0)
+			return EINVAL;
 	} else
 		return EINVAL;
 
@@ -122,6 +127,17 @@ pms_sysctl_alps(struct sysctllog **clog)
 			goto err;
 	alps_trackstick_xy_precision_nodenum = node->sysctl_num;
 
+	if ((rc = sysctl_createv(clog, 0, NULL, ,
+		CTLFLAG_PERMANENT | CTLFLAG_READWRITE,
+		CTLTYPE_INT, "touchpad_movement_threshold",
+		SYSCTL_DESCR("Minimum reported movement threshold"),
+		pms_sysctl_alps_verify, 0,
+		_touchpad_movement_threshold,
+		0, CTL_HW, root_num, CTL_CREATE,
+		CTL_EOL)) != 0)
+			goto err;
+	alps_touchpad_movement_threshold_nodenum = node->sysctl_num;
+
 	return;
 
 err:
@@ -967,6 +983,13 @@ pms_alps_decode_touchpad_packet_v7(struc
 		dy1 = dy1 >> alps_touchpad_xy_unprecision;
 	}
 
+	if (abs(dx1) < alps_touchpad_movement_threshold) {
+		dx1 = 0;
+	}
+	if (abs(dy1) < alps_touchpad_movement_threshold) {
+		dy1 = 0;
+	}
+
 	/* Allow finger detouch during drag and drop */
 	if ((sc->nfingers < sc->last_nfingers)
 		&& (cur_x2 == sc->last_x1) && (cur_y2 == sc->last_y1)) {



CVS commit: src/share/man/man4

2020-02-10 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Feb 10 15:30:33 UTC 2020

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

Log Message:
Reflect typo fix, bump date


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/share/man/man4/pms.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/pms.4
diff -u src/share/man/man4/pms.4:1.32 src/share/man/man4/pms.4:1.33
--- src/share/man/man4/pms.4:1.32	Tue Nov  6 09:14:08 2018
+++ src/share/man/man4/pms.4	Mon Feb 10 15:30:33 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: pms.4,v 1.32 2018/11/06 09:14:08 blymn Exp $
+.\" $NetBSD: pms.4,v 1.33 2020/02/10 15:30:33 ryoon Exp $
 .\"
 .\" Copyright (c) 1993 Christopher G. Demetriou
 .\" All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\" <>
 .\"
-.Dd February 4, 2018
+.Dd February 11, 2020
 .Dt PMS 4
 .Os
 .Sh NAME
@@ -222,7 +222,7 @@ The following
 variables control behavior of ALPS touchpads:
 .Bl -tag -width 8n
 .It Dv hw.alps.touchpad_xy_precision_shift
-.It Dv hw.alps.tackstick_xy_precision_shift
+.It Dv hw.alps.trackstick_xy_precision_shift
 Decreased values improve the accuracy of X and Y-axis reporting
 at the expense of slower mouse movement (default 2 for touchpad
 and 1 for TrackStick).



CVS commit: src/sys/dev/pckbport

2020-02-10 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Feb 10 15:29:05 UTC 2020

Modified Files:
src/sys/dev/pckbport: alps.c

Log Message:
Fix typo in sysctl node name


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/pckbport/alps.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/pckbport/alps.c
diff -u src/sys/dev/pckbport/alps.c:1.12 src/sys/dev/pckbport/alps.c:1.13
--- src/sys/dev/pckbport/alps.c:1.12	Tue May 28 08:59:35 2019
+++ src/sys/dev/pckbport/alps.c	Mon Feb 10 15:29:05 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: alps.c,v 1.12 2019/05/28 08:59:35 msaitoh Exp $ */
+/* $NetBSD: alps.c,v 1.13 2020/02/10 15:29:05 ryoon Exp $ */
 
 /*-
  * Copyright (c) 2017 Ryo ONODERA 
@@ -30,7 +30,7 @@
 #include "opt_pms.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: alps.c,v 1.12 2019/05/28 08:59:35 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: alps.c,v 1.13 2020/02/10 15:29:05 ryoon Exp $");
 
 #include 
 #include 
@@ -113,7 +113,7 @@ pms_sysctl_alps(struct sysctllog **clog)
 
 	if ((rc = sysctl_createv(clog, 0, NULL, ,
 		CTLFLAG_PERMANENT | CTLFLAG_READWRITE,
-		CTLTYPE_INT, "tackstick_xy_precision_shift",
+		CTLTYPE_INT, "trackstick_xy_precision_shift",
 		SYSCTL_DESCR("Trackstick X/Y-axis precision value"),
 		pms_sysctl_alps_verify, 0,
 		_trackstick_xy_precision,



CVS commit: src/lib/libpthread

2020-02-05 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Wed Feb  5 14:56:04 UTC 2020

Modified Files:
src/lib/libpthread: pthread.c

Log Message:
Remove trailing whiteapaces and tab


To generate a diff of this commit:
cvs rdiff -u -r1.162 -r1.163 src/lib/libpthread/pthread.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/libpthread/pthread.c
diff -u src/lib/libpthread/pthread.c:1.162 src/lib/libpthread/pthread.c:1.163
--- src/lib/libpthread/pthread.c:1.162	Wed Jan 29 17:11:57 2020
+++ src/lib/libpthread/pthread.c	Wed Feb  5 14:56:04 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: pthread.c,v 1.162 2020/01/29 17:11:57 ad Exp $	*/
+/*	$NetBSD: pthread.c,v 1.163 2020/02/05 14:56:04 ryoon Exp $	*/
 
 /*-
  * Copyright (c) 2001, 2002, 2003, 2006, 2007, 2008, 2020
@@ -31,7 +31,7 @@
  */
 
 #include 
-__RCSID("$NetBSD: pthread.c,v 1.162 2020/01/29 17:11:57 ad Exp $");
+__RCSID("$NetBSD: pthread.c,v 1.163 2020/02/05 14:56:04 ryoon Exp $");
 
 #define	__EXPOSE_STACK	1
 
@@ -111,7 +111,7 @@ int pthread__nspins;
 int pthread__unpark_max = PTHREAD__UNPARK_MAX;
 int pthread__dbg;	/* set by libpthread_dbg if active */
 
-/* 
+/*
  * We have to initialize the pthread_stack* variables here because
  * mutexes are used before pthread_init() and thus pthread__initmain()
  * are called.  Since mutexes only save the stack pointer and not a
@@ -176,9 +176,9 @@ pthread__init(void)
 
 	/*
 	 * Allocate pthread_keys descriptors before
-	 * reseting __uselibcstub because otherwise 
+	 * reseting __uselibcstub because otherwise
 	 * malloc() will call pthread_keys_create()
-	 * while pthread_keys descriptors are not 
+	 * while pthread_keys descriptors are not
 	 * yet allocated.
 	 */
 	pthread__main = pthread_tsd_init(&__pthread_st_size);
@@ -298,7 +298,7 @@ pthread__start(void)
 	/*
 	 * Per-process timers are cleared by fork(); despite the
 	 * various restrictions on fork() and threads, it's legal to
-	 * fork() before creating any threads. 
+	 * fork() before creating any threads.
 	 */
 	pthread_atfork(NULL, NULL, pthread__child_callback);
 }
@@ -617,7 +617,7 @@ pthread_resume_np(pthread_t thread)
 
 	pthread__error(EINVAL, "Invalid thread",
 	thread->pt_magic == PT_MAGIC);
- 
+
 	if (pthread__find(thread) != 0)
 		return ESRCH;
 	if (_lwp_continue(thread->pt_lid) == 0)
@@ -1089,7 +1089,7 @@ pthread__assertfunc(const char *file, in
 	 * snprintf should not acquire any locks, or we could
 	 * end up deadlocked if the assert caller held locks.
 	 */
-	len = snprintf(buf, 1024, 
+	len = snprintf(buf, 1024,
 	"assertion \"%s\" failed: file \"%s\", line %d%s%s%s\n",
 	expr, file, line,
 	function ? ", function \"" : "",
@@ -1108,7 +1108,7 @@ pthread__errorfunc(const char *file, int
 {
 	char buf[1024];
 	size_t len;
-	
+
 	if (pthread__diagassert == 0)
 		return;
 
@@ -1116,7 +1116,7 @@ pthread__errorfunc(const char *file, int
 	 * snprintf should not acquire any locks, or we could
 	 * end up deadlocked if the assert caller held locks.
 	 */
-	len = snprintf(buf, 1024, 
+	len = snprintf(buf, 1024,
 	"%s: Error detected by libpthread: %s.\n"
 	"Detected by file \"%s\", line %d%s%s%s.\n"
 	"See pthread(3) for information.\n",



CVS commit: src/tests

2020-01-18 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sat Jan 18 13:56:53 UTC 2020

Modified Files:
src/tests/lib/libarchive: Makefile
src/tests/usr.bin/cpio: Makefile
src/tests/usr.bin/tar: Makefile

Log Message:
Fix build. Three list.h files are required to generate .d files


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libarchive/Makefile
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/cpio/Makefile
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/tar/Makefile

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

Modified files:

Index: src/tests/lib/libarchive/Makefile
diff -u src/tests/lib/libarchive/Makefile:1.1 src/tests/lib/libarchive/Makefile:1.2
--- src/tests/lib/libarchive/Makefile:1.1	Fri Jan 17 16:24:03 2020
+++ src/tests/lib/libarchive/Makefile	Sat Jan 18 13:56:53 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/01/17 16:24:03 christos Exp $
+# $NetBSD: Makefile,v 1.2 2020/01/18 13:56:53 ryoon Exp $
 
 NOMAN=
 
@@ -596,7 +596,7 @@ test_write_disk_no_hfs_compression.tgz.u
 
 .include 
 
-test_main.o: list.h
+test_main.d: list.h
 
 CLEANFILES+=list.h
 

Index: src/tests/usr.bin/cpio/Makefile
diff -u src/tests/usr.bin/cpio/Makefile:1.1 src/tests/usr.bin/cpio/Makefile:1.2
--- src/tests/usr.bin/cpio/Makefile:1.1	Fri Jan 17 16:25:37 2020
+++ src/tests/usr.bin/cpio/Makefile	Sat Jan 18 13:56:53 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/01/17 16:25:37 christos Exp $
+# $NetBSD: Makefile,v 1.2 2020/01/18 13:56:53 ryoon Exp $
 
 NOMAN=
 
@@ -107,7 +107,7 @@ test_option_tv.stdout.uu
 
 .include 
 
-test_main.o: list.h
+test_main.d: list.h
 
 CLEANFILES+=list.h
 

Index: src/tests/usr.bin/tar/Makefile
diff -u src/tests/usr.bin/tar/Makefile:1.1 src/tests/usr.bin/tar/Makefile:1.2
--- src/tests/usr.bin/tar/Makefile:1.1	Fri Jan 17 16:25:37 2020
+++ src/tests/usr.bin/tar/Makefile	Sat Jan 18 13:56:53 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/01/17 16:25:37 christos Exp $
+# $NetBSD: Makefile,v 1.2 2020/01/18 13:56:53 ryoon Exp $
 
 NOMAN=
 
@@ -113,7 +113,7 @@ test_print_longpath.tar.Z.uu
 
 .include 
 
-test_main.o: list.h
+test_main.d: list.h
 
 CLEANFILES+=list.h
 



CVS commit: src/sys/conf

2020-01-17 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sat Jan 18 07:54:26 UTC 2020

Modified Files:
src/sys/conf: compat_netbsd80.config compat_netbsd90.config

Log Message:
Fix version numbers in comments


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/conf/compat_netbsd80.config
cvs rdiff -u -r1.1 -r1.2 src/sys/conf/compat_netbsd90.config

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

Modified files:

Index: src/sys/conf/compat_netbsd80.config
diff -u src/sys/conf/compat_netbsd80.config:1.2 src/sys/conf/compat_netbsd80.config:1.3
--- src/sys/conf/compat_netbsd80.config:1.2	Sun Jan 27 02:08:41 2019
+++ src/sys/conf/compat_netbsd80.config	Sat Jan 18 07:54:26 2020
@@ -1,6 +1,6 @@
-#	$NetBSD: compat_netbsd80.config,v 1.2 2019/01/27 02:08:41 pgoyette Exp $
+#	$NetBSD: compat_netbsd80.config,v 1.3 2020/01/18 07:54:26 ryoon Exp $
 
-# Common fragment for all NetBSD targets wanting NetBSD 7.0 and newer
+# Common fragment for all NetBSD targets wanting NetBSD 8.0 and newer
 # compatibility support.
 #
 # Note that COMPAT_80 implies all newer COMPAT_XX options.

Index: src/sys/conf/compat_netbsd90.config
diff -u src/sys/conf/compat_netbsd90.config:1.1 src/sys/conf/compat_netbsd90.config:1.2
--- src/sys/conf/compat_netbsd90.config:1.1	Sun Sep 22 22:59:38 2019
+++ src/sys/conf/compat_netbsd90.config	Sat Jan 18 07:54:26 2020
@@ -1,9 +1,9 @@
-#	$NetBSD: compat_netbsd90.config,v 1.1 2019/09/22 22:59:38 christos Exp $
+#	$NetBSD: compat_netbsd90.config,v 1.2 2020/01/18 07:54:26 ryoon Exp $
 
-# Common fragment for all NetBSD targets wanting NetBSD 7.0 and newer
+# Common fragment for all NetBSD targets wanting NetBSD 9.0 and newer
 # compatibility support.
 #
-# Note that COMPAT_80 implies all newer COMPAT_XX options.
+# Note that COMPAT_90 implies all newer COMPAT_XX options.
 
 include"conf/compat_netbsd.config"
 options 	COMPAT_90	# NetBSD 9.0 and beyond.



CVS commit: src/sys/dev/pckbport

2019-03-15 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sat Mar 16 03:27:15 UTC 2019

Modified Files:
src/sys/dev/pckbport: alps.c

Log Message:
Support more ALPS V2 devices

* The V2 devices found in Toshiba dynabook satellite B551/D and
  dynabook SS RX1/T8E.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/pckbport/alps.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/pckbport/alps.c
diff -u src/sys/dev/pckbport/alps.c:1.10 src/sys/dev/pckbport/alps.c:1.11
--- src/sys/dev/pckbport/alps.c:1.10	Tue Jun 19 23:25:59 2018
+++ src/sys/dev/pckbport/alps.c	Sat Mar 16 03:27:15 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: alps.c,v 1.10 2018/06/19 23:25:59 uwe Exp $ */
+/* $NetBSD: alps.c,v 1.11 2019/03/16 03:27:15 ryoon Exp $ */
 
 /*-
  * Copyright (c) 2017 Ryo ONODERA 
@@ -30,7 +30,7 @@
 #include "opt_pms.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: alps.c,v 1.10 2018/06/19 23:25:59 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: alps.c,v 1.11 2019/03/16 03:27:15 ryoon Exp $");
 
 #include 
 #include 
@@ -714,8 +714,10 @@ pms_alps_probe_init(void *opaque)
 		/* V7 device in Toshiba dynabook R63/PS */
 		sc->version = ALPS_PROTO_V7;
 	} else if ((e7sig[0] == 0x73) && (e7sig[1] == 0x02) &&
-		(e7sig[2] == 0x14)) {
-		/* V2 device in NEC VJ22MF-7 (VersaPro JVF-7) */
+		((e7sig[2] == 0x14) || (e7sig[2] == 0x0a))) {
+		/* 0x14: V2 device in NEC VJ22MF-7 (VersaPro JVF-7) */
+		/* 0x0a: V2 devices in Toshiba dynabook satellite B551/D
+			 and dynabook SS RX1 */
 		sc->version = ALPS_PROTO_V2;
 	}
 



CVS commit: src/sys/dev/pci

2019-01-23 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Wed Jan 23 11:15:11 UTC 2019

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

Log Message:
Fix no options DEBUG nor DIAGNOSTIC build


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/pci/if_ena.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/if_ena.c
diff -u src/sys/dev/pci/if_ena.c:1.12 src/sys/dev/pci/if_ena.c:1.13
--- src/sys/dev/pci/if_ena.c:1.12	Sat Dec 22 20:57:44 2018
+++ src/sys/dev/pci/if_ena.c	Wed Jan 23 11:15:11 2019
@@ -31,7 +31,7 @@
 #if 0
 __FBSDID("$FreeBSD: head/sys/dev/ena/ena.c 333456 2018-05-10 09:37:54Z mw $");
 #endif
-__KERNEL_RCSID(0, "$NetBSD: if_ena.c,v 1.12 2018/12/22 20:57:44 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ena.c,v 1.13 2019/01/23 11:15:11 ryoon Exp $");
 
 #include 
 #include 
@@ -2045,7 +2045,9 @@ err:
 	kcpuset_destroy(affinity);
 
 	for (i--; i >= 0; i--) {
+#if defined(DEBUG) || defined(DIAGNOSTIC)
 		int irq_slot = i + irq_off;
+#endif
 		KASSERT(adapter->sc_ihs[irq_slot] != NULL);
 		pci_intr_disestablish(adapter->sc_pa.pa_pc, adapter->sc_ihs[i]);
 		adapter->sc_ihs[i] = NULL;



CVS commit: src/external/bsd/openresolv/dist

2018-09-24 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Sep 25 05:57:46 UTC 2018

Modified Files:
src/external/bsd/openresolv/dist: resolvconf.in

Log Message:
Close double quotation mark


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/openresolv/dist/resolvconf.in

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/openresolv/dist/resolvconf.in
diff -u src/external/bsd/openresolv/dist/resolvconf.in:1.2 src/external/bsd/openresolv/dist/resolvconf.in:1.3
--- src/external/bsd/openresolv/dist/resolvconf.in:1.2	Mon Sep 24 21:58:11 2018
+++ src/external/bsd/openresolv/dist/resolvconf.in	Tue Sep 25 05:57:46 2018
@@ -603,7 +603,7 @@ make_vars()
 		list_resolv -i "$@" >/dev/null || IF_EXCLUSIVE=0
 		eval "$(list_resolv -l "$@" | replace | parse_resolv)"
 	fi
-	if [ -n "${name_servers_append}${search_domains_append} ]; then
+	if [ -n "${name_servers_append}${search_domains_append}" ]; then
 		eval "$(echo_append | parse_resolv)"
 	fi
 



CVS commit: src/sys/dev/pckbport

2018-06-03 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sun Jun  3 07:24:18 UTC 2018

Modified Files:
src/sys/dev/pckbport: synaptics.c

Log Message:
Enable Synaptics multifinger capability (Extended W mode)

Magic parameters are taken from
  https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/.
Tested on HP ProBook 4630s, Lenovo E530, VAIO Pro 11 and HP Spectre x360 ae.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/pckbport/synaptics.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/pckbport/synaptics.c
diff -u src/sys/dev/pckbport/synaptics.c:1.38 src/sys/dev/pckbport/synaptics.c:1.39
--- src/sys/dev/pckbport/synaptics.c:1.38	Wed May 30 13:20:39 2018
+++ src/sys/dev/pckbport/synaptics.c	Sun Jun  3 07:24:18 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: synaptics.c,v 1.38 2018/05/30 13:20:39 ryoon Exp $	*/
+/*	$NetBSD: synaptics.c,v 1.39 2018/06/03 07:24:18 ryoon Exp $	*/
 
 /*
  * Copyright (c) 2005, Steve C. Woodford
@@ -48,7 +48,7 @@
 #include "opt_pms.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.38 2018/05/30 13:20:39 ryoon Exp $");
+__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.39 2018/06/03 07:24:18 ryoon Exp $");
 
 #include 
 #include 
@@ -433,6 +433,7 @@ pms_synaptics_enable(void *vsc)
 	struct synaptics_softc *sc = >u.synaptics;
 	u_char enable_modes;
 	int res;
+	u_char cmd[1], resp[3];
 
 	if (sc->flags & SYN_FLAG_HAS_PASSTHROUGH) {
 		/*
@@ -474,6 +475,50 @@ pms_synaptics_enable(void *vsc)
 	for (int i = 0; i < 2; i++)
 		synaptics_poll_cmd(psc, PMS_SET_SCALE11, 0);
 
+	/*
+	 * Enable multi-finger capability in cold boot case with
+	 * undocumented dequence.
+	 * Parameters from
+	 * https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/
+	 * VoodooPS2Trackpad/VoodooPS2SynapticsTouchPad.cpp
+	 * setTouchPadModeByte function.
+	 */
+	if (sc->flags & SYN_FLAG_HAS_EXTENDED_WMODE) {
+		cmd[0] = 0xe6;
+		(void)pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot,
+		cmd, 1, 3, resp, 0);
+		cmd[0] = 0xe8;
+		(void)pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot,
+		cmd, 1, 3, resp, 0);
+		cmd[0] = 0x00;
+		(void)pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot,
+		cmd, 1, 3, resp, 0);
+		cmd[0] = 0xe8;
+		(void)pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot,
+		cmd, 1, 3, resp, 0);
+		cmd[0] = 0x00;
+		(void)pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot,
+		cmd, 1, 3, resp, 0);
+		cmd[0] = 0xe8;
+		(void)pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot,
+		cmd, 1, 3, resp, 0);
+		cmd[0] = 0x00;
+		(void)pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot,
+		cmd, 1, 3, resp, 0);
+		cmd[0] = 0xe8;
+		(void)pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot,
+		cmd, 1, 3, resp, 0);
+		cmd[0] = 0x03;
+		(void)pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot,
+		cmd, 1, 3, resp, 0);
+		cmd[0] = 0xf3;
+		(void)pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot,
+		cmd, 1, 3, resp, 0);
+		cmd[0] = 0xc8;
+		(void)pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot,
+		cmd, 1, 3, resp, 0);
+	}
+
 	synaptics_poll_cmd(psc, PMS_DEV_ENABLE, 0);
 
 	sc->up_down = 0;



CVS commit: src/sys/dev/pckbport

2018-05-30 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Wed May 30 13:20:39 UTC 2018

Modified Files:
src/sys/dev/pckbport: synaptics.c

Log Message:
Remove double and trailing whitespaces


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/pckbport/synaptics.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/pckbport/synaptics.c
diff -u src/sys/dev/pckbport/synaptics.c:1.37 src/sys/dev/pckbport/synaptics.c:1.38
--- src/sys/dev/pckbport/synaptics.c:1.37	Tue May 29 11:38:24 2018
+++ src/sys/dev/pckbport/synaptics.c	Wed May 30 13:20:39 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: synaptics.c,v 1.37 2018/05/29 11:38:24 ryoon Exp $	*/
+/*	$NetBSD: synaptics.c,v 1.38 2018/05/30 13:20:39 ryoon Exp $	*/
 
 /*
  * Copyright (c) 2005, Steve C. Woodford
@@ -48,7 +48,7 @@
 #include "opt_pms.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.37 2018/05/29 11:38:24 ryoon Exp $");
+__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.38 2018/05/30 13:20:39 ryoon Exp $");
 
 #include 
 #include 
@@ -451,7 +451,7 @@ pms_synaptics_enable(void *vsc)
 	enable_modes =
 	   SYNAPTICS_MODE_ABSOLUTE | SYNAPTICS_MODE_W | SYNAPTICS_MODE_RATE;
 
-	if (sc->flags & SYN_FLAG_HAS_EXTENDED_WMODE) 
+	if (sc->flags & SYN_FLAG_HAS_EXTENDED_WMODE)
 		enable_modes |= SYNAPTICS_MODE_EXTENDED_W;
 
 	/*
@@ -823,7 +823,7 @@ pms_sysctl_synaptics_verify(SYSCTLFN_ARG
 			return (EINVAL);
 	} else
 	if (node.sysctl_num == synaptics_button_boundary_nodenum) {
-		if (t < 0 || t < SYNAPTICS_EDGE_BOTTOM || 
+		if (t < 0 || t < SYNAPTICS_EDGE_BOTTOM ||
 		t > SYNAPTICS_EDGE_TOP)
 			return (EINVAL);
 	} else
@@ -862,7 +862,7 @@ pms_synaptics_parse(struct pms_softc *ps
 	   ((psc->packet[0] & 0x04) >> 1) +
 	   ((psc->packet[3] & 0x04) >> 2);
 	sp.sp_finger = 0;
-	if (sp.sp_w ==  SYNAPTICS_WIDTH_EXTENDED_W) {
+	if (sp.sp_w == SYNAPTICS_WIDTH_EXTENDED_W) {
 		ew_mode = psc->packet[5] >> 4;
 		switch (ew_mode)
 		{
@@ -936,7 +936,7 @@ pms_synaptics_parse(struct pms_softc *ps
 		new_buttons = 0;
 		if(sc->flags & SYN_FLAG_HAS_ONE_BUTTON_CLICKPAD) {
 			/* This is not correctly specified. Read this button press
-		 	* from L/U bit.  Emulate 3 buttons by checking the 
+		 	* from L/U bit.  Emulate 3 buttons by checking the
 		 	* coordinates of the click and returning the appropriate
 		 	* button code.  Outside the button region default to a
 		 	* left click.



CVS commit: src/sys/dev/pckbport

2018-05-29 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue May 29 11:38:24 UTC 2018

Modified Files:
src/sys/dev/pckbport: synaptics.c

Log Message:
Remove trailing tab


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/pckbport/synaptics.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/pckbport/synaptics.c
diff -u src/sys/dev/pckbport/synaptics.c:1.36 src/sys/dev/pckbport/synaptics.c:1.37
--- src/sys/dev/pckbport/synaptics.c:1.36	Tue Dec  5 18:04:21 2017
+++ src/sys/dev/pckbport/synaptics.c	Tue May 29 11:38:24 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: synaptics.c,v 1.36 2017/12/05 18:04:21 jmcneill Exp $	*/
+/*	$NetBSD: synaptics.c,v 1.37 2018/05/29 11:38:24 ryoon Exp $	*/
 
 /*
  * Copyright (c) 2005, Steve C. Woodford
@@ -48,7 +48,7 @@
 #include "opt_pms.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.36 2017/12/05 18:04:21 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.37 2018/05/29 11:38:24 ryoon Exp $");
 
 #include 
 #include 
@@ -469,7 +469,7 @@ pms_synaptics_enable(void *vsc)
 		aprint_error("synaptics: set mode error\n");
 
 	synaptics_poll_cmd(psc, PMS_SET_SAMPLE, SYNAPTICS_CMD_SET_MODE2, 0);
-	
+
 	/* a couple of set scales to clear out pending commands */
 	for (int i = 0; i < 2; i++)
 		synaptics_poll_cmd(psc, PMS_SET_SCALE11, 0);



CVS commit: src/sys/dev/hid

2018-05-25 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Fri May 25 15:52:46 UTC 2018

Modified Files:
src/sys/dev/hid: hidms.c

Log Message:
Fix HIDMS_DEBUG build


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/hid/hidms.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/hid/hidms.c
diff -u src/sys/dev/hid/hidms.c:1.1 src/sys/dev/hid/hidms.c:1.2
--- src/sys/dev/hid/hidms.c:1.1	Sun Dec 10 17:03:07 2017
+++ src/sys/dev/hid/hidms.c	Fri May 25 15:52:45 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: hidms.c,v 1.1 2017/12/10 17:03:07 bouyer Exp $	*/
+/*	$NetBSD: hidms.c,v 1.2 2018/05/25 15:52:45 ryoon Exp $	*/
 
 /*
  * Copyright (c) 1998, 2017 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: hidms.c,v 1.1 2017/12/10 17:03:07 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hidms.c,v 1.2 2018/05/25 15:52:45 ryoon Exp $");
 
 #include 
 #include 
@@ -211,6 +211,9 @@ hidms_attach(device_t self, struct hidms
 const struct wsmouse_accessops *ops)
 {
 	struct wsmousedev_attach_args a;
+#ifdef HIDMS_DEBUG
+	int i;
+#endif
 	aprint_normal(": %d button%s%s%s%s%s%s%s%s%s\n",
 	ms->nbuttons, ms->nbuttons == 1 ? "" : "s",
 	ms->flags & HIDMS_W ? ", W" : "",



CVS commit: src/sys/dev/acpi

2018-05-25 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Fri May 25 15:48:00 UTC 2018

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

Log Message:
If fixed feature buttons exist, print detection messages.


To generate a diff of this commit:
cvs rdiff -u -r1.270 -r1.271 src/sys/dev/acpi/acpi.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/acpi/acpi.c
diff -u src/sys/dev/acpi/acpi.c:1.270 src/sys/dev/acpi/acpi.c:1.271
--- src/sys/dev/acpi/acpi.c:1.270	Sat May  5 17:16:23 2018
+++ src/sys/dev/acpi/acpi.c	Fri May 25 15:48:00 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: acpi.c,v 1.270 2018/05/05 17:16:23 christos Exp $	*/
+/*	$NetBSD: acpi.c,v 1.271 2018/05/25 15:48:00 ryoon Exp $	*/
 
 /*-
  * Copyright (c) 2003, 2007 The NetBSD Foundation, Inc.
@@ -100,7 +100,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.270 2018/05/05 17:16:23 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.271 2018/05/25 15:48:00 ryoon Exp $");
 
 #include "pci.h"
 #include "opt_acpi.h"
@@ -1195,7 +1195,7 @@ acpi_register_fixed_button(struct acpi_s
 		goto fail;
 	}
 
-	aprint_debug_dev(sc->sc_dev, "fixed %s button present\n",
+	aprint_normal_dev(sc->sc_dev, "fixed %s button present\n",
 	(type != ACPI_EVENT_SLEEP_BUTTON) ? "power" : "sleep");
 
 	return;



CVS commit: src/sys/dev/acpi

2018-05-05 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sat May  5 21:16:31 UTC 2018

Modified Files:
src/sys/dev/acpi: com_acpi.c

Log Message:
Insert a whitespace after comma


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/acpi/com_acpi.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/acpi/com_acpi.c
diff -u src/sys/dev/acpi/com_acpi.c:1.34 src/sys/dev/acpi/com_acpi.c:1.35
--- src/sys/dev/acpi/com_acpi.c:1.34	Wed Mar 29 20:08:40 2017
+++ src/sys/dev/acpi/com_acpi.c	Sat May  5 21:16:31 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: com_acpi.c,v 1.34 2017/03/29 20:08:40 jdolecek Exp $ */
+/* $NetBSD: com_acpi.c,v 1.35 2018/05/05 21:16:31 ryoon Exp $ */
 
 /*
  * Copyright (c) 2002 Jared D. McNeill 
@@ -26,7 +26,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: com_acpi.c,v 1.34 2017/03/29 20:08:40 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com_acpi.c,v 1.35 2018/05/05 21:16:31 ryoon Exp $");
 
 #include 
 #include 
@@ -77,7 +77,7 @@ com_acpi_match(device_t parent, cfdata_t
 	if (aa->aa_node->ad_type != ACPI_TYPE_DEVICE)
 		return 0;
 
-	return acpi_match_hid(aa->aa_node->ad_devinfo,com_acpi_ids);
+	return acpi_match_hid(aa->aa_node->ad_devinfo, com_acpi_ids);
 }
 
 /*



CVS commit: src/sys/dev/usb

2018-03-25 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sun Mar 25 09:34:02 UTC 2018

Modified Files:
src/sys/dev/usb: uts.c

Log Message:
Add extra newline for normal message from uts(4)


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/usb/uts.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/usb/uts.c
diff -u src/sys/dev/usb/uts.c:1.8 src/sys/dev/usb/uts.c:1.9
--- src/sys/dev/usb/uts.c:1.8	Sun Dec 10 17:03:07 2017
+++ src/sys/dev/usb/uts.c	Sun Mar 25 09:34:02 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: uts.c,v 1.8 2017/12/10 17:03:07 bouyer Exp $	*/
+/*	$NetBSD: uts.c,v 1.9 2018/03/25 09:34:02 ryoon Exp $	*/
 
 /*
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: uts.c,v 1.8 2017/12/10 17:03:07 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uts.c,v 1.9 2018/03/25 09:34:02 ryoon Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -144,7 +144,7 @@ uts_attach(device_t parent, device_t sel
 	struct hid_data * d;
 	struct hid_item item;
 
-	aprint_naive("\n");
+	aprint_normal("\n");
 
 	sc->sc_hdev.sc_dev = self;
 	sc->sc_hdev.sc_intr = uts_intr;



CVS commit: src/external/bsd/bind

2018-02-14 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Wed Feb 14 12:47:43 UTC 2018

Modified Files:
src/external/bsd/bind: Makefile.inc

Log Message:
Fix broken dig and host commands

OpenSSL 1.1 does not have GOST support, so restrict GOST support to 1.0.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/external/bsd/bind/Makefile.inc

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/bind/Makefile.inc
diff -u src/external/bsd/bind/Makefile.inc:1.28 src/external/bsd/bind/Makefile.inc:1.29
--- src/external/bsd/bind/Makefile.inc:1.28	Sun Feb  4 03:19:52 2018
+++ src/external/bsd/bind/Makefile.inc	Wed Feb 14 12:47:43 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.28 2018/02/04 03:19:52 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.29 2018/02/14 12:47:43 ryoon Exp $
 
 .if !defined(BIND9_MAKEFILE_INC)
 BIND9_MAKEFILE_INC=yes
@@ -87,7 +87,10 @@ LIBDPLIBS+=  pthread  ${NETBSDSRCDIR
 .endif
 
 .if ${NAMED_USE_OPENSSL} == "yes"
-CPPFLAGS+=-DOPENSSL -DUSE_ISC_SPNEGO -DHAVE_OPENSSL_GOST
+CPPFLAGS+=-DOPENSSL -DUSE_ISC_SPNEGO
+.if ${HAVE_OPENSSL} == 10
+CPPFLAGS+=-DHAVE_OPENSSL_GOST
+.endif
 .if ${MKKERBEROS} != "no"
 CPPFLAGS+=-DGSSAPI
 .endif



CVS commit: src/sys/arch/amd64/stand/prekern

2017-12-22 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sat Dec 23 06:48:30 UTC 2017

Modified Files:
src/sys/arch/amd64/stand/prekern: Makefile

Log Message:
Use ldscript from src to fix build.sh build


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/amd64/stand/prekern/Makefile

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/amd64/stand/prekern/Makefile
diff -u src/sys/arch/amd64/stand/prekern/Makefile:1.5 src/sys/arch/amd64/stand/prekern/Makefile:1.6
--- src/sys/arch/amd64/stand/prekern/Makefile:1.5	Sun Nov 26 11:01:09 2017
+++ src/sys/arch/amd64/stand/prekern/Makefile	Sat Dec 23 06:48:30 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2017/11/26 11:01:09 maxv Exp $
+#	$NetBSD: Makefile,v 1.6 2017/12/23 06:48:30 ryoon Exp $
 
 PROG=		prekern
 SRCS=		locore.S trap.S prekern.c mm.c console.c elf.c prng.c
@@ -25,7 +25,8 @@ CPPFLAGS+=	-DKERNEL -D__x86_64__
 CFLAGS+=	-Wall -Werror -Wstrict-prototypes
 CFLAGS+=	-mno-red-zone -mno-mmx -mno-sse -mno-avx -ffreestanding
 STRIPFLAG=
-LINKFLAGS=	-X -z max-page-size=0x10 -Ttext 0x10 -T prekern.ldscript
+LINKFLAGS=	-X -z max-page-size=0x10 -Ttext 0x10 \
+		-T ${S}/arch/amd64/stand/prekern/prekern.ldscript
 
 KERN_AS=	library
 .include	"${S}/lib/libkern/Makefile.inc"



CVS commit: src/sys/dev/acpi

2017-11-09 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Thu Nov  9 23:51:54 UTC 2017

Modified Files:
src/sys/dev/acpi: valz_acpi.c

Log Message:
Do not emit a meaningless message when lid open/close from valz(4)


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/acpi/valz_acpi.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/acpi/valz_acpi.c
diff -u src/sys/dev/acpi/valz_acpi.c:1.7 src/sys/dev/acpi/valz_acpi.c:1.8
--- src/sys/dev/acpi/valz_acpi.c:1.7	Mon Oct  5 15:57:50 2015
+++ src/sys/dev/acpi/valz_acpi.c	Thu Nov  9 23:51:54 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: valz_acpi.c,v 1.7 2015/10/05 15:57:50 christos Exp $	*/
+/*	$NetBSD: valz_acpi.c,v 1.8 2017/11/09 23:51:54 ryoon Exp $	*/
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: valz_acpi.c,v 1.7 2015/10/05 15:57:50 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: valz_acpi.c,v 1.8 2017/11/09 23:51:54 ryoon Exp $");
 
 #include 
 #include 
@@ -336,7 +336,7 @@ valz_acpi_notify_handler(ACPI_HANDLE han
 		break;
 
 	default:
-		aprint_error_dev(sc->sc_dev,
+		aprint_debug_dev(sc->sc_dev,
 		"unknown notify 0x%02X\n", notify);
 		break;
 	}



CVS commit: src/sys/dev/pckbport

2017-11-07 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Nov  7 12:39:07 UTC 2017

Modified Files:
src/sys/dev/pckbport: synaptics.c

Log Message:
Return res in non-synaptics case like before. Fix ALPS case


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/pckbport/synaptics.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/pckbport/synaptics.c
diff -u src/sys/dev/pckbport/synaptics.c:1.34 src/sys/dev/pckbport/synaptics.c:1.35
--- src/sys/dev/pckbport/synaptics.c:1.34	Mon Nov  6 21:07:17 2017
+++ src/sys/dev/pckbport/synaptics.c	Tue Nov  7 12:39:07 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: synaptics.c,v 1.34 2017/11/06 21:07:17 blymn Exp $	*/
+/*	$NetBSD: synaptics.c,v 1.35 2017/11/07 12:39:07 ryoon Exp $	*/
 
 /*
  * Copyright (c) 2005, Steve C. Woodford
@@ -48,7 +48,7 @@
 #include "opt_pms.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.34 2017/11/06 21:07:17 blymn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.35 2017/11/07 12:39:07 ryoon Exp $");
 
 #include 
 #include 
@@ -316,7 +316,8 @@ pms_synaptics_probe_init(void *vsc)
 		 * Reset device in case the probe confused it.
 		 */
  doreset:
-		return synaptics_poll_reset(psc);
+		(void)synaptics_poll_reset(psc);
+		return res;
 	}
 
 	if (resp[1] != SYNAPTICS_MAGIC_BYTE) {



CVS commit: src/sys/netipsec

2017-10-01 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sun Oct  1 09:45:16 UTC 2017

Modified Files:
src/sys/netipsec: key.c

Log Message:
Fix typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.230 -r1.231 src/sys/netipsec/key.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/netipsec/key.c
diff -u src/sys/netipsec/key.c:1.230 src/sys/netipsec/key.c:1.231
--- src/sys/netipsec/key.c:1.230	Sat Sep 30 21:47:12 2017
+++ src/sys/netipsec/key.c	Sun Oct  1 09:45:16 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: key.c,v 1.230 2017/09/30 21:47:12 christos Exp $	*/
+/*	$NetBSD: key.c,v 1.231 2017/10/01 09:45:16 ryoon Exp $	*/
 /*	$FreeBSD: src/sys/netipsec/key.c,v 1.3.2.3 2004/02/14 22:23:23 bms Exp $	*/
 /*	$KAME: key.c,v 1.191 2001/06/27 10:46:49 sakane Exp $	*/
 
@@ -32,10 +32,10 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.230 2017/09/30 21:47:12 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.231 2017/10/01 09:45:16 ryoon Exp $");
 
 /*
- * This code is referd to RFC 2367
+ * This code is referred to RFC 2367
  */
 
 #if defined(_KERNEL_OPT)



CVS commit: src/share/man/man4

2017-09-06 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Wed Sep  6 14:54:34 UTC 2017

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

Log Message:
Bump date


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/share/man/man4/sm.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/sm.4
diff -u src/share/man/man4/sm.4:1.13 src/share/man/man4/sm.4:1.14
--- src/share/man/man4/sm.4:1.13	Wed Sep  6 14:54:01 2017
+++ src/share/man/man4/sm.4	Wed Sep  6 14:54:34 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sm.4,v 1.13 2017/09/06 14:54:01 ryoon Exp $
+.\"	$NetBSD: sm.4,v 1.14 2017/09/06 14:54:34 ryoon Exp $
 .\"
 .\" Copyright (c) 1997 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -28,7 +28,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd November 10, 1997
+.Dd September 6, 2017
 .Dt SM 4
 .Os
 .Sh NAME



CVS commit: src/share/man/man4

2017-09-06 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Wed Sep  6 14:54:01 UTC 2017

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

Log Message:
Add sm(4) in evbarm INTEGRATOR_CP kernel


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/share/man/man4/sm.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/sm.4
diff -u src/share/man/man4/sm.4:1.12 src/share/man/man4/sm.4:1.13
--- src/share/man/man4/sm.4:1.12	Wed Apr 30 13:10:54 2008
+++ src/share/man/man4/sm.4	Wed Sep  6 14:54:01 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sm.4,v 1.12 2008/04/30 13:10:54 martin Exp $
+.\"	$NetBSD: sm.4,v 1.13 2017/09/06 14:54:01 ryoon Exp $
 .\"
 .\" Copyright (c) 1997 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -35,6 +35,7 @@
 .Nm sm
 .Nd SMC91Cxx-based Ethernet interfaces device driver
 .Sh SYNOPSIS
+.Cd "sm0 at ifpga0 addr 0xb800 irq 27"
 .Cd "sm0 at isa? port 0x300 irq 10"
 .Cd "sm* at mhzc?"
 .Cd "sm* at pcmcia? function ?"
@@ -44,6 +45,11 @@ The
 .Nm
 device driver supports SMC91C9x-based and SMC91C1xx-based Ethernet interfaces.
 .Pp
+The ifpga0 attachment of the
+.Nm
+driver supports SMC91C9x-based Ethernet interface on the ARM Integrator/CP
+board.
+.Pp
 The ISA attachment of the
 .Nm
 driver supports any SMC91C9x-based Ethernet interface on the ISA



CVS commit: src/share/man/man4

2017-09-06 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Wed Sep  6 14:47:35 UTC 2017

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

Log Message:
Bump date


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/man/man4/ums.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/ums.4
diff -u src/share/man/man4/ums.4:1.10 src/share/man/man4/ums.4:1.11
--- src/share/man/man4/ums.4:1.10	Wed Sep  6 14:47:00 2017
+++ src/share/man/man4/ums.4	Wed Sep  6 14:47:35 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: ums.4,v 1.10 2017/09/06 14:47:00 ryoon Exp $
+.\" $NetBSD: ums.4,v 1.11 2017/09/06 14:47:35 ryoon Exp $
 .\"
 .\" Copyright (c) 1999, 2001 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 November 27, 2009
+.Dd September 6, 2017
 .Dt UMS 4
 .Os
 .Sh NAME



CVS commit: src/share/man/man4

2017-09-06 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Wed Sep  6 14:47:00 UTC 2017

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

Log Message:
Refer to wsmouse(4) instread of wscons(4)


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/man/man4/ums.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/ums.4
diff -u src/share/man/man4/ums.4:1.9 src/share/man/man4/ums.4:1.10
--- src/share/man/man4/ums.4:1.9	Fri Nov 27 08:35:05 2009
+++ src/share/man/man4/ums.4	Wed Sep  6 14:47:00 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: ums.4,v 1.9 2009/11/27 08:35:05 mbalmer Exp $
+.\" $NetBSD: ums.4,v 1.10 2017/09/06 14:47:00 ryoon Exp $
 .\"
 .\" Copyright (c) 1999, 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -41,7 +41,7 @@ The
 .Nm
 driver provides support for USB mice and touchpanels.
 Access to the movement data is through the
-.Xr wscons 4
+.Xr wsmouse 4
 driver.
 .Sh SEE ALSO
 .Xr uhidev 4 ,



CVS commit: src/share/man/man4

2017-09-06 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Wed Sep  6 14:43:50 UTC 2017

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

Log Message:
Bump date


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/uhidev.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/uhidev.4
diff -u src/share/man/man4/uhidev.4:1.6 src/share/man/man4/uhidev.4:1.7
--- src/share/man/man4/uhidev.4:1.6	Wed Sep  6 14:43:14 2017
+++ src/share/man/man4/uhidev.4	Wed Sep  6 14:43:50 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: uhidev.4,v 1.6 2017/09/06 14:43:14 ryoon Exp $
+.\" $NetBSD: uhidev.4,v 1.7 2017/09/06 14:43:50 ryoon Exp $
 .\"
 .\" Copyright (c) 2001 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 July 30, 2005
+.Dd September 6, 2017
 .Dt UHIDEV 4
 .Os
 .Sh NAME



CVS commit: src/share/man/man4

2017-09-06 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Wed Sep  6 14:43:14 UTC 2017

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

Log Message:
Add uts(4)


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/uhidev.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/uhidev.4
diff -u src/share/man/man4/uhidev.4:1.5 src/share/man/man4/uhidev.4:1.6
--- src/share/man/man4/uhidev.4:1.5	Wed Apr 30 13:10:54 2008
+++ src/share/man/man4/uhidev.4	Wed Sep  6 14:43:14 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: uhidev.4,v 1.5 2008/04/30 13:10:54 martin Exp $
+.\" $NetBSD: uhidev.4,v 1.6 2017/09/06 14:43:14 ryoon Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -39,6 +39,7 @@
 .Cd "uhid*   at uhidev? reportid ?"
 .Cd "ukbd*   at uhidev? reportid ?"
 .Cd "ums*at uhidev? reportid ?"
+.Cd "uts*at uhidev? reportid ?"
 .Sh DESCRIPTION
 The
 .Nm
@@ -56,7 +57,8 @@ only dispatches data to them based on th
 .Xr uhid 4 ,
 .Xr ukbd 4 ,
 .Xr ums 4 ,
-.Xr usb 4
+.Xr usb 4 ,
+.Xr uts 4
 .Sh HISTORY
 The
 .Nm



CVS commit: src/share/man/man4

2017-09-06 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Wed Sep  6 14:40:26 UTC 2017

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

Log Message:
Bump date


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/share/man/man4/pms.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/pms.4
diff -u src/share/man/man4/pms.4:1.26 src/share/man/man4/pms.4:1.27
--- src/share/man/man4/pms.4:1.26	Wed Sep  6 14:39:39 2017
+++ src/share/man/man4/pms.4	Wed Sep  6 14:40:26 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pms.4,v 1.26 2017/09/06 14:39:39 ryoon Exp $
+.\" $NetBSD: pms.4,v 1.27 2017/09/06 14:40:26 ryoon Exp $
 .\"
 .\" Copyright (c) 1993 Christopher G. Demetriou
 .\" All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\" <>
 .\"
-.Dd December 13, 2008
+.Dd September 6, 2017
 .Dt PMS 4
 .Os
 .Sh NAME



CVS commit: src/share/man/man4

2017-09-06 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Wed Sep  6 14:39:40 UTC 2017

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

Log Message:
Add newline for easier reading


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/share/man/man4/pms.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/pms.4
diff -u src/share/man/man4/pms.4:1.25 src/share/man/man4/pms.4:1.26
--- src/share/man/man4/pms.4:1.25	Wed Sep  6 14:38:41 2017
+++ src/share/man/man4/pms.4	Wed Sep  6 14:39:39 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pms.4,v 1.25 2017/09/06 14:38:41 ryoon Exp $
+.\" $NetBSD: pms.4,v 1.26 2017/09/06 14:39:39 ryoon Exp $
 .\"
 .\" Copyright (c) 1993 Christopher G. Demetriou
 .\" All rights reserved.
@@ -98,6 +98,7 @@ and
 kernel options.
 This allows the driver to take advantage of extra
 features available on Synaptics, Elantech and ALPS Touchpads.
+.Pp
 The following
 .Xr sysctl 8
 variables control behavior of Synaptics touchpads:



CVS commit: src/share/man/man4

2017-09-06 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Wed Sep  6 14:38:41 UTC 2017

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

Log Message:
Add ALPS description


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/share/man/man4/pms.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/pms.4
diff -u src/share/man/man4/pms.4:1.24 src/share/man/man4/pms.4:1.25
--- src/share/man/man4/pms.4:1.24	Sun Dec 14 13:51:33 2008
+++ src/share/man/man4/pms.4	Wed Sep  6 14:38:41 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pms.4,v 1.24 2008/12/14 13:51:33 wiz Exp $
+.\" $NetBSD: pms.4,v 1.25 2017/09/06 14:38:41 ryoon Exp $
 .\"
 .\" Copyright (c) 1993 Christopher G. Demetriou
 .\" All rights reserved.
@@ -46,6 +46,7 @@
 .Cd options PMS_DISABLE_POWERHOOK
 .Cd options PMS_SYNAPTICS_TOUCHPAD
 .Cd options PMS_ELANTECH_TOUCHPAD
+.Cd options PMS_ALPS_TOUCHPAD
 .Sh DESCRIPTION
 The
 .Nm
@@ -84,15 +85,19 @@ In addition, the
 .Nm
 driver supports the
 .Dq Synaptics
-and
+,
 .Dq Elantech
+and
+.Dq ALPS
 touchpads in native mode, enabled with the
 .Va PMS_SYNAPTICS_TOUCHPAD
-and
+,
 .Va PMS_ELANTECH_TOUCHPAD
+and
+.Va PMS_ALPS_TOUCHPAD
 kernel options.
 This allows the driver to take advantage of extra
-features available on Synaptics and Elantech Touchpads.
+features available on Synaptics, Elantech and ALPS Touchpads.
 The following
 .Xr sysctl 8
 variables control behavior of Synaptics touchpads:
@@ -164,6 +169,17 @@ and 3 for z).
 .Pp
 For Elantech touchpads, the Z-axis is emulated using two-finger
 Y-axis reporting.
+.Pp
+The following
+.Xr sysctl 8
+variables control behavior of ALPS touchpads:
+.Bl -tag
+.It Dv hw.alps.touchpad_xy_precision_shift
+.It Dv hw.alps.tackstick_xy_precision_shift
+Decreased values improve the accuracy of X and Y-axis reporting
+at the expense of slower mouse movement (default 2 for touchpad
+and 1 for TrackStick).
+.El
 .Sh SEE ALSO
 .Xr pckbc 4 ,
 .Xr ums 4 ,



CVS commit: src/sys/dev/usb

2017-09-01 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sat Sep  2 04:35:51 UTC 2017

Modified Files:
src/sys/dev/usb: ugraphire_rdesc.h uhidev.c

Log Message:
Support some Wacom pen tablets:

* Graphire (pen)
* Graphire2 (pen)
* Intuos2 A4 (pen)
* Intuos Art (pen, no finger touch)

Remove report descriptor override workaround for
Graphire and Graphire2.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/usb/ugraphire_rdesc.h
cvs rdiff -u -r1.71 -r1.72 src/sys/dev/usb/uhidev.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/usb/ugraphire_rdesc.h
diff -u src/sys/dev/usb/ugraphire_rdesc.h:1.9 src/sys/dev/usb/ugraphire_rdesc.h:1.10
--- src/sys/dev/usb/ugraphire_rdesc.h:1.9	Fri Dec 23 00:51:46 2011
+++ src/sys/dev/usb/ugraphire_rdesc.h	Sat Sep  2 04:35:51 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: ugraphire_rdesc.h,v 1.9 2011/12/23 00:51:46 jakllsch Exp $	*/
+/*	$NetBSD: ugraphire_rdesc.h,v 1.10 2017/09/02 04:35:51 ryoon Exp $	*/
 /*
  * Copyright (c) 2000 Nick Hibma 
  * All rights reserved.
@@ -26,8 +26,6 @@
  */
 
 /* Tested with 
- * - Graphire
- * - Graphire2
  * - Graphire3 4x5
  * - Graphire3 6x8
  * - Graphire4 4x5

Index: src/sys/dev/usb/uhidev.c
diff -u src/sys/dev/usb/uhidev.c:1.71 src/sys/dev/usb/uhidev.c:1.72
--- src/sys/dev/usb/uhidev.c:1.71	Sun Aug 13 22:29:42 2017
+++ src/sys/dev/usb/uhidev.c	Sat Sep  2 04:35:51 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: uhidev.c,v 1.71 2017/08/13 22:29:42 jakllsch Exp $	*/
+/*	$NetBSD: uhidev.c,v 1.72 2017/09/02 04:35:51 ryoon Exp $	*/
 
 /*
  * Copyright (c) 2001, 2012 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: uhidev.c,v 1.71 2017/08/13 22:29:42 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhidev.c,v 1.72 2017/09/02 04:35:51 ryoon Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -152,6 +152,15 @@ uhidev_attach(device_t parent, device_t 
 	if (!pmf_device_register(self, NULL, NULL))
 		aprint_error_dev(self, "couldn't establish power handler\n");
 
+	if (uiaa->uiaa_vendor == USB_VENDOR_WACOM) {
+		if (uiaa->uiaa_product == USB_PRODUCT_WACOM_XD0912U) {
+		/*
+		 * Wacom Intuos2 (XD-0912-U) requires longer idle time to
+		 * initialize the device with 0x0202.
+		 */
+			DELAY(50);
+		}
+	}
 	(void)usbd_set_idle(iface, 0, 0);
 
 	if ((usbd_get_quirks(sc->sc_udev)->uq_flags & UQ_NO_SET_PROTO) == 0)
@@ -202,12 +211,10 @@ uhidev_attach(device_t parent, device_t 
 	/* XXX need to extend this */
 	descptr = NULL;
 	if (uiaa->uiaa_vendor == USB_VENDOR_WACOM) {
-		static uByte reportbuf[] = {2, 2, 2};
+		static uByte reportbuf[3];
 
 		/* The report descriptor for the Wacom Graphire is broken. */
 		switch (uiaa->uiaa_product) {
-		case USB_PRODUCT_WACOM_GRAPHIRE:
-		case USB_PRODUCT_WACOM_GRAPHIRE2:
 		case USB_PRODUCT_WACOM_GRAPHIRE3_4X5:
 		case USB_PRODUCT_WACOM_GRAPHIRE3_6X8:
 		case USB_PRODUCT_WACOM_GRAPHIRE4_4X5: /* The 6x8 too? */
@@ -216,12 +223,23 @@ uhidev_attach(device_t parent, device_t 
 			 * feature report ID 2 before it'll start
 			 * returning digitizer data.
 			 */
+			reportbuf[0] = 0x02;
+			reportbuf[1] = 0x02;
 			usbd_set_report(uiaa->uiaa_iface, UHID_FEATURE_REPORT, 2,
-			, sizeof(reportbuf));
+			, 2);
 
 			size = sizeof(uhid_graphire3_4x5_report_descr);
 			descptr = uhid_graphire3_4x5_report_descr;
 			break;
+		case USB_PRODUCT_WACOM_GRAPHIRE:
+		case USB_PRODUCT_WACOM_GRAPHIRE2:
+		case USB_PRODUCT_WACOM_XD0912U:
+		case USB_PRODUCT_WACOM_CTH690K0:
+			reportbuf[0] = 0x02;
+			reportbuf[1] = 0x02;
+			usbd_set_report(uiaa->uiaa_iface, UHID_FEATURE_REPORT, 2,
+			, 2);
+			break;
 		default:
 			/* Keep descriptor */
 			break;



CVS commit: src/sys/dev/usb

2017-08-29 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Aug 29 18:33:16 UTC 2017

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
Regen.


To generate a diff of this commit:
cvs rdiff -u -r1.731 -r1.732 src/sys/dev/usb/usbdevs.h
cvs rdiff -u -r1.732 -r1.733 src/sys/dev/usb/usbdevs_data.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/usb/usbdevs.h
diff -u src/sys/dev/usb/usbdevs.h:1.731 src/sys/dev/usb/usbdevs.h:1.732
--- src/sys/dev/usb/usbdevs.h:1.731	Sun Aug  6 02:33:13 2017
+++ src/sys/dev/usb/usbdevs.h	Tue Aug 29 18:33:15 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: usbdevs.h,v 1.731 2017/08/06 02:33:13 ryoon Exp $	*/
+/*	$NetBSD: usbdevs.h,v 1.732 2017/08/29 18:33:15 ryoon Exp $	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -3403,6 +3403,8 @@
 #define	USB_PRODUCT_WACOM_GRAPHIRE4_4X5	0x0015		/* Graphire4 4x5 */
 #define	USB_PRODUCT_WACOM_INTUOSA5	0x0021		/* Intuos A5 */
 #define	USB_PRODUCT_WACOM_GD0912U	0x0022		/* Intuos 9x12 Graphics Tablet */
+#define	USB_PRODUCT_WACOM_XD0912U	0x0043		/* Intuos2 A4 i-920 XD-0912-U */
+#define	USB_PRODUCT_WACOM_CTH690K0	0x033e		/* Intuos Art CTH-690/K0 */
 
 /* Weltrend Semiconductor */
 #define	USB_PRODUCT_WELTREND_HID	0x2201		/* HID Device */

Index: src/sys/dev/usb/usbdevs_data.h
diff -u src/sys/dev/usb/usbdevs_data.h:1.732 src/sys/dev/usb/usbdevs_data.h:1.733
--- src/sys/dev/usb/usbdevs_data.h:1.732	Sun Aug  6 02:33:13 2017
+++ src/sys/dev/usb/usbdevs_data.h	Tue Aug 29 18:33:16 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: usbdevs_data.h,v 1.732 2017/08/06 02:33:13 ryoon Exp $	*/
+/*	$NetBSD: usbdevs_data.h,v 1.733 2017/08/29 18:33:16 ryoon Exp $	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -4606,24 +4606,28 @@ static const uint16_t usb_products[] = {
 	19234, 19241, 0,
 	USB_VENDOR_WACOM, USB_PRODUCT_WACOM_GD0912U, 
 	19234, 19244, 1886, 19169, 0,
+	USB_VENDOR_WACOM, USB_PRODUCT_WACOM_XD0912U, 
+	19249, 18315, 19257, 19263, 0,
+	USB_VENDOR_WACOM, USB_PRODUCT_WACOM_CTH690K0, 
+	19234, 19273, 19277, 0,
 	USB_VENDOR_WELTREND, USB_PRODUCT_WELTREND_HID, 
-	19249, 7711, 0,
+	19288, 7711, 0,
 	USB_VENDOR_WESTERN, USB_PRODUCT_WESTERN_EXTHDD, 
-	19253, 19262, 0,
+	19292, 19301, 0,
 	USB_VENDOR_WINCHIPHEAD, USB_PRODUCT_WINCHIPHEAD_CH341SER, 
-	19266, 16975, 1786, 0,
+	19305, 16975, 1786, 0,
 	USB_VENDOR_WINCHIPHEAD2, USB_PRODUCT_WINCHIPHEAD2_CH341, 
-	19278, 16975, 1786, 0,
+	19317, 16975, 1786, 0,
 	USB_VENDOR_WINCHIPHEAD2, USB_PRODUCT_WINCHIPHEAD2_CH341_2, 
-	19278, 16975, 1786, 0,
+	19317, 16975, 1786, 0,
 	USB_VENDOR_WISTRONNEWEB, USB_PRODUCT_WISTRONNEWEB_WNC0600, 
-	19284, 0,
+	19323, 0,
 	USB_VENDOR_WISTRONNEWEB, USB_PRODUCT_WISTRONNEWEB_UR045G, 
 	5210, 4743, 5218, 5183, 0,
 	USB_VENDOR_WISTRONNEWEB, USB_PRODUCT_WISTRONNEWEB_UR055G, 
-	19296, 0,
+	19335, 0,
 	USB_VENDOR_WISTRONNEWEB, USB_PRODUCT_WISTRONNEWEB_O8494, 
-	19303, 19311, 0,
+	19342, 19350, 0,
 	USB_VENDOR_WISTRONNEWEB, USB_PRODUCT_WISTRONNEWEB_AR5523_1, 
 	6807, 0,
 	USB_VENDOR_WISTRONNEWEB, USB_PRODUCT_WISTRONNEWEB_AR5523_1_NF, 
@@ -4633,7 +4637,7 @@ static const uint16_t usb_products[] = {
 	USB_VENDOR_WISTRONNEWEB, USB_PRODUCT_WISTRONNEWEB_AR5523_2_NF, 
 	6807, 0,
 	USB_VENDOR_XIRLINK, USB_PRODUCT_XIRLINK_IMAGING, 
-	19319, 19327, 0,
+	19358, 19366, 0,
 	USB_VENDOR_XIRLINK, USB_PRODUCT_XIRLINK_PCCAM, 
 	672, 5667, 2901, 0,
 	USB_VENDOR_CONEXANT, USB_PRODUCT_CONEXANT_MODEM_1, 
@@ -4643,53 +4647,53 @@ static const uint16_t usb_products[] = {
 	USB_VENDOR_CONEXANT, USB_PRODUCT_CONEXANT_PRISM_GT_2, 
 	5210, 4743, 5218, 5183, 0,
 	USB_VENDOR_YAMAHA, USB_PRODUCT_YAMAHA_UX256, 
-	19334, 16462, 16453, 0,
+	19373, 16462, 16453, 0,
 	USB_VENDOR_YAMAHA, USB_PRODUCT_YAMAHA_MU1000, 
-	19340, 16462, 16497, 0,
+	19379, 16462, 16497, 0,
 	USB_VENDOR_YAMAHA, USB_PRODUCT_YAMAHA_MU2000, 
-	19347, 16462, 16497, 0,
+	19386, 16462, 16497, 0,
 	USB_VENDOR_YAMAHA, USB_PRODUCT_YAMAHA_MU500, 
-	19354, 16462, 16497, 0,
+	19393, 16462, 16497, 0,
 	USB_VENDOR_YAMAHA, USB_PRODUCT_YAMAHA_UW500, 
-	19360, 4743, 7058, 16453, 0,
+	19399, 4743, 7058, 16453, 0,
 	USB_VENDOR_YAMAHA, USB_PRODUCT_YAMAHA_MOTIF6, 
-	19366, 16462, 16497, 19373, 0,
+	19405, 16462, 16497, 19412, 0,
 	USB_VENDOR_YAMAHA, USB_PRODUCT_YAMAHA_MOTIF7, 
-	19385, 16462, 16497, 19373, 0,
+	19424, 16462, 16497, 19412, 0,
 	USB_VENDOR_YAMAHA, USB_PRODUCT_YAMAHA_MOTIF8, 
-	19392, 16462, 16497, 19373, 0,
+	19431, 16462, 16497, 19412, 0,
 	USB_VENDOR_YAMAHA, USB_PRODUCT_YAMAHA_UX96, 
-	19399, 16462, 16453, 0,
+	19438, 16462, 16453, 0,
 	USB_VENDOR_YAMAHA, USB_PRODUCT_YAMAHA_UX16, 
-	19404, 16462, 16453, 0,
+	19443, 

CVS commit: src/sys/dev/usb

2017-08-29 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Aug 29 18:31:19 UTC 2017

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
Add Wacom Intuos2 A4 and Intuos Art pen tablets


To generate a diff of this commit:
cvs rdiff -u -r1.738 -r1.739 src/sys/dev/usb/usbdevs

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/usb/usbdevs
diff -u src/sys/dev/usb/usbdevs:1.738 src/sys/dev/usb/usbdevs:1.739
--- src/sys/dev/usb/usbdevs:1.738	Sun Jul  9 19:37:33 2017
+++ src/sys/dev/usb/usbdevs	Tue Aug 29 18:31:19 2017
@@ -1,4 +1,4 @@
-$NetBSD: usbdevs,v 1.738 2017/07/09 19:37:33 christos Exp $
+$NetBSD: usbdevs,v 1.739 2017/08/29 18:31:19 ryoon Exp $
 
 /*
  * Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@@ -3396,6 +3396,8 @@ product WACOM GRAPHIRE3_6X8	0x0014	Graph
 product WACOM GRAPHIRE4_4X5	0x0015	Graphire4 4x5
 product WACOM INTUOSA5		0x0021	Intuos A5
 product WACOM GD0912U		0x0022	Intuos 9x12 Graphics Tablet
+product WACOM XD0912U		0x0043	Intuos2 A4 i-920 XD-0912-U
+product WACOM CTH690K0		0x033e	Intuos Art CTH-690/K0
 
 /* Weltrend Semiconductor */
 product WELTREND HID		0x2201	HID Device



CVS commit: src/external/mit/xorg/server/xorg-server

2017-08-29 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Aug 29 18:19:49 UTC 2017

Modified Files:
src/external/mit/xorg/server/xorg-server: Makefile

Log Message:
xorg-server.pc should include pixman-1 dependency because
include/xorg/miscstruct.h includes pixman.h


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/external/mit/xorg/server/xorg-server/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/mit/xorg/server/xorg-server/Makefile
diff -u src/external/mit/xorg/server/xorg-server/Makefile:1.28 src/external/mit/xorg/server/xorg-server/Makefile:1.29
--- src/external/mit/xorg/server/xorg-server/Makefile:1.28	Sun Mar  5 11:52:39 2017
+++ src/external/mit/xorg/server/xorg-server/Makefile	Tue Aug 29 18:19:49 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.28 2017/03/05 11:52:39 mrg Exp $
+#	$NetBSD: Makefile,v 1.29 2017/08/29 18:19:49 ryoon Exp $
 
 .include 
 
@@ -30,7 +30,7 @@ PKGCONFIG=	xorg-server
 PKGCONFIG_SED_FLAGS= \
 	-e "s,@sysconfigdir@,${X11ETCDIR},; \
 	s,@XORG_DRIVER_LIBS@,,; \
-	s,@SDK_REQUIRED_MODULES@,xproto >= 7.0.28 randrproto >= 1.5.0 renderproto >= 0.11 xextproto >= 7.2.99.901 inputproto >= 2.3 kbproto >= 1.0.3 fontsproto >= 2.1.3 fixesproto >= 5.0 damageproto >= 1.1 xcmiscproto >= 1.2.0 bigreqsproto >= 1.1.0 xtrans >= 1.3.5 presentproto >= 1.0,; \
+	s,@SDK_REQUIRED_MODULES@,xproto >= 7.0.28 randrproto >= 1.5.0 renderproto >= 0.11 xextproto >= 7.2.99.901 inputproto >= 2.3 kbproto >= 1.0.3 fontsproto >= 2.1.3 pixman-1 >= 0.27.2 fixesproto >= 5.0 damageproto >= 1.1 xcmiscproto >= 1.2.0 bigreqsproto >= 1.1.0 xtrans >= 1.3.5 presentproto >= 1.0,; \
 	s,@symbol_visibility@,,"
 
 .include 



CVS commit: src/sys/dev/pckbport

2017-08-15 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Aug 15 22:23:09 UTC 2017

Modified Files:
src/sys/dev/pckbport: alps.c

Log Message:
Do not print ALPS related message when generic PS/2 case


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pckbport/alps.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/pckbport/alps.c
diff -u src/sys/dev/pckbport/alps.c:1.1 src/sys/dev/pckbport/alps.c:1.2
--- src/sys/dev/pckbport/alps.c:1.1	Sun Aug 13 08:49:27 2017
+++ src/sys/dev/pckbport/alps.c	Tue Aug 15 22:23:09 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: alps.c,v 1.1 2017/08/13 08:49:27 christos Exp $ */
+/* $NetBSD: alps.c,v 1.2 2017/08/15 22:23:09 ryoon Exp $ */
 
 /*-
  * Copyright (c) 2017 Ryo ONODERA <r...@tetera.org>
@@ -30,7 +30,7 @@
 #include "opt_pms.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: alps.c,v 1.1 2017/08/13 08:49:27 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: alps.c,v 1.2 2017/08/15 22:23:09 ryoon Exp $");
 
 #include 
 #include 
@@ -695,7 +695,7 @@ pms_alps_probe_init(void *opaque)
 	pckbport_flush(psc->sc_kbctag, psc->sc_kbcslot);
 
 	if ((res = pms_alps_e6sig(psc, e6sig)) != 0)
-		goto err;
+		return res; /* This is not ALPS device */
 
 	if ((res = pms_alps_e7sig(psc, e7sig)) != 0)
 		goto err;



CVS commit: src/sys/dev/usb

2017-08-05 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sun Aug  6 02:33:13 UTC 2017

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
Regen from previous changes of usbdevs to fix kernel build


To generate a diff of this commit:
cvs rdiff -u -r1.730 -r1.731 src/sys/dev/usb/usbdevs.h
cvs rdiff -u -r1.731 -r1.732 src/sys/dev/usb/usbdevs_data.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/usb/usbdevs.h
diff -u src/sys/dev/usb/usbdevs.h:1.730 src/sys/dev/usb/usbdevs.h:1.731
--- src/sys/dev/usb/usbdevs.h:1.730	Tue Jun 27 08:09:50 2017
+++ src/sys/dev/usb/usbdevs.h	Sun Aug  6 02:33:13 2017
@@ -1,10 +1,10 @@
-/*	$NetBSD: usbdevs.h,v 1.730 2017/06/27 08:09:50 wiz Exp $	*/
+/*	$NetBSD: usbdevs.h,v 1.731 2017/08/06 02:33:13 ryoon Exp $	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *	NetBSD: usbdevs,v 1.737 2017/06/26 20:28:42 is Exp
+ *	NetBSD: usbdevs,v 1.738 2017/07/09 19:37:33 christos Exp
  */
 
 /*
@@ -2732,6 +2732,7 @@
 #define	USB_PRODUCT_RALINK_RT2070	0x2070		/* RT2070 */
 #define	USB_PRODUCT_RALINK_RT2570_2	0x2570		/* RT2570 */
 #define	USB_PRODUCT_RALINK_RT2573	0x2573		/* RT2573 */
+#define	USB_PRODUCT_RALINK_RT73	0x2578		/* RT73 */
 #define	USB_PRODUCT_RALINK_RT2671	0x2671		/* RT2671 */
 #define	USB_PRODUCT_RALINK_RT2770	0x2770		/* RT2770 */
 #define	USB_PRODUCT_RALINK_RT2870	0x2870		/* RT2870 */
@@ -2829,9 +2830,12 @@
 #define	USB_PRODUCT_ROLAND_UA101F	0x008d		/* EDIROL UA-101 USB1 */
 #define	USB_PRODUCT_ROLAND_UA1EX	0x0096		/* EDIROL UA-1EX */
 #define	USB_PRODUCT_ROLAND_UM3	0x009A		/* EDIROL UM-3 */
-#define	USB_PRODUCT_ROLAND_UA4FX	0x00A3		/* EDIROL UA-4FX */
-#define	USB_PRODUCT_ROLAND_SONICCELL	0x00C2		/* SonicCell */
+#define	USB_PRODUCT_ROLAND_UA4FX	0x00a3		/* EDIROL UA-4FX */
+#define	USB_PRODUCT_ROLAND_SONICCELL	0x00c2		/* SonicCell */
+#define	USB_PRODUCT_ROLAND_UA25EXA	0x00e6		/* EDIROL UA-25EX (advanced) */
+#define	USB_PRODUCT_ROLAND_UA25EX	0x00e7		/* EDIROL UA-25EX */
 #define	USB_PRODUCT_ROLAND_UMONE	0x012a		/* UM-ONE MIDI I/F */
+#define	USB_PRODUCT_ROLAND_QUADCAPTURE	0x012f		/* QUAD-CAPTURE */
 
 /* RT Systems products */
 #define	USB_PRODUCT_RTSYS_CT57A	0x9e51		/* CT57A Radio Cable */

Index: src/sys/dev/usb/usbdevs_data.h
diff -u src/sys/dev/usb/usbdevs_data.h:1.731 src/sys/dev/usb/usbdevs_data.h:1.732
--- src/sys/dev/usb/usbdevs_data.h:1.731	Tue Jun 27 08:09:50 2017
+++ src/sys/dev/usb/usbdevs_data.h	Sun Aug  6 02:33:13 2017
@@ -1,10 +1,10 @@
-/*	$NetBSD: usbdevs_data.h,v 1.731 2017/06/27 08:09:50 wiz Exp $	*/
+/*	$NetBSD: usbdevs_data.h,v 1.732 2017/08/06 02:33:13 ryoon Exp $	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *	NetBSD: usbdevs,v 1.737 2017/06/26 20:28:42 is Exp
+ *	NetBSD: usbdevs,v 1.738 2017/07/09 19:37:33 christos Exp
  */
 
 /*
@@ -3656,8 +3656,10 @@ static const uint16_t usb_products[] = {
 	6619, 0,
 	USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT2573, 
 	5140, 0,
-	USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT2671, 
+	USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT73, 
 	16180, 0,
+	USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT2671, 
+	16185, 0,
 	USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT2770, 
 	4962, 0,
 	USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT2870, 
@@ -3669,53 +3671,53 @@ static const uint16_t usb_products[] = {
 	USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT3072, 
 	4990, 0,
 	USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT3370, 
-	16187, 0,
+	16192, 0,
 	USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT3572, 
 	5775, 0,
 	USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT3573, 
-	16194, 0,
+	16199, 0,
 	USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT5370, 
-	16201, 0,
+	16206, 0,
 	USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT5572, 
-	16208, 0,
+	16213, 0,
 	USB_VENDOR_RALINK, USB_PRODUCT_RALINK_MT7610U, 
 	9228, 0,
 	USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT8070, 
-	16215, 0,
+	16220, 0,
 	USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT2570_3, 
 	6619, 0,
 	USB_VENDOR_RATOC, USB_PRODUCT_RATOC_REXUSB60, 
-	4743, 9396, 4782, 16222, 0,
+	4743, 9396, 4782, 16227, 0,
 	USB_VENDOR_RATOC, USB_PRODUCT_RATOC_REXUSB60F, 
-	4743, 9396, 4782, 16232, 0,
+	4743, 9396, 4782, 16237, 0,
 	USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8188ETV, 
-	16243, 0,
+	16248, 0,
 	USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8188CTV, 
-	16254, 0,
+	16259, 0,
 	USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8188RU_2, 
-	16265, 0,
+	16270, 0,
 	USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8150L, 
-	16275, 16284, 1786, 0,
+	16280, 16289, 1786, 0,
 	USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8151, 
-	16297, 16305, 0,
+	16302, 16310, 0,
 	USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8152, 
-	16309, 0,
+	16314, 0,
 	

CVS commit: src/share/man/man4/man4.vax

2017-07-31 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Jul 31 18:45:43 UTC 2017

Modified Files:
src/share/man/man4/man4.vax: autoconf.4 dmc.4 dmf.4 hk.4 hp.4 intro.4
ix.4 lp.4 mtc.4 pcl.4 rf.4 rl.4 uda.4 up.4 ut.4 uu.4 va.4 vp.4

Log Message:
Fix vax/* cross references


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/share/man/man4/man4.vax/autoconf.4 \
src/share/man/man4/man4.vax/dmf.4 src/share/man/man4/man4.vax/uu.4
cvs rdiff -u -r1.15 -r1.16 src/share/man/man4/man4.vax/dmc.4 \
src/share/man/man4/man4.vax/intro.4
cvs rdiff -u -r1.16 -r1.17 src/share/man/man4/man4.vax/hk.4 \
src/share/man/man4/man4.vax/hp.4 src/share/man/man4/man4.vax/uda.4
cvs rdiff -u -r1.17 -r1.18 src/share/man/man4/man4.vax/ix.4 \
src/share/man/man4/man4.vax/up.4
cvs rdiff -u -r1.9 -r1.10 src/share/man/man4/man4.vax/lp.4
cvs rdiff -u -r1.11 -r1.12 src/share/man/man4/man4.vax/mtc.4
cvs rdiff -u -r1.13 -r1.14 src/share/man/man4/man4.vax/pcl.4 \
src/share/man/man4/man4.vax/va.4 src/share/man/man4/man4.vax/vp.4
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/man4.vax/rf.4
cvs rdiff -u -r1.8 -r1.9 src/share/man/man4/man4.vax/rl.4
cvs rdiff -u -r1.10 -r1.11 src/share/man/man4/man4.vax/ut.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/man4.vax/autoconf.4
diff -u src/share/man/man4/man4.vax/autoconf.4:1.12 src/share/man/man4/man4.vax/autoconf.4:1.13
--- src/share/man/man4/man4.vax/autoconf.4:1.12	Fri Feb 17 22:24:47 2017
+++ src/share/man/man4/man4.vax/autoconf.4	Mon Jul 31 18:45:43 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: autoconf.4,v 1.12 2017/02/17 22:24:47 christos Exp $
+.\"	$NetBSD: autoconf.4,v 1.13 2017/07/31 18:45:43 ryoon Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -261,7 +261,7 @@ case.
 .El
 .Sh SEE ALSO
 .Xr config 1 ,
-.Xr vax/vax/intro 4 ,
+.Xr vax/intro 4 ,
 .Xr boot 8
 .Sh HISTORY
 The
Index: src/share/man/man4/man4.vax/dmf.4
diff -u src/share/man/man4/man4.vax/dmf.4:1.12 src/share/man/man4/man4.vax/dmf.4:1.13
--- src/share/man/man4/man4.vax/dmf.4:1.12	Fri Feb 17 22:24:47 2017
+++ src/share/man/man4/man4.vax/dmf.4	Mon Jul 31 18:45:43 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: dmf.4,v 1.12 2017/02/17 22:24:47 christos Exp $
+.\"	$NetBSD: dmf.4,v 1.13 2017/07/31 18:45:43 ryoon Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -112,7 +112,7 @@ Column and lines per page may be changed
 in bits 8-15 of flags and the number of lines in bits 16-23.
 This device does not provide the fancy output canonicalization
 features of the
-.Xr vax/vax/lp 4
+.Xr vax/lp 4
 driver.
 .Sh FILES
 .Bl -tag -width "/dev/tty[A-CE-I][0-7]" -compact
Index: src/share/man/man4/man4.vax/uu.4
diff -u src/share/man/man4/man4.vax/uu.4:1.12 src/share/man/man4/man4.vax/uu.4:1.13
--- src/share/man/man4/man4.vax/uu.4:1.12	Fri Feb 17 22:24:47 2017
+++ src/share/man/man4/man4.vax/uu.4	Mon Jul 31 18:45:43 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: uu.4,v 1.12 2017/02/17 22:24:47 christos Exp $
+.\"	$NetBSD: uu.4,v 1.13 2017/07/31 18:45:43 ryoon Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -149,7 +149,7 @@ Open failed, the device could not be res
 Drive in use.
 .El
 .Sh SEE ALSO
-.Xr vax/vax/tu 4 ,
+.Xr vax/tu 4 ,
 .Xr arff 8
 .Sh HISTORY
 The

Index: src/share/man/man4/man4.vax/dmc.4
diff -u src/share/man/man4/man4.vax/dmc.4:1.15 src/share/man/man4/man4.vax/dmc.4:1.16
--- src/share/man/man4/man4.vax/dmc.4:1.15	Fri Feb 17 22:24:47 2017
+++ src/share/man/man4/man4.vax/dmc.4	Mon Jul 31 18:45:43 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: dmc.4,v 1.15 2017/02/17 22:24:47 christos Exp $
+.\"	$NetBSD: dmc.4,v 1.16 2017/07/31 18:45:43 ryoon Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -134,7 +134,7 @@ addresses formatted in an unsuitable add
 .El
 .Sh SEE ALSO
 .Xr inet 4 ,
-.Xr vax/vax/intro 4
+.Xr vax/intro 4
 .Sh HISTORY
 The
 .Nm
Index: src/share/man/man4/man4.vax/intro.4
diff -u src/share/man/man4/man4.vax/intro.4:1.15 src/share/man/man4/man4.vax/intro.4:1.16
--- src/share/man/man4/man4.vax/intro.4:1.15	Sat Feb 18 22:39:01 2017
+++ src/share/man/man4/man4.vax/intro.4	Mon Jul 31 18:45:43 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: intro.4,v 1.15 2017/02/18 22:39:01 wiz Exp $
+.\"	$NetBSD: intro.4,v 1.16 2017/07/31 18:45:43 ryoon Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -99,7 +99,7 @@ after the autoconfiguration sequence
 it will be dynamically autoconfigured into the running system.
 .Pp
 The autoconfiguration system is described in
-.Xr vax/vax/autoconf 4 .
+.Xr vax/autoconf 4 .
 A list of the supported devices is given below.
 .Sh SEE ALSO
 .Xr config 1 ,


CVS commit: src/share/man/man4/man4.pmax

2017-07-24 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Jul 25 03:51:41 UTC 2017

Modified Files:
src/share/man/man4/man4.pmax: autoconf.4 ibus.4 intro.4 sii.4

Log Message:
Fix pmax/ cross references


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/man4.pmax/autoconf.4
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/man4.pmax/ibus.4
cvs rdiff -u -r1.18 -r1.19 src/share/man/man4/man4.pmax/intro.4
cvs rdiff -u -r1.12 -r1.13 src/share/man/man4/man4.pmax/sii.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/man4.pmax/autoconf.4
diff -u src/share/man/man4/man4.pmax/autoconf.4:1.4 src/share/man/man4/man4.pmax/autoconf.4:1.5
--- src/share/man/man4/man4.pmax/autoconf.4:1.4	Fri Feb 17 22:24:47 2017
+++ src/share/man/man4/man4.pmax/autoconf.4	Tue Jul 25 03:51:41 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: autoconf.4,v 1.4 2017/02/17 22:24:47 christos Exp $
+.\" $NetBSD: autoconf.4,v 1.5 2017/07/25 03:51:41 ryoon Exp $
 .\"
 .\" Copyright (c) 1994 Christopher G. Demetriou
 .\" All rights reserved.
@@ -63,5 +63,5 @@ doesn't) understand.
 .El
 .Sh SEE ALSO
 .Xr config 1 ,
-.Xr pmax/pmax/intro 4 ,
+.Xr pmax/intro 4 ,
 .Xr boot 8

Index: src/share/man/man4/man4.pmax/ibus.4
diff -u src/share/man/man4/man4.pmax/ibus.4:1.5 src/share/man/man4/man4.pmax/ibus.4:1.6
--- src/share/man/man4/man4.pmax/ibus.4:1.5	Fri Feb 17 22:24:47 2017
+++ src/share/man/man4/man4.pmax/ibus.4	Tue Jul 25 03:51:41 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ibus.4,v 1.5 2017/02/17 22:24:47 christos Exp $
+.\"	$NetBSD: ibus.4,v 1.6 2017/07/25 03:51:41 ryoon Exp $
 .\"
 .\" Copyright (c) 1998 MINOURA Makoto
 .\" Copyright (c) 1998 NetBSD Foundation, Inc.
@@ -70,6 +70,6 @@ is always required to run the
 .Nx
 kernel.
 .Sh SEE ALSO
-.Xr pmax/pmax/intro 4 ,
+.Xr pmax/intro 4 ,
 .Xr bus_dma 9 ,
 .Xr bus_space 9

Index: src/share/man/man4/man4.pmax/intro.4
diff -u src/share/man/man4/man4.pmax/intro.4:1.18 src/share/man/man4/man4.pmax/intro.4:1.19
--- src/share/man/man4/man4.pmax/intro.4:1.18	Fri Feb 17 22:24:47 2017
+++ src/share/man/man4/man4.pmax/intro.4	Tue Jul 25 03:51:41 2017
@@ -27,7 +27,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\"	$NetBSD: intro.4,v 1.18 2017/02/17 22:24:47 christos Exp $
+.\"	$NetBSD: intro.4,v 1.19 2017/07/25 03:51:41 ryoon Exp $
 .\"
 .Dd February 17, 2017
 .Dt INTRO 4 pmax
@@ -84,11 +84,11 @@ To enable a device which did not autocon
 the system must be rebooted.
 .Pp
 The autoconfiguration system is described in
-.Xr pmax/pmax/autoconf 4 .
+.Xr pmax/autoconf 4 .
 A list of the supported devices is given below.
 .Sh SEE ALSO
 .Xr config 1 ,
-.Xr pmax/pmax/autoconf 4
+.Xr pmax/autoconf 4
 .Sh SUPPORTED SYSTEMS
 The following systems are supported:
 .Pp

Index: src/share/man/man4/man4.pmax/sii.4
diff -u src/share/man/man4/man4.pmax/sii.4:1.12 src/share/man/man4/man4.pmax/sii.4:1.13
--- src/share/man/man4/man4.pmax/sii.4:1.12	Fri Feb 17 22:24:47 2017
+++ src/share/man/man4/man4.pmax/sii.4	Tue Jul 25 03:51:41 2017
@@ -27,7 +27,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\"	$NetBSD: sii.4,v 1.12 2017/02/17 22:24:47 christos Exp $
+.\"	$NetBSD: sii.4,v 1.13 2017/07/25 03:51:41 ryoon Exp $
 .\"
 .Dd February 17, 2017
 .Dt SII 4 pmax
@@ -63,8 +63,8 @@ to and from the DMA region.
 .Sh SEE ALSO
 .Xr cd 4 ,
 .Xr ch 4 ,
-.Xr pmax/pmax/ibus 4 ,
-.Xr pmax/pmax/intro 4 ,
+.Xr pmax/ibus 4 ,
+.Xr pmax/intro 4 ,
 .Xr sd 4 ,
 .Xr st 4
 .Sh HISTORY



CVS commit: src/share/man/man4

2017-02-19 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Feb 20 03:29:04 UTC 2017

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

Log Message:
Add valz(4)


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/share/man/man4/acpi.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/acpi.4
diff -u src/share/man/man4/acpi.4:1.81 src/share/man/man4/acpi.4:1.82
--- src/share/man/man4/acpi.4:1.81	Tue Jan  3 08:49:04 2017
+++ src/share/man/man4/acpi.4	Mon Feb 20 03:29:04 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: acpi.4,v 1.81 2017/01/03 08:49:04 maya Exp $
+.\" $NetBSD: acpi.4,v 1.82 2017/02/20 03:29:04 ryoon Exp $
 .\"
 .\" Copyright (c) 2002, 2004, 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd December 29, 2016
+.Dd February 20, 2017
 .Dt ACPI 4
 .Os
 .Sh NAME
@@ -309,6 +309,8 @@ IBM/Lenovo ThinkPad laptop device driver
 Abit uGuru Hardware monitor.
 .It Xr vald 4
 Toshiba Libretto device.
+.It Xr valz 4
+Toshiba Dynabook device.
 .It Xr wb 4
 Winbond W83L518D Integrated Media Reader.
 .It Xr wss 4



CVS commit: src/share/man/man4

2017-01-26 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Thu Jan 26 13:38:29 UTC 2017

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

Log Message:
Add viornd(4) to virtio(4) man page


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/virtio.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/virtio.4
diff -u src/share/man/man4/virtio.4:1.5 src/share/man/man4/virtio.4:1.6
--- src/share/man/man4/virtio.4:1.5	Thu Mar  8 22:52:22 2012
+++ src/share/man/man4/virtio.4	Thu Jan 26 13:38:28 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: virtio.4,v 1.5 2012/03/08 22:52:22 wiz Exp $
+.\"	$NetBSD: virtio.4,v 1.6 2017/01/26 13:38:28 ryoon Exp $
 .\"
 .\" Copyright (c) 2011 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd November 5, 2011
+.Dd Janualy 26, 2017
 .Dt VIRTIO 4
 .Os
 .Sh NAME
@@ -35,6 +35,7 @@
 .Cd "ld* at virtio?"
 .Cd "vioif* at virtio?"
 .Cd "viomb* at virtio?"
+.Cd "viornd* at virtio?"
 .Sh DESCRIPTION
 .Nm
 defines an interface for efficient, standard and extensible I/O between the
@@ -54,12 +55,15 @@ A Disk device.
 An Ethernet device.
 .It Xr viomb 4
 A pseudo-device to release memory back to the hypervisor.
+.It Xr viornd 4
+An entropy source.
 .El
 .Sh SEE ALSO
 .Xr ld 4 ,
 .Xr pci 4 ,
 .Xr vioif 4 ,
 .Xr viomb 4
+.Xr viornd 4
 .Pp
 .Rs
 .%A Rusty Russell, IBM Corporation



CVS commit: src/share/man/man4

2016-12-19 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Dec 19 15:09:38 UTC 2016

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

Log Message:
Add UE-200TX-G


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/share/man/man4/axe.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/axe.4
diff -u src/share/man/man4/axe.4:1.11 src/share/man/man4/axe.4:1.12
--- src/share/man/man4/axe.4:1.11	Mon Dec 19 15:08:03 2016
+++ src/share/man/man4/axe.4	Mon Dec 19 15:09:38 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: axe.4,v 1.11 2016/12/19 15:08:03 ryoon Exp $
+.\" $NetBSD: axe.4,v 1.12 2016/12/19 15:09:38 ryoon Exp $
 .\"
 .\" Copyright (c) 2003-2004 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -99,6 +99,7 @@ driver supports the following adapters:
 .It Netgear FA120
 .It Nintendo Wii USB Lan Ethernet Adapter RVL-015
 .It OQO model 01+ Ethernet
+.It Planex UE-200TX-G
 .It Sitecom LN-029
 .It SMC 2209USB/ETH
 .It SnapPort USB 2.0 LAN Adapter



CVS commit: src/share/man/man4

2016-12-19 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Dec 19 15:08:03 UTC 2016

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

Log Message:
Add LAN-TXU2C and LAN-TXU2H3A


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/man/man4/axe.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/axe.4
diff -u src/share/man/man4/axe.4:1.10 src/share/man/man4/axe.4:1.11
--- src/share/man/man4/axe.4:1.10	Mon Dec 19 14:55:32 2016
+++ src/share/man/man4/axe.4	Mon Dec 19 15:08:03 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: axe.4,v 1.10 2016/12/19 14:55:32 ryoon Exp $
+.\" $NetBSD: axe.4,v 1.11 2016/12/19 15:08:03 ryoon Exp $
 .\"
 .\" Copyright (c) 2003-2004 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -94,6 +94,8 @@ driver supports the following adapters:
 .It Linksys USB200M
 .It Linksys USB1000
 .It Logitec LAN-GTJ/U2
+.It Logitec LAN-TXU2C
+.It Logitec LAN-TXU2H3A
 .It Netgear FA120
 .It Nintendo Wii USB Lan Ethernet Adapter RVL-015
 .It OQO model 01+ Ethernet



CVS commit: src/share/man/man4

2016-12-19 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Dec 19 15:03:59 UTC 2016

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

Log Message:
Add Anker A7611 and DIEWU USB-DW8152, and bump date


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/share/man/man4/cdce.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/cdce.4
diff -u src/share/man/man4/cdce.4:1.12 src/share/man/man4/cdce.4:1.13
--- src/share/man/man4/cdce.4:1.12	Mon Jan  5 10:48:40 2015
+++ src/share/man/man4/cdce.4	Mon Dec 19 15:03:59 2016
@@ -25,9 +25,9 @@
 .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $NetBSD: cdce.4,v 1.12 2015/01/05 10:48:40 jmcneill Exp $
+.\" $NetBSD: cdce.4,v 1.13 2016/12/19 15:03:59 ryoon Exp $
 .\"
-.Dd January 5, 2015
+.Dd December 19, 2016
 .Dt CDCE 4
 .Os
 .Sh NAME
@@ -47,6 +47,10 @@ including the following:
 .It
 Acer Labs USB 2.0 Data Link
 .It
+Anker A7611
+.It
+DIEWU USB-DW8152
+.It
 G.Mate YP3X00
 .It
 Motorola USBNET



CVS commit: src/share/man/man4

2016-12-19 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Dec 19 14:55:32 UTC 2016

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

Log Message:
Add LUA3-U2-ATX and bump date


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/man/man4/axe.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/axe.4
diff -u src/share/man/man4/axe.4:1.9 src/share/man/man4/axe.4:1.10
--- src/share/man/man4/axe.4:1.9	Sun Dec  4 11:31:55 2016
+++ src/share/man/man4/axe.4	Mon Dec 19 14:55:32 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: axe.4,v 1.9 2016/12/04 11:31:55 skrll Exp $
+.\" $NetBSD: axe.4,v 1.10 2016/12/19 14:55:32 ryoon Exp $
 .\"
 .\" Copyright (c) 2003-2004 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -60,7 +60,7 @@
 .\" $FreeBSD: /repoman/r/ncvs/src/share/man/man4/axe.4,v 1.3 2003/05/29 21:28:35 ru Exp $
 .\" $OpenBSD: axe.4,v 1.37 2009/11/08 20:25:29 jasper Exp $
 .\"
-.Dd December 4, 2016
+.Dd December 19, 2016
 .Dt AXE 4
 .Os
 .Sh NAME
@@ -81,6 +81,7 @@ driver supports the following adapters:
 .It Billionton Systems USB2AR
 .It Buffalo(MELCO) LUA-U2-GT
 .It Buffalo(MELCO) LUA-U2-KTX
+.It Buffalo(MELCO) LUA3-U2-ATX
 .It Corega FEther USB2-TX
 .It D-Link DUB-E100
 .It Good Way GWUSB2E



CVS commit: xsrc/external/mit/xf86-video-vmware/include

2016-10-08 Thread Ryo ONODERA
Module Name:xsrc
Committed By:   ryoon
Date:   Sat Oct  8 10:24:07 UTC 2016

Modified Files:
xsrc/external/mit/xf86-video-vmware/include: config.h

Log Message:
Fix segfault when xf86-video-vmware module loads libvgahw


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 \
xsrc/external/mit/xf86-video-vmware/include/config.h

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

Modified files:

Index: xsrc/external/mit/xf86-video-vmware/include/config.h
diff -u xsrc/external/mit/xf86-video-vmware/include/config.h:1.11 xsrc/external/mit/xf86-video-vmware/include/config.h:1.12
--- xsrc/external/mit/xf86-video-vmware/include/config.h:1.11	Fri Feb 13 08:00:39 2015
+++ xsrc/external/mit/xf86-video-vmware/include/config.h	Sat Oct  8 10:24:07 2016
@@ -43,7 +43,7 @@
 #undef HAVE_XA_2
 
 /* Has version 1.12.0 or greater of the Xserver */
-#undef HAVE_XORG_SERVER_1_12_0
+#define HAVE_XORG_SERVER_1_12_0
 
 /* Has version 1.1.0 or greater of the Xserver */
 #define HAVE_XORG_SERVER_1_1_0 1



CVS commit: src/external/mit/xorg/server/drivers/xf86-video-vmware

2016-10-08 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sat Oct  8 10:21:18 UTC 2016

Modified Files:
src/external/mit/xorg/server/drivers/xf86-video-vmware: Makefile

Log Message:
Fix module load error of vmware_drv.so


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
src/external/mit/xorg/server/drivers/xf86-video-vmware/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/mit/xorg/server/drivers/xf86-video-vmware/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-video-vmware/Makefile:1.10 src/external/mit/xorg/server/drivers/xf86-video-vmware/Makefile:1.11
--- src/external/mit/xorg/server/drivers/xf86-video-vmware/Makefile:1.10	Tue Aug 16 07:10:01 2016
+++ src/external/mit/xorg/server/drivers/xf86-video-vmware/Makefile	Sat Oct  8 10:21:18 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2016/08/16 07:10:01 mrg Exp $
+#	$NetBSD: Makefile,v 1.11 2016/10/08 10:21:18 ryoon Exp $
 
 DRIVER=		xf86-video-vmware
 DRIVER_NAME=	vmware_drv
@@ -19,6 +19,7 @@ MAN=	vmware.4
 CPPFLAGS+=	-DXORG_VERSION_CURRENT=${XORG_VERSION_CURRENT}
 CPPFLAGS+=	-I${X11SRCDIR.${DRIVER}}/../include -DHAVE_CONFIG_H \
 		-I${DESTDIR}${X11INCDIR}/libdrm
+CPPFLAGS+=	-DXFree86LOADER
 
 # XXX
 COPTS.vmware.c+= 	-Wno-error



CVS commit: src/lib/libc/gen

2016-08-03 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Wed Aug  3 12:40:42 UTC 2016

Modified Files:
src/lib/libc/gen: sysconf.3

Log Message:
Fix _SC_TIMER_MAX listing, bump date


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/lib/libc/gen/sysconf.3

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

Modified files:

Index: src/lib/libc/gen/sysconf.3
diff -u src/lib/libc/gen/sysconf.3:1.50 src/lib/libc/gen/sysconf.3:1.51
--- src/lib/libc/gen/sysconf.3:1.50	Tue Jul  5 09:51:10 2016
+++ src/lib/libc/gen/sysconf.3	Wed Aug  3 12:40:42 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysconf.3,v 1.50 2016/07/05 09:51:10 wiz Exp $
+.\"	$NetBSD: sysconf.3,v 1.51 2016/08/03 12:40:42 ryoon Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysconf.3	8.3 (Berkeley) 4/19/94
 .\"
-.Dd July 3, 2016
+.Dd August 3, 2016
 .Dt SYSCONF 3
 .Os
 .Sh NAME
@@ -294,7 +294,7 @@ The number of processors online (capable
 The amount of physical memory on the system in
 .Li _SC_PAGESIZE
 bytes.
-.Li _SC_TIMER_MAX
+.It Li _SC_TIMER_MAX
 The number of timers available for
 .Xr timer_create 2 .
 This is also known as



CVS commit: src/lib/libc/sys

2016-06-16 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Thu Jun 16 12:48:09 UTC 2016

Modified Files:
src/lib/libc/sys: nanosleep.2

Log Message:
Bump date for previous


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/sys/nanosleep.2

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

Modified files:

Index: src/lib/libc/sys/nanosleep.2
diff -u src/lib/libc/sys/nanosleep.2:1.20 src/lib/libc/sys/nanosleep.2:1.21
--- src/lib/libc/sys/nanosleep.2:1.20	Thu Jun 16 12:47:10 2016
+++ src/lib/libc/sys/nanosleep.2	Thu Jun 16 12:48:09 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: nanosleep.2,v 1.20 2016/06/16 12:47:10 ryoon Exp $
+.\"	$NetBSD: nanosleep.2,v 1.21 2016/06/16 12:48:09 ryoon Exp $
 .\"
 .\" Copyright (c) 1986, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\" @(#)sleep.3	8.1 (Berkeley) 6/4/93
 .\"
-.Dd December 30, 2015
+.Dd June 16, 2016
 .Dt NANOSLEEP 2
 .Os
 .Sh NAME



CVS commit: src/lib/libc/sys

2016-06-16 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Thu Jun 16 12:47:10 UTC 2016

Modified Files:
src/lib/libc/sys: nanosleep.2

Log Message:
Fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/lib/libc/sys/nanosleep.2

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

Modified files:

Index: src/lib/libc/sys/nanosleep.2
diff -u src/lib/libc/sys/nanosleep.2:1.19 src/lib/libc/sys/nanosleep.2:1.20
--- src/lib/libc/sys/nanosleep.2:1.19	Wed Dec 30 16:51:31 2015
+++ src/lib/libc/sys/nanosleep.2	Thu Jun 16 12:47:10 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: nanosleep.2,v 1.19 2015/12/30 16:51:31 wiz Exp $
+.\"	$NetBSD: nanosleep.2,v 1.20 2016/06/16 12:47:10 ryoon Exp $
 .\"
 .\" Copyright (c) 1986, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -132,7 +132,7 @@ function shall return \-1 and set
 .Va errno
 to the corresponding value, and the
 .Fn clock_nanosleep
-function shall return the errnor number directly.
+function shall return the error number directly.
 .Bl -tag -width Er
 .It Bq Er EFAULT
 Either



CVS commit: src

2016-06-13 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Jun 13 20:03:07 UTC 2016

Modified Files:
src/external/mit/xorg/lib/libX11: Makefile.ximcp
src/sys/modules/ipl: Makefile

Log Message:
Fix buld with clang, add warning option exceptions


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/lib/libX11/Makefile.ximcp
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/ipl/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/mit/xorg/lib/libX11/Makefile.ximcp
diff -u src/external/mit/xorg/lib/libX11/Makefile.ximcp:1.3 src/external/mit/xorg/lib/libX11/Makefile.ximcp:1.4
--- src/external/mit/xorg/lib/libX11/Makefile.ximcp:1.3	Thu Jun  2 22:41:26 2016
+++ src/external/mit/xorg/lib/libX11/Makefile.ximcp	Mon Jun 13 20:03:07 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.ximcp,v 1.3 2016/06/02 22:41:26 mrg Exp $
+# $NetBSD: Makefile.ximcp,v 1.4 2016/06/13 20:03:07 ryoon Exp $
 
 .PATH:	${X11SRCDIR.X11}/modules/im/ximcp
 SRCS.ximcp= \
@@ -43,3 +43,4 @@ CPPFLAGS.imDefLkup.c=	-Wno-error
 CPPFLAGS.imRm.c=	-Wno-error
 CPPFLAGS.imTrans.c=	-Wno-error
 CPPFLAGS.imLcLkup.c=	-Wno-stack-protector
+CPPFLAGS.imInsClbk.c=	-Wno-unused-value

Index: src/sys/modules/ipl/Makefile
diff -u src/sys/modules/ipl/Makefile:1.1 src/sys/modules/ipl/Makefile:1.2
--- src/sys/modules/ipl/Makefile:1.1	Thu Jun  9 04:44:19 2016
+++ src/sys/modules/ipl/Makefile	Mon Jun 13 20:03:07 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2016/06/09 04:44:19 pgoyette Exp $
+#	$NetBSD: Makefile,v 1.2 2016/06/13 20:03:07 ryoon Exp $
 #
 
 .include "../Makefile.inc"
@@ -54,4 +54,6 @@ SRCS+=	ip_sync.c
 SRCS+=	ip_fil_compat.c
 SRCS+=	radix_ipf.c
 
+CWARNFLAGS.clang+=	-Wno-self-assign
+
 .include 



CVS commit: src/tests/kernel/kqueue

2016-04-29 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Fri Apr 29 07:12:34 UTC 2016

Modified Files:
src/tests/kernel/kqueue: Makefile

Log Message:
Tab alignment


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/kernel/kqueue/Makefile

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

Modified files:

Index: src/tests/kernel/kqueue/Makefile
diff -u src/tests/kernel/kqueue/Makefile:1.4 src/tests/kernel/kqueue/Makefile:1.5
--- src/tests/kernel/kqueue/Makefile:1.4	Wed Jan 14 22:22:32 2015
+++ src/tests/kernel/kqueue/Makefile	Fri Apr 29 07:12:34 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2015/01/14 22:22:32 christos Exp $
+# $NetBSD: Makefile,v 1.5 2016/04/29 07:12:34 ryoon Exp $
 
 WARNS?=6
 NOMAN=		# defined
@@ -7,7 +7,7 @@ NOMAN=		# defined
 
 TESTSDIR=	${TESTSBASE}/kernel/kqueue
 
-TESTS_SUBDIRS=		read
+TESTS_SUBDIRS=	read
 TESTS_SUBDIRS+=	write
 
 TESTS_C=	t_ioctl



CVS commit: src/share/man/man3

2016-02-02 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Feb  2 12:25:24 UTC 2016

Modified Files:
src/share/man/man3: queue.3

Log Message:
Fix layout for comments. Bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/share/man/man3/queue.3

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/man3/queue.3
diff -u src/share/man/man3/queue.3:1.50 src/share/man/man3/queue.3:1.51
--- src/share/man/man3/queue.3:1.50	Wed Dec  3 20:36:33 2014
+++ src/share/man/man3/queue.3	Tue Feb  2 12:25:24 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: queue.3,v 1.50 2014/12/03 20:36:33 snj Exp $
+.\"	$NetBSD: queue.3,v 1.51 2016/02/02 12:25:24 ryoon Exp $
 .\"
 .\" Copyright (c) 2000, 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -53,7 +53,7 @@
 .\"
 .\"	@(#)queue.3	8.1 (Berkeley) 12/13/93
 .\"
-.Dd May 17, 2014
+.Dd February 2, 2016
 .Dt QUEUE 3
 .Os
 .Sh NAME
@@ -537,8 +537,8 @@ free(n2);
 n3 = SLIST_FIRST(\*[Am]head);
 SLIST_REMOVE_HEAD(\*[Am]head, entries);  /* Deletion from the head. */
 free(n3);
-/* Forward traversal. */
-SLIST_FOREACH(np, \*[Am]head, entries)
+
+SLIST_FOREACH(np, \*[Am]head, entries)   /* Forward traversal. */
 np-\*[Gt] ...
 
 while (!SLIST_EMPTY(\*[Am]head)) {   /* List Deletion. */
@@ -672,7 +672,7 @@ always making the former empty.
 .Sh LIST EXAMPLE
 .Bd -literal
 LIST_HEAD(listhead, entry) head;
-struct listhead *headp;		/* List head. */
+struct listhead *headp;			/* List head. */
 struct entry {
 	...
 	LIST_ENTRY(entry) entries;	/* List. */
@@ -689,11 +689,11 @@ LIST_INSERT_AFTER(n1, n2, entries);
 
 n2 = malloc(sizeof(struct entry));	/* Insert before. */
 LIST_INSERT_BEFORE(n1, n2, entries);
-	/* Forward traversal. */
-LIST_FOREACH(np, \*[Am]head, entries)
+
+LIST_FOREACH(np, \*[Am]head, entries)	/* Forward traversal. */
 	np-\*[Gt] ...
-	/* Delete. */
-while (LIST_FIRST(\*[Am]head) != NULL)
+
+while (LIST_FIRST(\*[Am]head) != NULL)	/* Delete. */
 	LIST_REMOVE(LIST_FIRST(\*[Am]head), entries);
 if (LIST_EMPTY(\*[Am]head))			/* Test for emptiness. */
 	printf("nothing to do\\n");
@@ -857,11 +857,11 @@ SIMPLEQ_INSERT_TAIL(\*[Am]head, n1, entr
 
 n2 = malloc(sizeof(struct entry));	/* Insert after. */
 SIMPLEQ_INSERT_AFTER(\*[Am]head, n1, n2, entries);
-	/* Forward traversal. */
-SIMPLEQ_FOREACH(np, \*[Am]head, entries)
+
+SIMPLEQ_FOREACH(np, \*[Am]head, entries)	/* Forward traversal. */
 	np-\*[Gt] ...
-	/* Delete. */
-while (SIMPLEQ_FIRST(\*[Am]head) != NULL)
+
+while (SIMPLEQ_FIRST(\*[Am]head) != NULL)	/* Delete. */
 	SIMPLEQ_REMOVE_HEAD(\*[Am]head, entries);
 if (SIMPLEQ_EMPTY(\*[Am]head))		/* Test for emptiness. */
 	printf("nothing to do\\n");
@@ -1015,7 +1015,7 @@ removing all entries from the former.
 .Sh TAIL QUEUE EXAMPLE
 .Bd -literal
 TAILQ_HEAD(tailhead, entry) head;
-struct tailhead *headp;		/* Tail queue head. */
+struct tailhead *headp;			/* Tail queue head. */
 struct entry {
 	...
 	TAILQ_ENTRY(entry) entries;	/* Tail queue. */
@@ -1035,14 +1035,14 @@ TAILQ_INSERT_AFTER(\*[Am]head, n1, n2, e
 
 n2 = malloc(sizeof(struct entry));	/* Insert before. */
 TAILQ_INSERT_BEFORE(n1, n2, entries);
-	/* Forward traversal. */
-TAILQ_FOREACH(np, \*[Am]head, entries)
+
+TAILQ_FOREACH(np, \*[Am]head, entries)	/* Forward traversal. */
 	np-\*[Gt] ...
 	/* Reverse traversal. */
 TAILQ_FOREACH_REVERSE(np, \*[Am]head, tailhead, entries)
 	np-\*[Gt] ...
-	/* Delete. */
-while (TAILQ_FIRST(\*[Am]head) != NULL)
+	
+while (TAILQ_FIRST(\*[Am]head) != NULL)	/* Delete. */
 	TAILQ_REMOVE(\*[Am]head, TAILQ_FIRST(\*[Am]head), entries);
 if (TAILQ_EMPTY(\*[Am]head))			/* Test for emptiness. */
 	printf("nothing to do\\n");



CVS commit: src/share/man/man5

2015-12-21 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Dec 21 13:15:04 UTC 2015

Modified Files:
src/share/man/man5: fstab.5

Log Message:
Add .Pp for easy distinction between examples.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/share/man/man5/fstab.5

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/man5/fstab.5
diff -u src/share/man/man5/fstab.5:1.42 src/share/man/man5/fstab.5:1.43
--- src/share/man/man5/fstab.5:1.42	Sun Aug 12 17:13:34 2012
+++ src/share/man/man5/fstab.5	Mon Dec 21 13:15:04 2015
@@ -1,4 +1,4 @@
-.\"	$NetBSD: fstab.5,v 1.42 2012/08/12 17:13:34 wiz Exp $
+.\"	$NetBSD: fstab.5,v 1.43 2015/12/21 13:15:04 ryoon Exp $
 .\"
 .\" Copyright (c) 1980, 1989, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\" @(#)fstab.5	8.1 (Berkeley) 6/5/93
 .\"
-.Dd August 12, 2012
+.Dd December 21, 2015
 .Dt FSTAB 5
 .Os
 .Sh NAME
@@ -344,6 +344,7 @@ on a non-GPT disk, use:
 NAME=sb2k5Root/a/   ffs rw,log   1 1
 NAME=sb2k5Root/bnoneswapsw,dp0 0
 .Ed
+.Pp
 For a
 .Xr gpt 8
 disk, use:



CVS commit: src/sys/dev/usb

2015-08-30 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sun Aug 30 13:09:48 UTC 2015

Modified Files:
src/sys/dev/usb: if_rum.c

Log Message:
loadfirmware is not NetBSD function. Fix error message.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/usb/if_rum.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/usb/if_rum.c
diff -u src/sys/dev/usb/if_rum.c:1.50 src/sys/dev/usb/if_rum.c:1.51
--- src/sys/dev/usb/if_rum.c:1.50	Wed Apr  8 12:38:13 2015
+++ src/sys/dev/usb/if_rum.c	Sun Aug 30 13:09:48 2015
@@ -1,5 +1,5 @@
 /*	$OpenBSD: if_rum.c,v 1.40 2006/09/18 16:20:20 damien Exp $	*/
-/*	$NetBSD: if_rum.c,v 1.50 2015/04/08 12:38:13 nonaka Exp $	*/
+/*	$NetBSD: if_rum.c,v 1.51 2015/08/30 13:09:48 ryoon Exp $	*/
 
 /*-
  * Copyright (c) 2005-2007 Damien Bergamini damien.bergam...@free.fr
@@ -24,7 +24,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: if_rum.c,v 1.50 2015/04/08 12:38:13 nonaka Exp $);
+__KERNEL_RCSID(0, $NetBSD: if_rum.c,v 1.51 2015/08/30 13:09:48 ryoon Exp $);
 
 #include sys/param.h
 #include sys/sockio.h
@@ -266,7 +266,7 @@ rum_attachhook(void *xsc)
 	int error;
 
 	if ((error = firmware_open(rum, name, fwh)) != 0) {
-		printf(%s: failed loadfirmware of file %s (error %d)\n,
+		printf(%s: failed firmware_open of file %s (error %d)\n,
 		device_xname(sc-sc_dev), name, error);
 		return error;
 	}



CVS commit: src/share/man/man4/man4.emips

2015-05-03 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon May  4 05:30:48 UTC 2015

Modified Files:
src/share/man/man4/man4.emips: enic.4

Log Message:
Add missing .Sh SYNOPSIS


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/man4.emips/enic.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/man4.emips/enic.4
diff -u src/share/man/man4/man4.emips/enic.4:1.3 src/share/man/man4/man4.emips/enic.4:1.4
--- src/share/man/man4/man4.emips/enic.4:1.3	Mon Feb 14 21:13:17 2011
+++ src/share/man/man4/man4.emips/enic.4	Mon May  4 05:30:48 2015
@@ -1,4 +1,4 @@
-.\	$NetBSD: enic.4,v 1.3 2011/02/14 21:13:17 pooka Exp $
+.\	$NetBSD: enic.4,v 1.4 2015/05/04 05:30:48 ryoon Exp $
 .\
 .\ Copyright (c) 2001, 2010 The NetBSD Foundation, Inc.
 .\
@@ -25,12 +25,13 @@
 .\ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\ SUCH DAMAGE.
 .\
-.Dd July 27, 2010
+.Dd May 4, 2015
 .Dt ENIC 4
 .Os
 .Sh NAME
 .Nm enic
 .Nd eMIPS ExtensibleNIC Ethernet interface driver
+.Sh SYNOPSIS
 .Cd enic* at ebus0 addr ?
 .Sh DESCRIPTION
 The



CVS commit: src/share/man/man4

2015-04-21 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue Apr 21 11:53:54 UTC 2015

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

Log Message:
Add Kurotoshiko GbE-USB3.0S2.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/axen.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/axen.4
diff -u src/share/man/man4/axen.4:1.3 src/share/man/man4/axen.4:1.4
--- src/share/man/man4/axen.4:1.3	Sat Apr 11 00:30:50 2015
+++ src/share/man/man4/axen.4	Tue Apr 21 11:53:53 2015
@@ -1,4 +1,4 @@
-.\	$NetBSD: axen.4,v 1.3 2015/04/11 00:30:50 ryoon Exp $
+.\	$NetBSD: axen.4,v 1.4 2015/04/21 11:53:53 ryoon Exp $
 .\	$OpenBSD: axen.4,v 1.2 2013/10/07 07:18:36 jmc Exp $
 .\
 .\ Copyright (c) 2013 Yojiro UO y...@nui.org
@@ -15,7 +15,7 @@
 .\ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\
-.Dd April 11, 2015
+.Dd April 21, 2015
 .Dt AXEN 4
 .Os
 .Sh NAME
@@ -35,6 +35,7 @@ including the following:
 .Pp
 .Bl -tag -width Ds -offset indent -compact
 .It Kurotoshiko GbE-USB3.0
+.It Kurotoshiko GbE-USB3.0S2
 .It Logitec LAN-GTJU3
 .It Logitec LAN-GTJU3H3
 .It Shanghai Donya DN-84327



CVS commit: src/share/man/man4

2015-04-10 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sat Apr 11 00:30:51 UTC 2015

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

Log Message:
Add new device.
Bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/axen.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/axen.4
diff -u src/share/man/man4/axen.4:1.2 src/share/man/man4/axen.4:1.3
--- src/share/man/man4/axen.4:1.2	Sun Oct 27 11:41:38 2013
+++ src/share/man/man4/axen.4	Sat Apr 11 00:30:50 2015
@@ -1,4 +1,4 @@
-.\	$NetBSD: axen.4,v 1.2 2013/10/27 11:41:38 wiz Exp $
+.\	$NetBSD: axen.4,v 1.3 2015/04/11 00:30:50 ryoon Exp $
 .\	$OpenBSD: axen.4,v 1.2 2013/10/07 07:18:36 jmc Exp $
 .\
 .\ Copyright (c) 2013 Yojiro UO y...@nui.org
@@ -15,7 +15,7 @@
 .\ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\
-.Dd October 26, 2013
+.Dd April 11, 2015
 .Dt AXEN 4
 .Os
 .Sh NAME
@@ -36,6 +36,7 @@ including the following:
 .Bl -tag -width Ds -offset indent -compact
 .It Kurotoshiko GbE-USB3.0
 .It Logitec LAN-GTJU3
+.It Logitec LAN-GTJU3H3
 .It Shanghai Donya DN-84327
 .El
 .Pp



CVS commit: src

2015-02-09 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Feb  9 16:27:30 UTC 2015

Modified Files:
src/distrib/sets/lists/xcomp: mi
src/external/mit/xorg/lib/freetype: Makefile freetype2.pc.in
src/external/mit/xorg/lib/freetype/freetype: Makefile

Log Message:
In recent freetype2 installation, ft2build.h should be located
under include/freetype2.

This change should fix non pkg-config build that uses freetype2,
for example, pkgsrc/lang/openjdk8.

netbsd-7 has also this problem.


To generate a diff of this commit:
cvs rdiff -u -r1.155 -r1.156 src/distrib/sets/lists/xcomp/mi
cvs rdiff -u -r1.13 -r1.14 src/external/mit/xorg/lib/freetype/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/lib/freetype/freetype2.pc.in
cvs rdiff -u -r1.17 -r1.18 \
src/external/mit/xorg/lib/freetype/freetype/Makefile

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/xcomp/mi
diff -u src/distrib/sets/lists/xcomp/mi:1.155 src/distrib/sets/lists/xcomp/mi:1.156
--- src/distrib/sets/lists/xcomp/mi:1.155	Sat Jan 31 17:14:23 2015
+++ src/distrib/sets/lists/xcomp/mi	Mon Feb  9 16:27:29 2015
@@ -1,4 +1,4 @@
-#	 $NetBSD: mi,v 1.155 2015/01/31 17:14:23 roy Exp $
+#	 $NetBSD: mi,v 1.156 2015/02/09 16:27:29 ryoon Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -5745,6 +5745,7 @@
 ./usr/X11R7/include/freetype2/freetype/tttables.h	-unknown-	obsolete
 ./usr/X11R7/include/freetype2/freetype/tttags.h		-unknown-	obsolete
 ./usr/X11R7/include/freetype2/freetype/ttunpat.h	-unknown-	obsolete
+./usr/X11R7/include/freetype2/ft2build.h		-unknown-	xorg
 ./usr/X11R7/include/freetype2/ftadvanc.h		-unknown-	xorg
 ./usr/X11R7/include/freetype2/ftautoh.h			-unknown-	xorg
 ./usr/X11R7/include/freetype2/ftbbox.h			-unknown-	xorg
@@ -5788,7 +5789,7 @@
 ./usr/X11R7/include/freetype2/tttables.h		-unknown-	xorg
 ./usr/X11R7/include/freetype2/tttags.h			-unknown-	xorg
 ./usr/X11R7/include/freetype2/ttunpat.h			-unknown-	xorg
-./usr/X11R7/include/ft2build.h-unknown-	xorg
+./usr/X11R7/include/ft2build.hxcomp-obsolete	obsolete
 ./usr/X11R7/include/libdrm/drm.h			-unknown-	xorg
 ./usr/X11R7/include/libdrm/drm_fourcc.h			-unknown-	xorg
 ./usr/X11R7/include/libdrm/drm_mode.h			-unknown-	xorg

Index: src/external/mit/xorg/lib/freetype/Makefile
diff -u src/external/mit/xorg/lib/freetype/Makefile:1.13 src/external/mit/xorg/lib/freetype/Makefile:1.14
--- src/external/mit/xorg/lib/freetype/Makefile:1.13	Mon Jan 26 08:47:25 2015
+++ src/external/mit/xorg/lib/freetype/Makefile	Mon Feb  9 16:27:29 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.13 2015/01/26 08:47:25 wiz Exp $
+#	$NetBSD: Makefile,v 1.14 2015/02/09 16:27:29 ryoon Exp $
 
 .include bsd.own.mk
 
@@ -77,10 +77,6 @@ SRCS+=	type42.c
 .PATH:	${FREETYPE}/src/winfonts
 SRCS+=	winfnt.c
 
-.PATH:	${FREETYPE}/include
-INCS=	ft2build.h
-INCSDIR=${X11INCDIR}
-
 CPPFLAGS+=	${X11FLAGS.THREADLIB}
 CPPFLAGS+=	-DFT_CONFIG_OPTION_SYSTEM_ZLIB \
 		-DFT_CONFIG_CONFIG_H=ftconfig.h \

Index: src/external/mit/xorg/lib/freetype/freetype2.pc.in
diff -u src/external/mit/xorg/lib/freetype/freetype2.pc.in:1.2 src/external/mit/xorg/lib/freetype/freetype2.pc.in:1.3
--- src/external/mit/xorg/lib/freetype/freetype2.pc.in:1.2	Thu Mar 20 08:57:48 2014
+++ src/external/mit/xorg/lib/freetype/freetype2.pc.in	Mon Feb  9 16:27:29 2015
@@ -1,11 +1,11 @@
 prefix=@prefix@
 exec_prefix=${prefix}
 libdir=${prefix}/lib
-includedir=${prefix}/include
+includedir=${prefix}/include/freetype2
 
 Name: FreeType 2
 Description: A free, high-quality, and portable font engine.
 Version: @VERSION@
 Requires:
 Libs: -L${libdir} -lfreetype -lz -lbz2
-Cflags: -I${includedir}/freetype2 -I${includedir}
+Cflags: -I${includedir}

Index: src/external/mit/xorg/lib/freetype/freetype/Makefile
diff -u src/external/mit/xorg/lib/freetype/freetype/Makefile:1.17 src/external/mit/xorg/lib/freetype/freetype/Makefile:1.18
--- src/external/mit/xorg/lib/freetype/freetype/Makefile:1.17	Thu Mar 20 22:23:30 2014
+++ src/external/mit/xorg/lib/freetype/freetype/Makefile	Mon Feb  9 16:27:29 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2014/03/20 22:23:30 mrg Exp $
+#	$NetBSD: Makefile,v 1.18 2015/02/09 16:27:29 ryoon Exp $
 
 .include bsd.own.mk
 
@@ -15,7 +15,7 @@ INCS=	freetype.h ftadvanc.h ftbbox.h ftb
 	ftpfr.h ftrender.h ftsizes.h ftsnames.h ftstroke.h ftsynth.h \
 	ftsystem.h fttrigon.h fttypes.h ftwinfnt.h ftxf86.h \
 	t1tables.h ttnameid.h tttables.h tttags.h ttunpat.h \
-	ftautoh.h ftcffdrv.h
+	ftautoh.h ftcffdrv.h ft2build.h
 
 SCRIPTS=	freetype-config
 



CVS commit: src/share/man/man4

2015-01-01 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Thu Jan  1 08:11:45 UTC 2015

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

Log Message:
cdce(4) supports normal Ethernet adapters.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/man/man4/cdce.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/cdce.4
diff -u src/share/man/man4/cdce.4:1.10 src/share/man/man4/cdce.4:1.11
--- src/share/man/man4/cdce.4:1.10	Tue Mar 18 18:20:39 2014
+++ src/share/man/man4/cdce.4	Thu Jan  1 08:11:45 2015
@@ -25,9 +25,9 @@
 .\ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\ POSSIBILITY OF SUCH DAMAGE.
 .\
-.\ $NetBSD: cdce.4,v 1.10 2014/03/18 18:20:39 riastradh Exp $
+.\ $NetBSD: cdce.4,v 1.11 2015/01/01 08:11:45 ryoon Exp $
 .\
-.Dd June 7, 2011
+.Dd January 1, 2014
 .Dt CDCE 4
 .Os
 .Sh NAME
@@ -39,7 +39,8 @@
 The
 .Nm
 driver provides support for USB Host-to-Host (aka USB-to-USB) bridges
-based on the USB Communication Device Class (CDC) and Ethernet subclass,
+and USB-to-Ethernet adapters based on the USB Communication Device Class (CDC)
+and Ethernet subclass,
 including the following:
 .Pp
 .Bl -bullet -compact



CVS commit: src/share/man/man4

2014-11-28 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sat Nov 29 03:35:57 UTC 2014

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

Log Message:
Include Synchronous connection-oriented for SCO.
Bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/share/man/man4/btsco.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/btsco.4
diff -u src/share/man/man4/btsco.4:1.11 src/share/man/man4/btsco.4:1.12
--- src/share/man/man4/btsco.4:1.11	Fri Aug 21 23:45:15 2009
+++ src/share/man/man4/btsco.4	Sat Nov 29 03:35:57 2014
@@ -1,4 +1,4 @@
-.\ $NetBSD: btsco.4,v 1.11 2009/08/21 23:45:15 joerg Exp $
+.\ $NetBSD: btsco.4,v 1.12 2014/11/29 03:35:57 ryoon Exp $
 .\
 .\ Copyright (c) 2006 Itronix Inc.
 .\ All rights reserved.
@@ -29,7 +29,7 @@
 .\ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\ POSSIBILITY OF SUCH DAMAGE.
 .\
-.Dd October 4, 2006
+.Dd November 29, 2014
 .Dt BTSCO 4
 .Os
 .Sh NAME
@@ -41,7 +41,8 @@
 .Sh DESCRIPTION
 The
 .Nm
-driver provides support for Bluetooth SCO Audio devices through the
+driver provides support for Bluetooth SCO (Synchronous connection-oriented)
+Audio devices through the
 .Xr audio 4
 driver.
 .Pp



CVS commit: src/sys/dev/qbus

2014-08-04 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Aug  4 14:20:33 UTC 2014

Modified Files:
src/sys/dev/qbus: rf.c

Log Message:
Fix typo in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/qbus/rf.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/qbus/rf.c
diff -u src/sys/dev/qbus/rf.c:1.28 src/sys/dev/qbus/rf.c:1.29
--- src/sys/dev/qbus/rf.c:1.28	Fri Jul 25 08:10:38 2014
+++ src/sys/dev/qbus/rf.c	Mon Aug  4 14:20:33 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: rf.c,v 1.28 2014/07/25 08:10:38 dholland Exp $	*/
+/*	$NetBSD: rf.c,v 1.29 2014/08/04 14:20:33 ryoon Exp $	*/
 /*
  * Copyright (c) 2002 Jochen Kunz.
  * All rights reserved.
@@ -32,11 +32,11 @@
 TODO:
 - Better LBN bound checking, block padding for SD disks.
 - Formatting / Set Density
-- Better error handling / detailed error reason reportnig.
+- Better error handling / detailed error reason reporting.
 */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: rf.c,v 1.28 2014/07/25 08:10:38 dholland Exp $);
+__KERNEL_RCSID(0, $NetBSD: rf.c,v 1.29 2014/08/04 14:20:33 ryoon Exp $);
 
 /* autoconfig stuff */
 #include sys/param.h



CVS commit: src/external/cddl/osnet

2014-07-25 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sat Jul 26 04:54:20 UTC 2014

Modified Files:
src/external/cddl/osnet/dev/fbt: fbt.c
src/external/cddl/osnet/dev/sdt: sdt.c
src/external/cddl/osnet/dist/uts/common/dtrace: dtrace.c

Log Message:
Fix dtrace kernel module build.
Add nodiscard to cdevsw.
They are not fixed in fallocate/fdiscard changes.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/cddl/osnet/dev/fbt/fbt.c
cvs rdiff -u -r1.8 -r1.9 src/external/cddl/osnet/dev/sdt/sdt.c
cvs rdiff -u -r1.27 -r1.28 \
src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c

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

Modified files:

Index: src/external/cddl/osnet/dev/fbt/fbt.c
diff -u src/external/cddl/osnet/dev/fbt/fbt.c:1.15 src/external/cddl/osnet/dev/fbt/fbt.c:1.16
--- src/external/cddl/osnet/dev/fbt/fbt.c:1.15	Wed Mar 19 11:14:12 2014
+++ src/external/cddl/osnet/dev/fbt/fbt.c	Sat Jul 26 04:54:20 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: fbt.c,v 1.15 2014/03/19 11:14:12 ozaki-r Exp $	*/
+/*	$NetBSD: fbt.c,v 1.16 2014/07/26 04:54:20 ryoon Exp $	*/
 
 /*
  * CDDL HEADER START
@@ -153,7 +153,7 @@ static void	fbt_resume(void *, dtrace_id
 
 static const struct cdevsw fbt_cdevsw = {
 	fbt_open, noclose, noread, nowrite, noioctl,
-	nostop, notty, nopoll, nommap, nokqfilter,
+	nostop, notty, nopoll, nommap, nokqfilter, nodiscard,
 	D_OTHER
 };
 

Index: src/external/cddl/osnet/dev/sdt/sdt.c
diff -u src/external/cddl/osnet/dev/sdt/sdt.c:1.8 src/external/cddl/osnet/dev/sdt/sdt.c:1.9
--- src/external/cddl/osnet/dev/sdt/sdt.c:1.8	Sat Jul 30 10:12:14 2011
+++ src/external/cddl/osnet/dev/sdt/sdt.c	Sat Jul 26 04:54:20 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: sdt.c,v 1.8 2011/07/30 10:12:14 uebayasi Exp $	*/
+/*	$NetBSD: sdt.c,v 1.9 2014/07/26 04:54:20 ryoon Exp $	*/
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@ static void	sdt_load(void *);
 
 static const struct cdevsw sdt_cdevsw = {
 	sdt_open, noclose, noread, nowrite, noioctl,
-	nostop, notty, nopoll, nommap, nokqfilter,
+	nostop, notty, nopoll, nommap, nokqfilter, nodiscard,
 	D_OTHER
 };
 

Index: src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c
diff -u src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c:1.27 src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c:1.28
--- src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c:1.27	Thu Mar 27 15:50:48 2014
+++ src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c	Sat Jul 26 04:54:20 2014
@@ -15349,7 +15349,7 @@ static dev_type_open(dtrace_open);
 /* Just opens, clones to the fileops below */
 const struct cdevsw dtrace_cdevsw = {
 	dtrace_open, noclose, noread, nowrite, noioctl,
-	nostop, notty, nopoll, nommap, nokqfilter,
+	nostop, notty, nopoll, nommap, nokqfilter, nodiscard,
 	D_OTHER | D_MPSAFE
 };
 



CVS commit: src/sys/dev/usb

2014-07-14 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Jul 14 12:02:59 UTC 2014

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
Add Sharp CE-175TU USB to Zaurus Option Port 16 cable.
With this cable, you can login to NetBSD/zaurus on SL-C750 via serial console.


To generate a diff of this commit:
cvs rdiff -u -r1.673 -r1.674 src/sys/dev/usb/usbdevs

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/usb/usbdevs
diff -u src/sys/dev/usb/usbdevs:1.673 src/sys/dev/usb/usbdevs:1.674
--- src/sys/dev/usb/usbdevs:1.673	Wed Jun 11 07:05:03 2014
+++ src/sys/dev/usb/usbdevs	Mon Jul 14 12:02:59 2014
@@ -1,4 +1,4 @@
-$NetBSD: usbdevs,v 1.673 2014/06/11 07:05:03 njoly Exp $
+$NetBSD: usbdevs,v 1.674 2014/07/14 12:02:59 ryoon Exp $
 
 /*
  * Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@@ -2798,6 +2798,7 @@ product SHANTOU ADM8515		0x8515	ADM8515 
 product SHARK PA		0x0400	Pocket Adapter
 
 /* Sharp products */
+product SHARP CE175TU		0x8000	CE175TU
 product SHARP SL5500		0x8004	SL5500
 product SHARP A300		0x8005	A300
 product SHARP SL5600		0x8006	SL5600



CVS commit: src/sys/dev/usb

2014-07-14 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Jul 14 12:03:42 UTC 2014

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
Regen.


To generate a diff of this commit:
cvs rdiff -u -r1.665 -r1.666 src/sys/dev/usb/usbdevs.h
cvs rdiff -u -r1.666 -r1.667 src/sys/dev/usb/usbdevs_data.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/usb/usbdevs.h
diff -u src/sys/dev/usb/usbdevs.h:1.665 src/sys/dev/usb/usbdevs.h:1.666
--- src/sys/dev/usb/usbdevs.h:1.665	Wed Jun 11 07:05:35 2014
+++ src/sys/dev/usb/usbdevs.h	Mon Jul 14 12:03:42 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: usbdevs.h,v 1.665 2014/06/11 07:05:35 njoly Exp $	*/
+/*	$NetBSD: usbdevs.h,v 1.666 2014/07/14 12:03:42 ryoon Exp $	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -2805,6 +2805,7 @@
 #define	USB_PRODUCT_SHARK_PA	0x0400		/* Pocket Adapter */
 
 /* Sharp products */
+#define	USB_PRODUCT_SHARP_CE175TU	0x8000		/* CE175TU */
 #define	USB_PRODUCT_SHARP_SL5500	0x8004		/* SL5500 */
 #define	USB_PRODUCT_SHARP_A300	0x8005		/* A300 */
 #define	USB_PRODUCT_SHARP_SL5600	0x8006		/* SL5600 */

Index: src/sys/dev/usb/usbdevs_data.h
diff -u src/sys/dev/usb/usbdevs_data.h:1.666 src/sys/dev/usb/usbdevs_data.h:1.667
--- src/sys/dev/usb/usbdevs_data.h:1.666	Wed Jun 11 07:05:35 2014
+++ src/sys/dev/usb/usbdevs_data.h	Mon Jul 14 12:03:42 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: usbdevs_data.h,v 1.666 2014/06/11 07:05:35 njoly Exp $	*/
+/*	$NetBSD: usbdevs_data.h,v 1.667 2014/07/14 12:03:42 ryoon Exp $	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -8551,6 +8551,10 @@ const struct usb_product usb_products[] 
 	Pocket Adapter,
 	},
 	{
+	USB_VENDOR_SHARP, USB_PRODUCT_SHARP_CE175TU,
+	CE175TU,
+	},
+	{
 	USB_VENDOR_SHARP, USB_PRODUCT_SHARP_SL5500,
 	SL5500,
 	},
@@ -10159,4 +10163,4 @@ const struct usb_product usb_products[] 
 	Prestige,
 	},
 };
-const int usb_nproducts = 1999;
+const int usb_nproducts = 2000;



CVS commit: src/sys/dev/usb

2014-07-14 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Jul 14 12:04:48 UTC 2014

Modified Files:
src/sys/dev/usb: uplcom.c

Log Message:
Sharp CE-175TU USB to Zaurus Option Port 16 cable is uplcom(4) device.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/dev/usb/uplcom.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/usb/uplcom.c
diff -u src/sys/dev/usb/uplcom.c:1.73 src/sys/dev/usb/uplcom.c:1.74
--- src/sys/dev/usb/uplcom.c:1.73	Fri Dec 23 00:51:48 2011
+++ src/sys/dev/usb/uplcom.c	Mon Jul 14 12:04:48 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: uplcom.c,v 1.73 2011/12/23 00:51:48 jakllsch Exp $	*/
+/*	$NetBSD: uplcom.c,v 1.74 2014/07/14 12:04:48 ryoon Exp $	*/
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -34,7 +34,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: uplcom.c,v 1.73 2011/12/23 00:51:48 jakllsch Exp $);
+__KERNEL_RCSID(0, $NetBSD: uplcom.c,v 1.74 2014/07/14 12:04:48 ryoon Exp $);
 
 #include sys/param.h
 #include sys/systm.h
@@ -191,6 +191,8 @@ static const struct usb_devno uplcom_dev
 	{ USB_VENDOR_NETINDEX, USB_PRODUCT_NETINDEX_WS002IN },
 	/* COREGA CG-USBRS232R */
 	{ USB_VENDOR_COREGA, USB_PRODUCT_COREGA_CGUSBRS232R },
+	/* Sharp CE-175TU (USB to Zaurus option port 15 adapter) */
+	{ USB_VENDOR_SHARP, USB_PRODUCT_SHARP_CE175TU },
 };
 #define uplcom_lookup(v, p) usb_lookup(uplcom_devs, v, p)
 



CVS commit: src/share/man/man4

2014-07-14 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon Jul 14 12:07:04 UTC 2014

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

Log Message:
Add Sharp CE-175TU entry, and bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/share/man/man4/uplcom.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/uplcom.4
diff -u src/share/man/man4/uplcom.4:1.18 src/share/man/man4/uplcom.4:1.19
--- src/share/man/man4/uplcom.4:1.18	Wed Apr 30 13:10:54 2008
+++ src/share/man/man4/uplcom.4	Mon Jul 14 12:07:04 2014
@@ -1,4 +1,4 @@
-.\ $NetBSD: uplcom.4,v 1.18 2008/04/30 13:10:54 martin Exp $
+.\ $NetBSD: uplcom.4,v 1.19 2014/07/14 12:07:04 ryoon Exp $
 .\
 .\ Copyright (c) 2001, 2004 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 June 14, 2007
+.Dd July 14, 2014
 .Dt UPLCOM 4
 .Os
 .Sh NAME
@@ -52,6 +52,7 @@ driver supports the following adapters:
 .It I/O DATA USB-RSAQ3
 .It I/O DATA USB-RSAQ5
 .It PLANEX USB RS-232 URS-03
+.It Sharp CE-175TU
 .It Sitecom CN-116 USB to serial
 .It Sony Ericsson DCU-10
 .It Sony Ericsson DCU-11



CVS commit: src/usr.bin/sed

2014-06-07 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sat Jun  7 06:02:27 UTC 2014

Modified Files:
src/usr.bin/sed: process.c

Log Message:
Restore G command


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/usr.bin/sed/process.c

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

Modified files:

Index: src/usr.bin/sed/process.c
diff -u src/usr.bin/sed/process.c:1.41 src/usr.bin/sed/process.c:1.42
--- src/usr.bin/sed/process.c:1.41	Fri Jun  6 12:46:54 2014
+++ src/usr.bin/sed/process.c	Sat Jun  7 06:02:27 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: process.c,v 1.41 2014/06/06 12:46:54 joerg Exp $	*/
+/*	$NetBSD: process.c,v 1.42 2014/06/07 06:02:27 ryoon Exp $	*/
 
 /*-
  * Copyright (c) 1992 Diomidis Spinellis.
@@ -38,7 +38,7 @@
 #endif
 
 #include sys/cdefs.h
-__RCSID($NetBSD: process.c,v 1.41 2014/06/06 12:46:54 joerg Exp $);
+__RCSID($NetBSD: process.c,v 1.42 2014/06/07 06:02:27 ryoon Exp $);
 #ifdef __FBSDID
 __FBSDID($FreeBSD: head/usr.bin/sed/process.c 192732 2009-05-25 06:45:33Z brian $);
 #endif
@@ -155,7 +155,7 @@ redirect:
 break;
 			case 'G':
 if (hs == NULL)
-	cspace(PS, \n, 1, REPLACE);
+	cspace(HS, \n, 1, REPLACE);
 cspace(PS, hs, hsl, APPEND);
 break;
 			case 'h':



CVS commit: src/sys/dev/usb

2014-05-27 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue May 27 13:41:02 UTC 2014

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
Related to PR kern/48533
Prism GT is Conexant products.


To generate a diff of this commit:
cvs rdiff -u -r1.670 -r1.671 src/sys/dev/usb/usbdevs

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/usb/usbdevs
diff -u src/sys/dev/usb/usbdevs:1.670 src/sys/dev/usb/usbdevs:1.671
--- src/sys/dev/usb/usbdevs:1.670	Sun May 25 06:10:25 2014
+++ src/sys/dev/usb/usbdevs	Tue May 27 13:41:01 2014
@@ -1,4 +1,4 @@
-$NetBSD: usbdevs,v 1.670 2014/05/25 06:10:25 ryoon Exp $
+$NetBSD: usbdevs,v 1.671 2014/05/27 13:41:01 ryoon Exp $
 
 /*
  * Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@@ -3280,9 +3280,9 @@ product WISTRONNEWEB AR5523_2_NF 0x0829	
 product XIRLINK IMAGING		0x800d	IMAGING DEVICE
 product XIRLINK PCCAM		0x8080	IBM PC Camera
 
-/* Xyratex */
-product XYRATEX PRISM_GT_1	0x2000	PrismGT USB 2.0 WLAN
-product XYRATEX PRISM_GT_2	0x2002	PrismGT USB 2.0 WLAN
+/* Conexant */
+product CONEXANT PRISM_GT_1	0x2000	PrismGT USB 2.0 WLAN
+product CONEXANT PRISM_GT_2	0x2002	PrismGT USB 2.0 WLAN
 
 /* Yamaha products */
 product YAMAHA UX256		0x1000	UX256 MIDI I/F



CVS commit: src/sys/dev/usb

2014-05-27 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue May 27 13:41:48 UTC 2014

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
Regen.


To generate a diff of this commit:
cvs rdiff -u -r1.662 -r1.663 src/sys/dev/usb/usbdevs.h
cvs rdiff -u -r1.663 -r1.664 src/sys/dev/usb/usbdevs_data.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/usb/usbdevs.h
diff -u src/sys/dev/usb/usbdevs.h:1.662 src/sys/dev/usb/usbdevs.h:1.663
--- src/sys/dev/usb/usbdevs.h:1.662	Sun May 25 06:11:40 2014
+++ src/sys/dev/usb/usbdevs.h	Tue May 27 13:41:48 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: usbdevs.h,v 1.662 2014/05/25 06:11:40 ryoon Exp $	*/
+/*	$NetBSD: usbdevs.h,v 1.663 2014/05/27 13:41:48 ryoon Exp $	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -3287,9 +3287,9 @@
 #define	USB_PRODUCT_XIRLINK_IMAGING	0x800d		/* IMAGING DEVICE */
 #define	USB_PRODUCT_XIRLINK_PCCAM	0x8080		/* IBM PC Camera */
 
-/* Xyratex */
-#define	USB_PRODUCT_XYRATEX_PRISM_GT_1	0x2000		/* PrismGT USB 2.0 WLAN */
-#define	USB_PRODUCT_XYRATEX_PRISM_GT_2	0x2002		/* PrismGT USB 2.0 WLAN */
+/* Conexant */
+#define	USB_PRODUCT_CONEXANT_PRISM_GT_1	0x2000		/* PrismGT USB 2.0 WLAN */
+#define	USB_PRODUCT_CONEXANT_PRISM_GT_2	0x2002		/* PrismGT USB 2.0 WLAN */
 
 /* Yamaha products */
 #define	USB_PRODUCT_YAMAHA_UX256	0x1000		/* UX256 MIDI I/F */

Index: src/sys/dev/usb/usbdevs_data.h
diff -u src/sys/dev/usb/usbdevs_data.h:1.663 src/sys/dev/usb/usbdevs_data.h:1.664
--- src/sys/dev/usb/usbdevs_data.h:1.663	Sun May 25 06:11:40 2014
+++ src/sys/dev/usb/usbdevs_data.h	Tue May 27 13:41:48 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: usbdevs_data.h,v 1.663 2014/05/25 06:11:40 ryoon Exp $	*/
+/*	$NetBSD: usbdevs_data.h,v 1.664 2014/05/27 13:41:48 ryoon Exp $	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -9831,11 +9831,11 @@ const struct usb_product usb_products[] 
 	IBM PC Camera,
 	},
 	{
-	USB_VENDOR_XYRATEX, USB_PRODUCT_XYRATEX_PRISM_GT_1,
+	USB_VENDOR_CONEXANT, USB_PRODUCT_CONEXANT_PRISM_GT_1,
 	PrismGT USB 2.0 WLAN,
 	},
 	{
-	USB_VENDOR_XYRATEX, USB_PRODUCT_XYRATEX_PRISM_GT_2,
+	USB_VENDOR_CONEXANT, USB_PRODUCT_CONEXANT_PRISM_GT_2,
 	PrismGT USB 2.0 WLAN,
 	},
 	{



CVS commit: src/sys/dev/usb

2014-05-27 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Tue May 27 13:44:25 UTC 2014

Modified Files:
src/sys/dev/usb: if_upgt.c

Log Message:
Related to PR kern/48533
Prism GT 1/2 is Conexant products.
Noted by skrll@, thank you.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/usb/if_upgt.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/usb/if_upgt.c
diff -u src/sys/dev/usb/if_upgt.c:1.11 src/sys/dev/usb/if_upgt.c:1.12
--- src/sys/dev/usb/if_upgt.c:1.11	Tue May 20 10:04:38 2014
+++ src/sys/dev/usb/if_upgt.c	Tue May 27 13:44:25 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_upgt.c,v 1.11 2014/05/20 10:04:38 zafer Exp $	*/
+/*	$NetBSD: if_upgt.c,v 1.12 2014/05/27 13:44:25 ryoon Exp $	*/
 /*	$OpenBSD: if_upgt.c,v 1.49 2010/04/20 22:05:43 tedu Exp $ */
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: if_upgt.c,v 1.11 2014/05/20 10:04:38 zafer Exp $);
+__KERNEL_RCSID(0, $NetBSD: if_upgt.c,v 1.12 2014/05/27 13:44:25 ryoon Exp $);
 
 #include sys/param.h
 #include sys/callout.h
@@ -175,8 +175,8 @@ static const struct usb_devno upgt_devs_
 	{ USB_VENDOR_SMC,		USB_PRODUCT_SMC_2862WG },
 	{ USB_VENDOR_USR,		USB_PRODUCT_USR_USR5422 },
 	{ USB_VENDOR_WISTRONNEWEB,	USB_PRODUCT_WISTRONNEWEB_UR045G },
-	{ USB_VENDOR_XYRATEX,		USB_PRODUCT_XYRATEX_PRISM_GT_1 },
-	{ USB_VENDOR_XYRATEX,		USB_PRODUCT_XYRATEX_PRISM_GT_2 },
+	{ USB_VENDOR_CONEXANT,		USB_PRODUCT_CONEXANT_PRISM_GT_1 },
+	{ USB_VENDOR_CONEXANT,		USB_PRODUCT_CONEXANT_PRISM_GT_2 },
 	{ USB_VENDOR_ZCOM,		USB_PRODUCT_ZCOM_MD40900 },
 	{ USB_VENDOR_ZCOM,		USB_PRODUCT_ZCOM_XG703A }
 };



CVS commit: src/sys/ufs

2014-05-26 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Mon May 26 19:12:43 UTC 2014

Modified Files:
src/sys/ufs/lfs: lfs_inode.h
src/sys/ufs/ufs: inode.h

Log Message:
Close comments


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/ufs/lfs/lfs_inode.h
cvs rdiff -u -r1.69 -r1.70 src/sys/ufs/ufs/inode.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/ufs/lfs/lfs_inode.h
diff -u src/sys/ufs/lfs/lfs_inode.h:1.6 src/sys/ufs/lfs/lfs_inode.h:1.7
--- src/sys/ufs/lfs/lfs_inode.h:1.6	Mon May 26 18:58:32 2014
+++ src/sys/ufs/lfs/lfs_inode.h	Mon May 26 19:12:43 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: lfs_inode.h,v 1.6 2014/05/26 18:58:32 dholland Exp $	*/
+/*	$NetBSD: lfs_inode.h,v 1.7 2014/05/26 19:12:43 ryoon Exp $	*/
 /*  from NetBSD: ulfs_inode.h,v 1.5 2013/06/06 00:51:50 dholland Exp  */
 /*  from NetBSD: inode.h,v 1.64 2012/11/19 00:36:21 jakllsch Exp  */
 
@@ -212,7 +212,7 @@ struct inode {
 #define	IN_EXLOCK	0x0080		/* File has exclusive lock. */
 #define	IN_CLEANING	0x0100		/* LFS: file is being cleaned */
 #define	IN_ADIROP	0x0200		/* LFS: dirop in progress */
-/* 	   unused	0x0400		/* was FFS-only IN_SPACECOUNTED */
+/* 	   unused	0x0400 */	/* was FFS-only IN_SPACECOUNTED */
 #define	IN_PAGING   0x1000		/* LFS: file is on paging queue */
 #define IN_CDIROP   0x4000  /* LFS: dirop completed pending i/o */
 

Index: src/sys/ufs/ufs/inode.h
diff -u src/sys/ufs/ufs/inode.h:1.69 src/sys/ufs/ufs/inode.h:1.70
--- src/sys/ufs/ufs/inode.h:1.69	Mon May 26 18:52:50 2014
+++ src/sys/ufs/ufs/inode.h	Mon May 26 19:12:43 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: inode.h,v 1.69 2014/05/26 18:52:50 dholland Exp $	*/
+/*	$NetBSD: inode.h,v 1.70 2014/05/26 19:12:43 ryoon Exp $	*/
 
 /*
  * Copyright (c) 1982, 1989, 1993
@@ -242,10 +242,10 @@ struct inode {
 #define	IN_SHLOCK	0x0040		/* File has shared lock. */
 #define	IN_EXLOCK	0x0080		/* File has exclusive lock. */
 #define	   unused	0x0100		/* was LFS-only IN_CLEANING */
-/*	   unused	0x0200		/* was LFS-only IN_ADIROP */
+/*	   unused	0x0200 */	/* was LFS-only IN_ADIROP */
 #define	IN_SPACECOUNTED	0x0400		/* Blocks to be freed in free count. */
-/*	   unused   0x1000		/* was LFS-only IN_PAGING */
-/*	   unused	0x4000  /* was LFS-only IN_CDIROP */
+/*	   unused   0x1000 */	/* was LFS-only IN_PAGING */
+/*	   unused	0x4000 */   /* was LFS-only IN_CDIROP */
 #if defined(_KERNEL)
 
 /*



CVS commit: src/sys/dev/usb

2014-05-25 Thread Ryo ONODERA
Module Name:src
Committed By:   ryoon
Date:   Sun May 25 06:10:25 UTC 2014

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
PR kern/48533
Fix USB vendor ID for Conexant.


To generate a diff of this commit:
cvs rdiff -u -r1.669 -r1.670 src/sys/dev/usb/usbdevs

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/usb/usbdevs
diff -u src/sys/dev/usb/usbdevs:1.669 src/sys/dev/usb/usbdevs:1.670
--- src/sys/dev/usb/usbdevs:1.669	Tue May 20 09:55:06 2014
+++ src/sys/dev/usb/usbdevs	Sun May 25 06:10:25 2014
@@ -1,4 +1,4 @@
-$NetBSD: usbdevs,v 1.669 2014/05/20 09:55:06 zafer Exp $
+$NetBSD: usbdevs,v 1.670 2014/05/25 06:10:25 ryoon Exp $
 
 /*
  * Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@@ -180,11 +180,12 @@ vendor MUSTEK		0x055f	Mustek Systems
 vendor TELEX		0x0562	Telex Communications
 vendor PERACOM		0x0565	Peracom Networks
 vendor ALCOR2		0x0566	Alcor Micro
+vendor XYRATEX		0x0567	Xyratex
 vendor WACOM		0x056a	WACOM
 vendor ETEK		0x056c	e-TEK Labs
 vendor EIZO		0x056d	EIZO
 vendor ELECOM		0x056e	Elecom
-vendor XYRATEX		0x0572	Xyratex
+vendor CONEXANT		0x0572	Conexant
 vendor HAUPPAUGE	0x0573	Hauppauge Computer Works
 vendor BAFO		0x0576	BAFO/Quality Computer Accessories
 vendor YEDATA		0x057b	Y-E Data



  1   2   >