From regnauld@vinyl.catpipe.net  Fri Jun 20 04:48:42 2003
Return-Path: <regnauld@vinyl.catpipe.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7EFC837B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Jun 2003 04:48:42 -0700 (PDT)
Received: from vinyl.catpipe.net (vinyl.catpipe.net [195.249.214.189])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0483743F75
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Jun 2003 04:48:42 -0700 (PDT)
	(envelope-from regnauld@vinyl.catpipe.net)
Received: by vinyl.catpipe.net (Postfix, from userid 1006)
	id 56AD22E21; Fri, 20 Jun 2003 13:50:08 +0200 (CEST)
Message-Id: <20030620115008.56AD22E21@vinyl.catpipe.net>
Date: Fri, 20 Jun 2003 13:50:08 +0200 (CEST)
From: Phil Regnauld <regnauld@catpipe.net>
Reply-To: Phil Regnauld <regnauld@catpipe.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Add support for Moxa CP-168U PCI serial adapter
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 20 04:50:12 PDT 2003
>Closed-Date:    Thu Aug 14 07:15:53 PDT 2003
>Last-Modified:  Thu Aug 14 07:15:53 PDT 2003
>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@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:
State-Changed-From-To: open->closed 
State-Changed-By: pb 
State-Changed-When: Thu Aug 14 07:15:35 PDT 2003 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53548 
>Unformatted:
