summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-12-21 18:53:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-12-21 18:53:29 +0000
commitb76dca4c644c1baf23aa4773010c8b54d3049a04 (patch)
tree74234332b7b8d607c9c8770445077bf1fed65bb5
parentc765fb3f9b47973b0bc51a4f42739fe52622a2e5 (diff)
support Avlab PCI 2S as a puc; from nicm__@ntlworld.com
-rw-r--r--share/man/man4/puc.43
-rw-r--r--sys/dev/pci/pcidevs3
-rw-r--r--sys/dev/pci/pucdata.c12
3 files changed, 15 insertions, 3 deletions
diff --git a/share/man/man4/puc.4 b/share/man/man4/puc.4
index 53f2c7288af..adc6d7b4590 100644
--- a/share/man/man4/puc.4
+++ b/share/man/man4/puc.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: puc.4,v 1.33 2006/11/08 18:34:34 mcbride Exp $
+.\" $OpenBSD: puc.4,v 1.34 2006/12/21 18:53:28 deraadt Exp $
.\" $NetBSD: puc.4,v 1.7 1999/07/03 05:55:23 cgd Exp $
.\"
.\" Copyright (c) 1998 Christopher G. Demetriou. All rights reserved.
@@ -63,6 +63,7 @@ The driver currently supports the following cards:
.Bl -tag -width Ds -offset indent -compact
.It Tn "AT&T/Lucent Venus Modem (found on IBM 33L4618, Actiontec 56K)"
.It Tn "Avlab Low Profile PCI 4S Quartet (4 port serial)"
+.It Tn "Avlab PCI 2S (2 port serial)"
.It Tn "Boca Research Turbo Serial 654 (4 port serial)"
.It Tn "Boca Research Turbo Serial 658 (8 port serial)"
.It Tn "Decision Computer Inc PCCOM PCI 2 Port (2 port serial)"
diff --git a/sys/dev/pci/pcidevs b/sys/dev/pci/pcidevs
index 305445d0689..c1def988a6b 100644
--- a/sys/dev/pci/pcidevs
+++ b/sys/dev/pci/pcidevs
@@ -1,4 +1,4 @@
-$OpenBSD: pcidevs,v 1.1204 2006/12/21 11:55:23 mickey Exp $
+$OpenBSD: pcidevs,v 1.1205 2006/12/21 18:53:26 deraadt Exp $
/* $NetBSD: pcidevs,v 1.30 1997/06/24 06:20:24 thorpej Exp $ */
/*
@@ -1030,6 +1030,7 @@ product AVANCE2 ALG2302 0x2302 ALG2302
product AVANCE2 ALS4000 0x4000 ALS4000
/* AVlab products */
+product AVLAB PCI2S 0x2130 PCI 2 Serial
product AVLAB LPPCI4S 0x2150 LP-PCI 4 Serial
/* AVM products */
diff --git a/sys/dev/pci/pucdata.c b/sys/dev/pci/pucdata.c
index 1468be7ff7b..7509fbd40ef 100644
--- a/sys/dev/pci/pucdata.c
+++ b/sys/dev/pci/pucdata.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pucdata.c,v 1.44 2006/11/08 17:46:54 mcbride Exp $ */
+/* $OpenBSD: pucdata.c,v 1.45 2006/12/21 18:53:26 deraadt Exp $ */
/* $NetBSD: pucdata.c,v 1.6 1999/07/03 05:55:23 cgd Exp $ */
/*
@@ -1275,6 +1275,16 @@ const struct puc_device_description puc_devices[] = {
},
},
+ /* Avlab Technology, Inc. PCI 2 Serial: 2S */
+ { /* "Avlab PCI 2 Serial" */
+ { PCI_VENDOR_AVLAB, PCI_PRODUCT_AVLAB_PCI2S, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
+ },
+ },
+
/* Digi International Digi Neo 4 Serial */
{
{ PCI_VENDOR_DIGI, PCI_PRODUCT_DIGI_NEO4, 0, 0 },