summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2003-06-25 09:06:07 +0000
committerhenning <henning@openbsd.org>2003-06-25 09:06:07 +0000
commita64246435f35ef8ccca8a4761ec025c2d805b194 (patch)
treeca1623a0164b094ef3206986c7f6b3dcc6de4a81
parentregen (diff)
downloadwireguard-openbsd-a64246435f35ef8ccca8a4761ec025c2d805b194.tar.xz
wireguard-openbsd-a64246435f35ef8ccca8a4761ec025c2d805b194.zip
support Moxa C104H
from Raul Aldaz <raul.aldaz at grupocarreras.com> with minor polishing by me, thanks!
-rw-r--r--sys/dev/pci/pucdata.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/dev/pci/pucdata.c b/sys/dev/pci/pucdata.c
index 7e99d38bca1..d545bc0c359 100644
--- a/sys/dev/pci/pucdata.c
+++ b/sys/dev/pci/pucdata.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pucdata.c,v 1.25 2003/02/11 19:20:28 mickey Exp $ */
+/* $OpenBSD: pucdata.c,v 1.26 2003/06/25 09:06:07 henning Exp $ */
/* $NetBSD: pucdata.c,v 1.6 1999/07/03 05:55:23 cgd Exp $ */
/*
@@ -898,6 +898,18 @@ const struct puc_device_description puc_devices[] = {
},
},
+ /* Moxa Technologies Co., Ltd. PCI I/O Card 4S RS232/422/485 */
+ { /* "Moxa Technologies, SmartIO C104H/PCI" */
+ { PCI_VENDOR_MOXA, PCI_PRODUCT_MOXA_C104H, 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 },
+ },
+ },
+
/* Moxa Technologies Co., Ltd. PCI I/O Card 8S RS232 */
{ /* "Moxa Technologies, Industio C168H" */
{ PCI_VENDOR_MOXA, PCI_PRODUCT_MOXA_C168H, 0, 0 },