Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci add Oxford Semiconductor OXPCIe954 ...



details:   https://anonhg.NetBSD.org/src/rev/a93179f5c1d3
branches:  trunk
changeset: 319209:a93179f5c1d3
user:      jnemeth <jnemeth%NetBSD.org@localhost>
date:      Mon May 21 03:56:21 2018 +0000

description:
add Oxford Semiconductor OXPCIe954 PCIe 4-port serial card

diffstat:

 sys/dev/pci/pucdata.c |  17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 13819c843514 -r a93179f5c1d3 sys/dev/pci/pucdata.c
--- a/sys/dev/pci/pucdata.c     Mon May 21 03:54:06 2018 +0000
+++ b/sys/dev/pci/pucdata.c     Mon May 21 03:56:21 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pucdata.c,v 1.101 2018/04/13 07:57:04 msaitoh Exp $    */
+/*     $NetBSD: pucdata.c,v 1.102 2018/05/21 03:56:21 jnemeth 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.101 2018/04/13 07:57:04 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.102 2018/05/21 03:56:21 jnemeth Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1108,6 +1108,19 @@
            },
        },
 
+       /* Oxford Semiconductor OXPCIe954 PCIe UARTs */
+       {   "Oxford Semiconductor OXPCIe954 UART",
+           {   PCI_VENDOR_OXFORDSEMI, PCI_PRODUCT_OXFORDSEMI_OXPCIE954,
+               0, 0 },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+               { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1200, COM_FREQ * 0x22 },
+               { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1400, COM_FREQ * 0x22 },
+               { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1600, COM_FREQ * 0x22 },
+           },
+       },
+
        /* Oxford Semiconductor OXmPCI952 PCI UARTs */
        {   "Oxford Semiconductor OXmPCI952 UARTs",
            {   PCI_VENDOR_OXFORDSEMI,  PCI_PRODUCT_OXFORDSEMI_EXSYS_EX41092,



Home | Main Index | Thread Index | Old Index