From b76dca4c644c1baf23aa4773010c8b54d3049a04 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 21 Dec 2006 18:53:29 +0000 Subject: support Avlab PCI 2S as a puc; from nicm__@ntlworld.com --- sys/dev/pci/pcidevs | 3 ++- sys/dev/pci/pucdata.c | 12 +++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'sys') 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 }, -- cgit v1.2.3