Module Name:    src
Committed By:   thorpej
Date:           Sun Jan 29 15:17:51 UTC 2023

Modified Files:
        src/share/man/man4: puc.4
        src/sys/dev/pci: pucdata.c

Log Message:
Add and entry for the EXAR XR17V354 4-port UART.

>From HÃ¥kan Engvall.
PR kern/57202


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/share/man/man4/puc.4
cvs rdiff -u -r1.113 -r1.114 src/sys/dev/pci/pucdata.c

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/puc.4
diff -u src/share/man/man4/puc.4:1.43 src/share/man/man4/puc.4:1.44
--- src/share/man/man4/puc.4:1.43	Thu Dec  2 05:10:04 2021
+++ src/share/man/man4/puc.4	Sun Jan 29 15:17:51 2023
@@ -1,4 +1,4 @@
-.\" $NetBSD: puc.4,v 1.43 2021/12/02 05:10:04 msaitoh Exp $
+.\" $NetBSD: puc.4,v 1.44 2023/01/29 15:17:51 thorpej Exp $
 .\"
 .\" Copyright (c) 1998 Christopher G. Demetriou
 .\" All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
 .\"
-.Dd December 2, 2021
+.Dd January 29, 2023
 .Dt PUC 4
 .Os
 .Sh NAME
@@ -89,6 +89,7 @@ The driver currently supports the follow
 .It Tn "EXAR XR17D152 (2 port serial)"
 .It Tn "EXAR XR17D154 (4 port serial)"
 .It Tn "EXAR XR17D158 (8 port serial)"
+.It Tn "EXAR XR17V354 (4 port serial)"
 .It Tn "Exsys EX-41098 (4 port serial)"
 .It Tn "IBM 4810 SurePOS 300 Series SCC (4 port serial)"
 .It Tn "InnoSys Keyspan SX Pro (4 port serial)"

Index: src/sys/dev/pci/pucdata.c
diff -u src/sys/dev/pci/pucdata.c:1.113 src/sys/dev/pci/pucdata.c:1.114
--- src/sys/dev/pci/pucdata.c:1.113	Sun May  1 04:24:47 2022
+++ src/sys/dev/pci/pucdata.c	Sun Jan 29 15:17:51 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: pucdata.c,v 1.113 2022/05/01 04:24:47 mrg Exp $	*/
+/*	$NetBSD: pucdata.c,v 1.114 2023/01/29 15:17:51 thorpej Exp $	*/
 
 /*
  * Copyright (c) 1998, 1999 Christopher G. Demetriou.  All rights reserved.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.113 2022/05/01 04:24:47 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.114 2023/01/29 15:17:51 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -444,6 +444,16 @@ const struct puc_device_description puc_
 		{ PUC_PORT_TYPE_COM, PCI_BAR0, 0x0600, COM_FREQ * 8 },
 	    },
 	},
+	{   "EXAR XR17D154",
+	    {	PCI_VENDOR_EXAR, PCI_PRODUCT_EXAR_XR17V354, 0,      0       },
+	    {   0xffff, 0xffff, 0,      0       },
+	    {
+		{ PUC_PORT_TYPE_COM, PCI_BAR0, 0x0000, 125000000 },
+		{ PUC_PORT_TYPE_COM, PCI_BAR0, 0x0400, 125000000 },
+		{ PUC_PORT_TYPE_COM, PCI_BAR0, 0x0800, 125000000 },
+		{ PUC_PORT_TYPE_COM, PCI_BAR0, 0x0c00, 125000000 },
+	    },
+	},
 
 	/*
 	 * Multi-Tech ISI5634PCI/4 4-port modem board.

Reply via email to