Subject: Re: how to add PCI card?
To: None <netbsd-help@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 10/14/2004 22:15:00
--IrhDeMKUP4DT/M7F
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Oct 14, 2004 at 09:46:10PM +0200, Jukka Salmi wrote:
> I didn't try to use the card on a running Linux system, I only had a
> look at the Linux sources. Furthermore the manufacturer[1] offers
> Linux drivers[2], but I guess they are not neede with recent Linux
> kernels anymore.
> I could try to use the card with Linux and report results, if that
> helps (but unfortunately not until tomorrow).
> 
> 
> Jukka
> 
> [1] http://www.visionsystems.de/
> [2] http://ftp.visionsystems.de/multiio/linux/driver/

OK, the 2.2.x driver has a table which contains the information. The attached
patch should work.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--

--IrhDeMKUP4DT/M7F
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="puc.diff"

Index: pucdata.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pucdata.c,v
retrieving revision 1.37
diff -u -r1.37 pucdata.c
--- pucdata.c	4 Jul 2004 10:02:03 -0000	1.37
+++ pucdata.c	14 Oct 2004 20:14:03 -0000
@@ -668,6 +668,16 @@
 	    },
 	},
 
+	/* VScom PCI-200: 2S */
+	{   "VScom PCI-400",
+	    {	0x10b5,	0x1103,	0x10b5,	0x1103	},
+	    {	0xffff,	0xffff,	0xffff,	0xffff	},
+	    {
+		{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ * 8 },
+		{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ * 8 },
+	    },
+	},
+
 	/* VScom PCI-400: 4S */
 	{   "VScom PCI-400",
 	    {	0x10b5,	0x1077,	0x10b5,	0x1077	},

--IrhDeMKUP4DT/M7F--