summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2016-01-15 18:57:30 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2016-01-15 18:57:30 +0000
commit23fbbe784579e167eba94b4346674d144999ff57 (patch)
tree81e59620714ce46500cde8186f3822fc5b9bb1c7 /sys
parentcd097433801d41379e598d683ae9c98616c78b6b (diff)
Moxa CP-168U support; from Olaf Schreck
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/pucdata.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/sys/dev/pci/pucdata.c b/sys/dev/pci/pucdata.c
index 97af05d0e8f..da2d7dd4dd1 100644
--- a/sys/dev/pci/pucdata.c
+++ b/sys/dev/pci/pucdata.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pucdata.c,v 1.100 2015/12/26 22:16:12 kettenis Exp $ */
+/* $OpenBSD: pucdata.c,v 1.101 2016/01/15 18:57:27 deraadt Exp $ */
/* $NetBSD: pucdata.c,v 1.6 1999/07/03 05:55:23 cgd Exp $ */
/*
@@ -1423,6 +1423,22 @@ const struct puc_device_description puc_devs[] = {
},
},
+ /* Moxa Technologies Co., Ltd. PCI I/O Card 8S RS232 */
+ { /* "Moxa Technologies, CP-168U" */
+ { PCI_VENDOR_MOXA, PCI_PRODUCT_MOXA_CP168U, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_COM_POW2(3), 0x18, 0x0000 },
+ { PUC_COM_POW2(3), 0x18, 0x0008 },
+ { PUC_COM_POW2(3), 0x18, 0x0010 },
+ { PUC_COM_POW2(3), 0x18, 0x0018 },
+ { PUC_COM_POW2(3), 0x18, 0x0020 },
+ { PUC_COM_POW2(3), 0x18, 0x0028 },
+ { PUC_COM_POW2(3), 0x18, 0x0030 },
+ { PUC_COM_POW2(3), 0x18, 0x0038 },
+ },
+ },
+
/* NetMos 1P PCI: 1P */
{ /* "NetMos NM9805 1284 Printer Port" */
{ PCI_VENDOR_NETMOS, PCI_PRODUCT_NETMOS_NM9805, 0, 0 },