Subject: kern/18478: support for VS-Com PCI-210H 2 serial 1 parallel card
To: None <gnats-bugs@gnats.netbsd.org>
From: Christian Groessler <cpg@aladdin.de>
List: netbsd-bugs
Date: 09/30/2002 22:20:45
>Number:         18478
>Category:       kern
>Synopsis:       support for VS-Com PCI-210H 2 serial 1 parallel card
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 30 13:22:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Christian Groessler
>Release:        NetBSD 1.6
>Organization:
	
>Environment:
	
	
System: NetBSD power.cnet.aladdin.de 1.6 NetBSD 1.6 (P1) #8: Mon Sep 30 21:59:58 CEST 2002 chris@power.cnet.aladdin.de:/local/netbsdsrc-1.6/src/sys/arch/macppc/compile/P1 macppc
Architecture: powerpc
Machine: macppc
>Description:
	support for the VS-Com PCI-210H PCI communications card (2
serial ports and 1 parallel port)
>How-To-Repeat:
	n.a.
>Fix:
This patch makes the card known to the puc driver:

Index: pucdata.c
===================================================================
RCS file: /main/syssrc/sys/dev/pci/pucdata.c,v
retrieving revision 1.27.4.3
diff -p -u -r1.27.4.3 pucdata.c
--- pucdata.c	2002/08/02 12:57:50	1.27.4.3
+++ pucdata.c	2002/09/30 20:17:37
@@ -682,6 +682,21 @@ const struct puc_device_description puc_
                 { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 },
             },
         },
+        {   "Titan PCI-010HV2",
+            {   0x14d2, 0xe001, 0,      0       },
+            {   0xffff, 0xffff, 0,      0       },
+            {
+		{ PUC_PORT_TYPE_LPT, 0x10, 0x00, 0x00 },
+            },
+        },
+        {   "Titan PCI-200HV2",
+            {   0x14d2, 0xe020, 0,      0       },
+            {   0xffff, 0xffff, 0,      0       },
+            {
+                { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 },
+                { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ * 8 },
+            },
+        },
 	{   "Titan PCI-800L",
 	    {	0x14d2,	0x8080,	0,	0	},
 	    {	0xffff,	0xffff,	0,	0	},


The parallel and serial parts appear as two devices/functions. I got
the names (PCI-010HV2 and PCI-200HV2) from the acompanying Linux
driver. The card itself as stated on the package is called PCI-210H.

>Release-Note:
>Audit-Trail:
>Unformatted: