Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jan 2004 15:13:32 -0500
From:      John Baldwin <jhb@FreeBSD.org>
To:        "Crist J. Clark" <cjc@freebsd.org>, "Crist J. Clark" <cristjc@comcast.net>, current@freebsd.org
Subject:   Re: PCI Dual Port Serial Card
Message-ID:  <200401081513.32070.jhb@FreeBSD.org>
In-Reply-To: <20040108183939.GA59263@blossom.cjclark.org>
References:  <20040108183939.GA59263@blossom.cjclark.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 08 January 2004 01:39 pm, Crist J. Clark wrote:
> I've got a StarTech.com two port PCI card, 16C950, which is seems to
> be a rebranded Oxford Semiconductor OX16PCI954 PCI UART, listed as
> supported in the release notes for 5.1. The system in question is
> 5.1-p10.
>
> I've compiled the puc(4) driver into the kernel, and the dmesg(8)
> looks like so,
>
>   sio0: <Oxford Semiconductor PCI Dual Port Serial> port
> 0xdf40-0xdf5f,0xdf60-0xdf67 mem 0xfeacd000-0feacdfff,0xfeace000,0xfeacefff
> irq 3 at device 12.0 on pci2 sio0: moving to sio1
>   sio1: type 16550A
>
> One of the ports in the card works fine as sio1, as does the built-in
> serial port, sio0, but the second port in the card doesn't show up
> anywhere.
>
> What do I need to do to get the system to find the second port on the
> card?

Try this:

Index: puc/pucdata.c
===================================================================
RCS file: /usr/cvs/src/sys/dev/puc/pucdata.c,v
retrieving revision 1.29
diff -u -r1.29 pucdata.c
--- puc/pucdata.c	31 Dec 2003 17:51:18 -0000	1.29
+++ puc/pucdata.c	8 Jan 2004 20:12:46 -0000
@@ -929,6 +929,17 @@
 	    },
 	},
 
+	/* Oxford Semiconductor OX16PCI954 PCI UARTs */
+	{   "Oxford Semiconductor OX16PCI954 UARTs",
+	    NULL,
+	    {	0x1415,	0x9521,	0,	0	},
+	    {	0xffff,	0xffff,	0,	0	},
+	    {
+		{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
+		{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ },
+	    },
+	},
+
 	/* Oxford Semiconductor OX16PCI954 PCI Parallel port */
 	{   "Oxford Semiconductor OX16PCI954 Parallel port",
 	    NULL,
Index: sio/sio_pci.c
===================================================================
RCS file: /usr/cvs/src/sys/dev/sio/sio_pci.c,v
retrieving revision 1.15
diff -u -r1.15 sio_pci.c
--- sio/sio_pci.c	28 Nov 2003 05:28:28 -0000	1.15
+++ sio/sio_pci.c	8 Jan 2004 20:05:52 -0000
@@ -74,7 +74,6 @@
 	{ 0x01101407, "Koutech IOFLEX-2S PCI Dual Port Serial", 0x10 },
 	{ 0x01111407, "Koutech IOFLEX-2S PCI Dual Port Serial", 0x10 },
 	{ 0x048011c1, "Lucent kermit based PCI Modem", 0x14 },
-	{ 0x95211415, "Oxford Semiconductor PCI Dual Port Serial", 0x10 },
 	{ 0x7101135e, "SeaLevel Ultra 530.PCI Single Port Serial", 0x18 },
 	{ 0x0000151f, "SmartLink 5634PCV SurfRider", 0x10 },
 	{ 0x0103115d, "Xircom Cardbus modem", 0x10 },


-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401081513.32070.jhb>