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 EXSYS EX-41098-2 UARTs support. The clock fr...



details:   https://anonhg.NetBSD.org/src/rev/1d06ac4ca23a
branches:  trunk
changeset: 781008:1d06ac4ca23a
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Aug 15 01:03:16 2012 +0000

description:
Add EXSYS EX-41098-2 UARTs support. The clock frequency is
different from other card(s).
Fixes PR#46362 reported by Wolfgang Stukenbrock.

diffstat:

 sys/dev/pci/pucdata.c |  23 ++++++++++++++++++++---
 1 files changed, 20 insertions(+), 3 deletions(-)

diffs (44 lines):

diff -r a720d53cbcb3 -r 1d06ac4ca23a sys/dev/pci/pucdata.c
--- a/sys/dev/pci/pucdata.c     Wed Aug 15 00:16:06 2012 +0000
+++ b/sys/dev/pci/pucdata.c     Wed Aug 15 01:03:16 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pucdata.c,v 1.79 2012/08/07 19:38:28 msaitoh Exp $     */
+/*     $NetBSD: pucdata.c,v 1.80 2012/08/15 01:03:16 msaitoh 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.79 2012/08/07 19:38:28 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.80 2012/08/15 01:03:16 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1164,7 +1164,24 @@
            },
        },
 
-       /* Oxford Semiconductor OX16PCI958 UARTs */
+       /* EXSYS EX-41098-2 UARTs */
+       {   "EXSYS EX-41098-2 UARTs",
+           {   PCI_VENDOR_OXFORDSEMI,  PCI_PRODUCT_OXFORDSEMI_OX16PCI958,
+               PCI_VENDOR_OXFORDSEMI, 0x0671 },
+           {   0xffff, 0xffff, 0xffff, 0xffff  },
+           {
+               { PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ},
+               { PUC_PORT_TYPE_COM, 0x18, 0x08, COM_FREQ},
+               { PUC_PORT_TYPE_COM, 0x18, 0x10, COM_FREQ},
+               { PUC_PORT_TYPE_COM, 0x18, 0x18, COM_FREQ},
+               { PUC_PORT_TYPE_COM, 0x18, 0x20, COM_FREQ},
+               { PUC_PORT_TYPE_COM, 0x18, 0x28, COM_FREQ},
+               { PUC_PORT_TYPE_COM, 0x18, 0x30, COM_FREQ},
+               { PUC_PORT_TYPE_COM, 0x18, 0x38, COM_FREQ},
+           },
+       },
+
+       /* Oxford Semiconductor OX16PCI958 UARTs (wildcard)*/
        {   "Oxford Semiconductor OX16PCI958 UARTs",
            {   PCI_VENDOR_OXFORDSEMI,  PCI_PRODUCT_OXFORDSEMI_OX16PCI958,
                0, 0 },



Home | Main Index | Thread Index | Old Index