summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2006-03-06 08:26:20 +0000
committermartin <martin@NetBSD.org>2006-03-06 08:26:20 +0000
commit60e2115aff0cbd4b57ea5ee31fc9cdb5de500dae (patch)
tree99adc1f98e14550c1d5246ec270d9c792d711778 /sys
parent013227eddd4e19e8bfc9be0b6f4937b5d22c24ae (diff)
Add support for Moxa CP104 serial card, from Olivier Cherrier
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/pucdata.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/sys/dev/pci/pucdata.c b/sys/dev/pci/pucdata.c
index 0e8d1585352..f41d3389177 100644
--- a/sys/dev/pci/pucdata.c
+++ b/sys/dev/pci/pucdata.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pucdata.c,v 1.42 2006/01/24 20:10:55 christos Exp $ */
+/* $NetBSD: pucdata.c,v 1.43 2006/03/06 08:26:20 martin Exp $ */
/*
* Copyright (c) 1998, 1999 Christopher G. Demetriou. All rights reserved.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.42 2006/01/24 20:10:55 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.43 2006/03/06 08:26:20 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -906,6 +906,18 @@ const struct puc_device_description puc_devices[] = {
},
},
+ /* Moxa Technologies Co., Ltd. PCI I/O Card 4S RS232 */
+ { "Moxa Technologies, SmartIO CP104/PCI",
+ { 0x1393, 0x1041, 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 },
+ },
+ },
+
/* NetMos 1P PCI : 1P */
{ "NetMos NM9805 1284 Printer port",
{ 0x9710, 0x9805, 0, 0 },