NetBSD Problem Report #39288
From www@NetBSD.org Mon Aug 4 20:39:30 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id EA90263B8A2
for <gnats-bugs@gnats.netbsd.org>; Mon, 4 Aug 2008 20:39:29 +0000 (UTC)
Message-Id: <20080804203929.6558563B853@narn.NetBSD.org>
Date: Mon, 4 Aug 2008 20:39:29 +0000 (UTC)
From: g.degroot@chello.nl
Reply-To: g.degroot@chello.nl
To: gnats-bugs@NetBSD.org
Subject: puc: Add support for another MOXA card
X-Send-Pr-Version: www-1.0
>Number: 39288
>Category: kern
>Synopsis: puc: Add support for another MOXA card
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: msaitoh
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Aug 04 20:40:01 +0000 2008
>Closed-Date: Thu Jul 08 19:34:22 +0000 2010
>Last-Modified: Thu Jul 08 19:34:22 +0000 2010
>Originator: Geert Jan de Groot
>Release: NetBSD-4.0
>Organization:
>Environment:
NetBSD lisa.esrac.ele.tue.nl 4.0 NetBSD 4.0 (LISA) #0: Sun Aug 3 23:42:42 CEST 2008 root@lisa.esrac.ele.tue.nl:/u/usr.src/EXP/sys/arch/i386/compile/LISA i386
>Description:
Moxa has a new hardware version of their 8-port serial PCI card.
Unfortunately, they bumped up the PCI device ID so the stock puc-driver
doesn't recognise it.
Please add the following diff so I don't need to patch for the next release.
[lisa-root] pci #pwd
/usr/src/sys/dev/pci
[lisa-root] pci #diff -c pucdata.c.FCS pucdata.c
*** pucdata.c.FCS Sun Nov 4 02:22:41 2007
--- pucdata.c Sun Aug 3 23:36:16 2008
***************
*** 1003,1008 ****
--- 1003,1024 ----
},
},
+ /* Moxa Technologies Co., Ltd. PCI I/O Card 8S RS232 */
+ { "Moxa Technologies, SmartIO CP-168U V2.0",
+ { 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 },
+ },
+ },
+
/* NetMos 1P PCI : 1P */
{ "NetMos NM9805 1284 Printer port",
{ 0x9710, 0x9805, 0, 0 },
I realize the naming is different from other cards; the naming used
is what is printed on the box.
>How-To-Repeat:
Install card
>Fix:
See description above. Sorry to be terse, but a context-diff can't be bad.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->msaitoh
Responsible-Changed-By: msaitoh@NetBSD.org
Responsible-Changed-When: Thu, 08 Jul 2010 19:34:22 +0000
Responsible-Changed-Why:
mine.
State-Changed-From-To: open->closed
State-Changed-By: msaitoh@NetBSD.org
State-Changed-When: Thu, 08 Jul 2010 19:34:22 +0000
State-Changed-Why:
The patch was applied in -current.
Thanks.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.