NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/39288: puc: Add support for another MOXA card
>Number: 39288
>Category: kern
>Synopsis: puc: Add support for another MOXA card
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Aug 04 20:40:01 +0000 2008
>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@localhost:/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.
Home |
Main Index |
Thread Index |
Old Index