diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-01-22 13:15:21 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-01-22 13:15:21 +0000 |
commit | 12a980adbe8fe65dfb70f202f17140db2b9e4e89 (patch) | |
tree | 96e9c842e9f97bd9fae74570e1eef4948812aa35 /sys | |
parent | c5cc5c904744d778fe416ac058108fcf53f96d3d (diff) |
Add support for Moxa CP-104JU, 4xrs232
from/tested by Joerg Niendorf in pr 6053.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/pucdata.c | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/sys/dev/pci/pucdata.c b/sys/dev/pci/pucdata.c index 8becaa802e3..8d5f88eccff 100644 --- a/sys/dev/pci/pucdata.c +++ b/sys/dev/pci/pucdata.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pucdata.c,v 1.59 2008/11/25 12:37:19 deraadt Exp $ */ +/* $OpenBSD: pucdata.c,v 1.60 2009/01/22 13:15:20 jsg Exp $ */ /* $NetBSD: pucdata.c,v 1.6 1999/07/03 05:55:23 cgd Exp $ */ /* @@ -1133,8 +1133,20 @@ const struct puc_device_description puc_devices[] = { }, /* Moxa Technologies Co., Ltd. PCI I/O Card 4S RS232 */ - { /* "Moxa Technologies, SmartIO CP104/PCI" */ - { PCI_VENDOR_MOXA, PCI_PRODUCT_MOXA_CP104, 0, 0 }, + { /* "Moxa Technologies, SmartIO CP104UL/PCI" */ + { PCI_VENDOR_MOXA, PCI_PRODUCT_MOXA_CP104UL, 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 4S RS232 */ + { /* "Moxa Technologies, SmartIO CP104JU/PCI" */ + { PCI_VENDOR_MOXA, PCI_PRODUCT_MOXA_CP104JU, 0, 0 }, { 0xffff, 0xffff, 0, 0 }, { { PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ * 8 }, |