summaryrefslogtreecommitdiff
path: root/sys/dev/pci
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 /sys/dev/pci
parentc765fb3f9b47973b0bc51a4f42739fe52622a2e5 (diff)
support Avlab PCI 2S as a puc; from nicm__@ntlworld.com
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pcidevs3
-rw-r--r--sys/dev/pci/pucdata.c12
2 files changed, 13 insertions, 2 deletions
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 },