Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Add and entry for the EXAR XR17V354 4-port UART.



details:   https://anonhg.NetBSD.org/src/rev/b0dcc788737f
branches:  trunk
changeset: 373280:b0dcc788737f
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Jan 29 15:17:51 2023 +0000

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

>From Håkan Engvall.
PR kern/57202

diffstat:

 share/man/man4/puc.4  |   5 +++--
 sys/dev/pci/pucdata.c |  14 ++++++++++++--
 2 files changed, 15 insertions(+), 4 deletions(-)

diffs (61 lines):

diff -r e2104cb6e94e -r b0dcc788737f share/man/man4/puc.4
--- a/share/man/man4/puc.4      Sun Jan 29 15:08:02 2023 +0000
+++ b/share/man/man4/puc.4      Sun Jan 29 15:17:51 2023 +0000
@@ -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 @@
 .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)"
diff -r e2104cb6e94e -r b0dcc788737f sys/dev/pci/pucdata.c
--- a/sys/dev/pci/pucdata.c     Sun Jan 29 15:08:02 2023 +0000
+++ b/sys/dev/pci/pucdata.c     Sun Jan 29 15:17:51 2023 +0000
@@ -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 @@
                { 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.



Home | Main Index | Thread Index | Old Index