From 23fbbe784579e167eba94b4346674d144999ff57 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 15 Jan 2016 18:57:30 +0000 Subject: Moxa CP-168U support; from Olaf Schreck --- sys/dev/pci/pucdata.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'sys') 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 }, -- cgit v1.2.3