From 60e2115aff0cbd4b57ea5ee31fc9cdb5de500dae Mon Sep 17 00:00:00 2001 From: martin Date: Mon, 6 Mar 2006 08:26:20 +0000 Subject: Add support for Moxa CP104 serial card, from Olivier Cherrier --- sys/dev/pci/pucdata.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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 -__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 #include @@ -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 }, -- cgit