Source-Changes-HG archive

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

[src/trunk]: src Add support for 36 more SIIG PCI serial/parallel cards (for ...



details:   https://anonhg.NetBSD.org/src/rev/a8e36d15ab22
branches:  trunk
changeset: 474299:a8e36d15ab22
user:      cgd <cgd%NetBSD.org@localhost>
date:      Sat Jul 03 05:38:05 1999 +0000

description:
Add support for 36 more SIIG PCI serial/parallel cards (for a total of 37).
This means that all SIIG PCI serial/parallel cards (described on their
web site as "I/O boards" as of July 2, 1999) should now be supported.

diffstat:

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

diffs (truncated from 476 to 300 lines):

diff -r 9f638f97eb64 -r a8e36d15ab22 share/man/man4/puc.4
--- a/share/man/man4/puc.4      Sat Jul 03 05:21:47 1999 +0000
+++ b/share/man/man4/puc.4      Sat Jul 03 05:38:05 1999 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: puc.4,v 1.5 1999/03/16 01:19:17 garbled Exp $
+.\"    $NetBSD: puc.4,v 1.6 1999/07/03 05:38:05 cgd Exp $
 .\"
 .\" Copyright (c) 1998 Christopher G. Demetriou.  All rights reserved.
 .\"
@@ -59,7 +59,14 @@
 .Bl -tag -width -offset indent -compact
 .It Tn "Dolphin 4014 (dual parallel)"
 .It Tn "Dolphin 4035 (dual serial)"
-.It Tn "SIIG CyberSerial PCI (single serial)"
+.It Tn "SIIG Cyber 2P1S PCI (dual parallel and single serial)"
+.It Tn "SIIG Cyber 2S1P PCI (dual serial and single parallel)"
+.It Tn "SIIG Cyber 4S PCI (quad serial)"
+.It Tn "SIIG Cyber I/O PCI (single serial and single parallel)"
+.It Tn "SIIG Cyber Parallel Dual PCI (dual parallel)"
+.It Tn "SIIG Cyber Parallel PCI (single parallel)"
+.It Tn "SIIG Cyber Serial Dual PCI (dual serial)"
+.It Tn "SIIG Cyber Serial PCI (single serial)"
 .It Tn "VScom PCI-800 (8 port serial, probably OEM)"
 .El
 .Pp
@@ -69,9 +76,6 @@
 .It Tn "Dolphin 4006 (single parallel)"
 .It Tn "Dolphin 4025 (single serial)"
 .It Tn "Dolphin 4078 (dual serial and single parallel)"
-.It Tn "SIIG CyberParallel PCI (single parallel)"
-.It Tn "SIIG CyberParallel Dual PCI (dual parallel)"
-.It Tn "SIIG Cyber 2S1P PCI (dual serial and single parallel)"
 .El
 .Pp
 but support for them (and for similar cards) should be trivial to add.
diff -r 9f638f97eb64 -r a8e36d15ab22 sys/dev/pci/pucdata.c
--- a/sys/dev/pci/pucdata.c     Sat Jul 03 05:21:47 1999 +0000
+++ b/sys/dev/pci/pucdata.c     Sat Jul 03 05:38:05 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pucdata.c,v 1.4 1999/02/06 06:55:15 cgd Exp $  */
+/*     $NetBSD: pucdata.c,v 1.5 1999/07/03 05:38:05 cgd Exp $  */
 
 /*
  * Copyright (c) 1998, 1999 Christopher G. Demetriou.  All rights reserved.
@@ -33,8 +33,6 @@
 /*
  * PCI "universal" communications card driver configuration data (used to
  * match/attach the cards).
- *
- * Author: Christopher G. Demetriou, May 14, 1998.
  */
 
 #include <sys/param.h>
@@ -91,23 +89,23 @@
         * XXX Dolphin 4078 (dual serial and single parallel)
         */
 
+
        /*
-        * XXX no entry because I have no data:
-        * XXX SIIG CyberParallel PCI (single parallel)
+        * SIIG Boards.
+        *
+        * SIIG provides documentation for their boards at:
+        * <URL:http://www.siig.com/driver.htm>
+        *
+        * Please excuse the weird ordering, it's the order they
+        * use in their documentation.
         */
 
        /*
-        * XXX no entry because I have no data:
-        * XXX SIIG CyberParallel Dual PCI (dual parallel)
+        * SIIG "10x" family boards.
         */
 
-       /*
-        * SIIG CyberSerial PCI (single serial port) card.  PLX 9052, with
-        * a more sensible EEPROM setup that reports "normal"-looking
-        * vendor and product IDs, and sensible class/subclass info,
-        * communications/serial (0x07/0x00), interface 0x02.
-        */
-       {   "SIIG CyberSerial PCI",
+       /* SIIG Cyber Serial PCI 16C550 (10x family): 1S */
+       {   "SIIG Cyber Serial PCI 16C550 (10x family)",
            {   0x131f, 0x1000, 0,      0       },
            {   0xffff, 0xffff, 0,      0       },
            {
@@ -115,11 +113,385 @@
            },
        },
 
+       /* SIIG Cyber Serial PCI 16C650 (10x family): 1S */
+       {   "SIIG Cyber Serial PCI 16C650 (10x family)",
+           {   0x131f, 0x1001, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x18, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber Serial PCI 16C850 (10x family): 1S */
+       {   "SIIG Cyber Serial PCI 16C850 (10x family)",
+           {   0x131f, 0x1002, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x18, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber I/O PCI 16C550 (10x family): 1S, 1P */
+       {   "SIIG Cyber I/O PCI 16C550 (10x family)",
+           {   0x131f, 0x1010, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x18, 0x00 },
+               { PUC_PORT_TYPE_LPT, 0x1c, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber I/O PCI 16C650 (10x family): 1S, 1P */
+       {   "SIIG Cyber I/O PCI 16C650 (10x family)",
+           {   0x131f, 0x1011, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x18, 0x00 },
+               { PUC_PORT_TYPE_LPT, 0x1c, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber I/O PCI 16C850 (10x family): 1S, 1P */
+       {   "SIIG Cyber I/O PCI 16C850 (10x family)",
+           {   0x131f, 0x1012, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x18, 0x00 },
+               { PUC_PORT_TYPE_LPT, 0x1c, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber Parallel PCI (10x family): 1P */
+       {   "SIIG Cyber Parallel PCI (10x family)",
+           {   0x131f, 0x1020, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_LPT, 0x18, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber Parallel Dual PCI (10x family): 2P */
+       {   "SIIG Cyber Parallel Dual PCI (10x family)",
+           {   0x131f, 0x1021, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_LPT, 0x18, 0x00 },
+               { PUC_PORT_TYPE_LPT, 0x20, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber Serial Dual PCI 16C550 (10x family): 2S */
+       {   "SIIG Cyber Serial Dual PCI 16C550 (10x family)",
+           {   0x131f, 0x1030, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x18, 0x00 },
+               { PUC_PORT_TYPE_COM, 0x1c, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber Serial Dual PCI 16C650 (10x family): 2S */
+       {   "SIIG Cyber Serial Dual PCI 16C650 (10x family)",
+           {   0x131f, 0x1031, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x18, 0x00 },
+               { PUC_PORT_TYPE_COM, 0x1c, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber Serial Dual PCI 16C850 (10x family): 2S */
+       {   "SIIG Cyber Serial Dual PCI 16C850 (10x family)",
+           {   0x131f, 0x1032, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x18, 0x00 },
+               { PUC_PORT_TYPE_COM, 0x1c, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber 2S1P PCI 16C550 (10x family): 2S, 1P */
+       {   "SIIG Cyber 2S1P PCI 16C550 (10x family)",
+           {   0x131f, 0x1034, 0,      0       },      /* XXX really? */
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x18, 0x00 },
+               { PUC_PORT_TYPE_COM, 0x1c, 0x00 },
+               { PUC_PORT_TYPE_LPT, 0x20, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber 2S1P PCI 16C650 (10x family): 2S, 1P */
+       {   "SIIG Cyber 2S1P PCI 16C650 (10x family)",
+           {   0x131f, 0x1035, 0,      0       },      /* XXX really? */
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x18, 0x00 },
+               { PUC_PORT_TYPE_COM, 0x1c, 0x00 },
+               { PUC_PORT_TYPE_LPT, 0x20, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber 2S1P PCI 16C850 (10x family): 2S, 1P */
+       {   "SIIG Cyber 2S1P PCI 16C850 (10x family)",
+           {   0x131f, 0x1036, 0,      0       },      /* XXX really? */
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x18, 0x00 },
+               { PUC_PORT_TYPE_COM, 0x1c, 0x00 },
+               { PUC_PORT_TYPE_LPT, 0x20, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber 4S PCI 16C550 (10x family): 4S */
+       {   "SIIG Cyber 4S PCI 16C550 (10x family)",
+           {   0x131f, 0x1050, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x18, 0x00 },
+               { PUC_PORT_TYPE_COM, 0x1c, 0x00 },
+               { PUC_PORT_TYPE_COM, 0x20, 0x00 },
+               { PUC_PORT_TYPE_COM, 0x24, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber 4S PCI 16C650 (10x family): 4S */
+       {   "SIIG Cyber 4S PCI 16C650 (10x family)",
+           {   0x131f, 0x1051, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x18, 0x00 },
+               { PUC_PORT_TYPE_COM, 0x1c, 0x00 },
+               { PUC_PORT_TYPE_COM, 0x20, 0x00 },
+               { PUC_PORT_TYPE_COM, 0x24, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber 4S PCI 16C850 (10x family): 4S */
+       {   "SIIG Cyber 4S PCI 16C850 (10x family)",
+           {   0x131f, 0x1052, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x18, 0x00 },
+               { PUC_PORT_TYPE_COM, 0x1c, 0x00 },
+               { PUC_PORT_TYPE_COM, 0x20, 0x00 },
+               { PUC_PORT_TYPE_COM, 0x24, 0x00 },
+           },
+       },
+
        /*
-        * XXX no entry because I have no data:
-        * XXX SIIG Cyber 2S1P PCI (dual serial and single parallel)
+        * SIIG "20x" family boards.
         */
 
+       /* SIIG Cyber Parallel PCI (20x family): 1P */
+       {   "SIIG Cyber Parallel PCI (20x family)",
+           {   0x131f, 0x2020, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_LPT, 0x10, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber Parallel Dual PCI (20x family): 2P */
+       {   "SIIG Cyber Parallel Dual PCI (20x family)",
+           {   0x131f, 0x2021, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_LPT, 0x10, 0x00 },
+               { PUC_PORT_TYPE_LPT, 0x18, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber 2P1S PCI 16C550 (20x family): 1S, 2P */
+       {   "SIIG Cyber 2P1S PCI 16C550 (20x family)",
+           {   0x131f, 0x2040, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x10, 0x00 },
+               { PUC_PORT_TYPE_LPT, 0x14, 0x00 },
+               { PUC_PORT_TYPE_LPT, 0x1c, 0x00 },
+           },
+       },
+
+       /* SIIG Cyber 2P1S PCI 16C650 (20x family): 1S, 2P */
+       {   "SIIG Cyber 2P1S PCI 16C650 (20x family)",
+           {   0x131f, 0x2041, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x10, 0x00 },



Home | Main Index | Thread Index | Old Index