Source-Changes-HG archive

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

[src/trunk]: src Add three card support from Tsubai.



details:   https://anonhg.NetBSD.org/src/rev/b303520a8cd4
branches:  trunk
changeset: 756358:b303520a8cd4
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Jul 13 23:46:19 2010 +0000

description:
Add three card support from Tsubai.
 - Advantech PCI-1604UP (2S)
 - InnoSys Keyspan SX Pro (4S)
 - I-O DATA RSA-PCI2 (2S)

diffstat:

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

diffs (103 lines):

diff -r f6699e1cd5dc -r b303520a8cd4 share/man/man4/puc.4
--- a/share/man/man4/puc.4      Tue Jul 13 23:41:30 2010 +0000
+++ b/share/man/man4/puc.4      Tue Jul 13 23:46:19 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: puc.4,v 1.31 2010/07/08 18:55:42 msaitoh Exp $
+.\" $NetBSD: puc.4,v 1.32 2010/07/13 23:46:19 msaitoh 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 July 9, 2010
+.Dd July 14, 2010
 .Dt PUC 4
 .Os
 .Sh NAME
@@ -63,6 +63,7 @@
 .Bl -tag -width Dv -offset indent -compact
 .It Tn "ADDI-DATA APCI-7800 (8 port serial)"
 .It Tn "Actiontec 56K PCI Master"
+.It Tn "Advantech PCI-1604UP (2 port serial)"
 .It Tn "Advantech PCI-1610 (4 port serial)"
 .It Tn "Advantech PCI-1612 (4 port serial)"
 .It Tn "Advantech PCI-1620 (8 port serial)"
@@ -84,8 +85,11 @@
 .It Tn "EXAR XR17D158 (8 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)"
 .It Tn "I-O DATA RSA-PCI (2 port serial)"
-.It Tn "I-O DATA RSA-PCI2 (8 port serial)"
+.It Tn "I-O DATA RSA-PCI2 (2 port serial)"
+.It Tn "I-O DATA RSA-PCI2/P4 (4 port serial)"
+.It Tn "I-O DATA RSA-PCI2/P8 (8 port serial)"
 .It Tn "Lava Computers 2SP-PCI (single parallel)"
 .It Tn "Lava Computers Octopus (8 port serial)"
 .It Tn "Lava Computers dual serial"
diff -r f6699e1cd5dc -r b303520a8cd4 sys/dev/pci/pucdata.c
--- a/sys/dev/pci/pucdata.c     Tue Jul 13 23:41:30 2010 +0000
+++ b/sys/dev/pci/pucdata.c     Tue Jul 13 23:46:19 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pucdata.c,v 1.67 2010/07/11 00:11:05 mrg Exp $ */
+/*     $NetBSD: pucdata.c,v 1.68 2010/07/13 23:46:19 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.67 2010/07/11 00:11:05 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.68 2010/07/13 23:46:19 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -52,6 +52,16 @@
        /*
         * Advantech multi serial cards
         */
+       /* Advantech PCI-1604UP 2 UARTs based on OX16PCI952 */
+       {   "Advantech PCI-1604UP UARTs",
+           {   PCI_VENDOR_ADVANTECH,   PCI_PRODUCT_ADVANTECH_PCI1604, 0, 0 },
+           {   0xffff, 0xffff, 0x0,    0x0 },
+           {
+               { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 },
+               { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ * 8 },
+           },
+       },
+
        {   "Advantech PCI-1610 UARTs",
            {   PCI_VENDOR_ADVANTECH,   PCI_PRODUCT_ADVANTECH_PCI1600,
                PCI_PRODUCT_ADVANTECH_PCI1610,  0x0 },
@@ -747,6 +757,28 @@
            },
        },
 
+       /* InnoSys Keyspan SX Pro OX16PCI954 based 4 UARTs */
+       {   "InnoSys Keyspan SX Pro Serial Card",
+           {   PCI_VENDOR_OXFORDSEMI,  0x9501, PCI_VENDOR_INNOSYS, 0x5850 },
+           {   0xffff, 0xffff, 0xffff, 0xffff  },
+           {
+               { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 },
+               { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 },
+               { PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 8 },
+               { PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 8 },
+           },
+       },
+
+       /* I-O DATA RSA-PCI2 two UARTs based on OX16PCI954 */
+       {   "I-O DATA RSA-PCI2 UARTs",
+           {   PCI_VENDOR_OXFORDSEMI,  0x9501, PCI_VENDOR_IODATA, 0xc070 },
+           {   0xffff, 0xffff, 0xffff, 0xffff  },
+           {
+               { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 },
+               { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 },
+           },
+       },
+
        /* I-O DATA RSA-PCI2 four/eight(1-4) UARTs based on OX16PCI954 */
        {   "I-O DATA RSA-PCI2/P4 or P8 (1-4) UARTs",
            {   PCI_VENDOR_OXFORDSEMI,  0x9501, PCI_VENDOR_IODATA, 0xd007 },



Home | Main Index | Thread Index | Old Index