kern/53548: Add support for Moxa CP-168U PCI serial adapter

Phil Regnauld regnauld at catpipe.net
Fri Jun 20 04:50:14 PDT 2003


>Number:         53548
>Category:       kern
>Synopsis:       Add support for Moxa CP-168U PCI serial adapter
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 20 04:50:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Phil Regnauld
>Release:        FreeBSD 4.8-RC i386
>Organization:
catpipe Systems ApS
>Environment:
System: FreeBSD vinyl.catpipe.net 4.8-RC FreeBSD 4.8-RC #1: Sat Mar 15 21:37:45 CET 2003 root at chef.catpipe.net:/data/obj/data/src/sys/CATPIPE-IPSEC i386


>Description:
	The attached patch below adds support for the newer Moxa PCI 8-port, 16550-compatible
	based CP-168U board.  It initializes and attaches in the same way as the older
	(but higher performance) C168H.  The only difference is the board ID, which
	is 0x1681.

	The diff is based on 5.1-R, but applies to 4.8 as well.

>How-To-Repeat:
	n/a

>Fix:
--- pucdata.c.orig	Fri Jun 20 13:44:11 2003
+++ pucdata.c	Fri Jun 20 13:44:47 2003
@@ -877,6 +877,23 @@
 	    },
 	},
 
+	/* Moxa Technologies Co., Ltd. PCI I/O Card 8S RS232 */
+	{   "Moxa Technologies, CP-168U/PCI",
+	    {	0x1393,	0x1681,	0,	0	},
+	    {	0xffff,	0xffff,	0,	0,	},
+	    {
+		{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ * 8 },
+		{ PUC_PORT_TYPE_COM, 0x18, 0x08, COM_FREQ * 8 },
+		{ PUC_PORT_TYPE_COM, 0x18, 0x10, COM_FREQ * 8 },
+		{ PUC_PORT_TYPE_COM, 0x18, 0x18, COM_FREQ * 8 },
+		{ PUC_PORT_TYPE_COM, 0x18, 0x20, COM_FREQ * 8 },
+		{ PUC_PORT_TYPE_COM, 0x18, 0x28, COM_FREQ * 8 },
+		{ PUC_PORT_TYPE_COM, 0x18, 0x30, COM_FREQ * 8 },
+		{ PUC_PORT_TYPE_COM, 0x18, 0x38, COM_FREQ * 8 },
+	    },
+	},
+
+
 	{   "Avlab Technology, PCI IO 2S",
 	    {	0x14db,	0x2130,	0,	0	},
 	    {	0xffff,	0xffff,	0,	0	},
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list