From owner-freebsd-bugs@FreeBSD.ORG Fri Jun 20 04:50:14 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4798D37B401 for ; Fri, 20 Jun 2003 04:50:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59E1E43F75 for ; Fri, 20 Jun 2003 04:50:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5KBoDUp014750 for ; Fri, 20 Jun 2003 04:50:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5KBoDwR014749; Fri, 20 Jun 2003 04:50:13 -0700 (PDT) Resent-Date: Fri, 20 Jun 2003 04:50:13 -0700 (PDT) Resent-Message-Id: <200306201150.h5KBoDwR014749@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Phil Regnauld Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EFC837B401 for ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/53548: Add support for Moxa CP-168U PCI serial adapter X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Phil Regnauld List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 11:50:14 -0000 >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@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: