FreeBSD and multi-port serial cards

Andy Miller andy at trit.org
Thu May 15 18:32:48 UTC 2008


I have a multi-port serial card that uses the puc driver. It doesn't work
out of the box, but I found a patch on the hackers list that claims to
fix the problem. My problem now is that it seems that the code for this
driver has been completely redone in FreeBSD 7.0. Can someone help me
translate the patch below to work on a 7.0 system?

--- pucdata.c.org	Sat Dec 16 00:31:37 2006
+++ pucdata.c	Thu Mar 22 13:03:32 2007
@@ -865,6 +865,17 @@
 	    },
 	},
 
+	{   "Oxford Semiconductor Ltd OX16PCI954 Quad UART",
+	    {	0x1415, 0x9501, 0x131f, 0x2050 },
+	    {	0xffff, 0xffff, 0xffff, 0xffff },
+            {
+		{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 10 },
+		{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 10 },
+		{ PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 10 },
+		{ PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 10 },
+	    },
+	},
+
 	{   "SIIG Cyber 4S PCI 16C650 (20x family)",
 	    {	0x1415, 0x9501, 0x131f, 0x2051 },
 	    {	0xffff, 0xffff, 0xffff, 0xffff },

Thanks.

--
Andy Miller
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080515/e11d8da0/attachment.pgp


More information about the freebsd-questions mailing list