From d2dbed4cab9cf145419abb7c70b010f89a4d79b9 Mon Sep 17 00:00:00 2001 From: Marc Balmer Date: Fri, 8 Jun 2007 12:44:42 +0000 Subject: Add support for the Digi Neo 8-port serial adapter. Patch from Pedro Almeida , with some minor changes by me (man page). ok jsg --- share/man/man4/puc.4 | 7 ++++--- sys/dev/pci/pucdata.c | 17 ++++++++++++++++- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/share/man/man4/puc.4 b/share/man/man4/puc.4 index f9a2a47a3af..3d88289a66c 100644 --- a/share/man/man4/puc.4 +++ b/share/man/man4/puc.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: puc.4,v 1.36 2007/05/31 19:19:51 jmc Exp $ +.\" $OpenBSD: puc.4,v 1.37 2007/06/08 12:44:41 mbalmer Exp $ .\" $NetBSD: puc.4,v 1.7 1999/07/03 05:55:23 cgd Exp $ .\" .\" Copyright (c) 1998 Christopher G. Demetriou. All rights reserved. @@ -29,7 +29,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: June 8 2007 $ .Dt PUC 4 .Os .Sh NAME @@ -69,7 +69,8 @@ The driver currently supports the following cards: .It Tn "Decision Computer Inc PCCOM PCI 2 Port (2 port serial)" .It Tn "Decision Computer Inc PCCOM PCI 4 Port (4 port serial)" .It Tn "Decision Computer Inc PCCOM PCI 8 Port (8 port serial)" -.It Tn "Digi International Digi Neo 4 (quad serial)" +.It Tn "Digi International Digi Neo 4 (4-port serial)" +.It Tn "Digi International Digi Neo 8 (8-port serial)" .It Tn "Dolphin Peripherals 4014 (dual parallel)" .It Tn "Dolphin Peripherals 4035 (dual serial)" .It Tn "Exsys EX-41098 (4 port serial)" diff --git a/sys/dev/pci/pucdata.c b/sys/dev/pci/pucdata.c index 835b99e8966..aef3b31efb3 100644 --- a/sys/dev/pci/pucdata.c +++ b/sys/dev/pci/pucdata.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pucdata.c,v 1.47 2007/03/18 15:31:15 mickey Exp $ */ +/* $OpenBSD: pucdata.c,v 1.48 2007/06/08 12:44:41 mbalmer Exp $ */ /* $NetBSD: pucdata.c,v 1.6 1999/07/03 05:55:23 cgd Exp $ */ /* @@ -1325,6 +1325,21 @@ const struct puc_device_description puc_devices[] = { }, }, + /* Digi International Digi Neo 8 Serial */ + { + { PCI_VENDOR_DIGI, PCI_PRODUCT_DIGI_NEO8, 0, 0 }, + { 0xffff, 0xffff, 0, 0 }, + { + { PUC_PORT_TYPE_COM, 0x10, 0x0000, COM_FREQ * 8 }, + { PUC_PORT_TYPE_COM, 0x10, 0x0200, COM_FREQ * 8 }, + { PUC_PORT_TYPE_COM, 0x10, 0x0400, COM_FREQ * 8 }, + { PUC_PORT_TYPE_COM, 0x10, 0x0600, COM_FREQ * 8 }, + { PUC_PORT_TYPE_COM, 0x10, 0x0800, COM_FREQ * 8 }, + { PUC_PORT_TYPE_COM, 0x10, 0x0a00, COM_FREQ * 8 }, + { PUC_PORT_TYPE_COM, 0x10, 0x0c00, COM_FREQ * 8 }, + { PUC_PORT_TYPE_COM, 0x10, 0x0e00, COM_FREQ * 8 }, + }, + }, { /* NULL, */ { 0, 0, 0, 0 }, -- cgit v1.2.3