Tue Sep 25 06:31:44 2012 UTC ()
Add Lava Computers SSERIAL-PCI single port serial PCI card.


(gson)
diff -r1.80 -r1.81 src/sys/dev/pci/pucdata.c

cvs diff -r1.80 -r1.81 src/sys/dev/pci/pucdata.c (expand / switch to unified diff)

--- src/sys/dev/pci/pucdata.c 2012/08/15 01:03:16 1.80
+++ src/sys/dev/pci/pucdata.c 2012/09/25 06:31:44 1.81
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: pucdata.c,v 1.80 2012/08/15 01:03:16 msaitoh Exp $ */ 1/* $NetBSD: pucdata.c,v 1.81 2012/09/25 06:31:44 gson Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1998, 1999 Christopher G. Demetriou. All rights reserved. 4 * Copyright (c) 1998, 1999 Christopher G. Demetriou. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright 11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the 12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution. 13 * documentation and/or other materials provided with the distribution.
14 * 3. All advertising materials mentioning features or use of this software 14 * 3. All advertising materials mentioning features or use of this software
@@ -26,27 +26,27 @@ @@ -26,27 +26,27 @@
26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */ 31 */
32 32
33/* 33/*
34 * PCI "universal" communications card driver configuration data (used to 34 * PCI "universal" communications card driver configuration data (used to
35 * match/attach the cards). 35 * match/attach the cards).
36 */ 36 */
37 37
38#include <sys/cdefs.h> 38#include <sys/cdefs.h>
39__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.80 2012/08/15 01:03:16 msaitoh Exp $"); 39__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.81 2012/09/25 06:31:44 gson Exp $");
40 40
41#include <sys/param.h> 41#include <sys/param.h>
42#include <sys/systm.h> 42#include <sys/systm.h>
43#include <sys/device.h> 43#include <sys/device.h>
44 44
45#include <dev/pci/pcidevs.h> 45#include <dev/pci/pcidevs.h>
46#include <dev/pci/pcireg.h> 46#include <dev/pci/pcireg.h>
47#include <dev/pci/pcivar.h> 47#include <dev/pci/pcivar.h>
48#include <dev/pci/pucvar.h> 48#include <dev/pci/pucvar.h>
49#include <dev/ic/comreg.h> 49#include <dev/ic/comreg.h>
50 50
51const struct puc_device_description puc_devices[] = { 51const struct puc_device_description puc_devices[] = {
52 /* 52 /*
@@ -544,26 +544,35 @@ const struct puc_device_description puc_ @@ -544,26 +544,35 @@ const struct puc_device_description puc_
544 544
545 /* Lava Computers Octopus-550 serial ports */ 545 /* Lava Computers Octopus-550 serial ports */
546 { "Lava Computers Octopus-550 B 8-port serial", 546 { "Lava Computers Octopus-550 B 8-port serial",
547 { PCI_VENDOR_LAVA, PCI_PRODUCT_LAVA_OCTOPUS550_1, 0, 0 }, 547 { PCI_VENDOR_LAVA, PCI_PRODUCT_LAVA_OCTOPUS550_1, 0, 0 },
548 { 0xffff, 0xfffc, 0, 0 }, 548 { 0xffff, 0xfffc, 0, 0 },
549 { 549 {
550 { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ }, 550 { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
551 { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ }, 551 { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
552 { PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ }, 552 { PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
553 { PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ }, 553 { PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
554 }, 554 },
555 }, 555 },
556 556
 557 /* Lava Computers single port serial PCI card */
 558 { "Lava Computers SSERIAL-PCI",
 559 { PCI_VENDOR_LAVA, PCI_PRODUCT_LAVA_SSERIAL, 0, 0 },
 560 { 0xffff, 0xffff, 0, 0 },
 561 {
 562 { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
 563 },
 564 },
 565
557 /* Actiontec 56K PCI Master */ 566 /* Actiontec 56K PCI Master */
558 { "Actiontec 56K PCI Master", 567 { "Actiontec 56K PCI Master",
559 { PCI_VENDOR_LUCENT, PCI_PRODUCT_LUCENT_VENUSMODEM, 568 { PCI_VENDOR_LUCENT, PCI_PRODUCT_LUCENT_VENUSMODEM,
560 0x0, 0x0 }, 569 0x0, 0x0 },
561 { 0xffff, 0xffff, 0x0, 0x0 }, 570 { 0xffff, 0xffff, 0x0, 0x0 },
562 { 571 {
563 { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ }, 572 { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
564 }, 573 },
565 }, 574 },
566 575
567 /* 576 /*
568 * This is the Middle Digital, Inc. PCI-Weasel, which 577 * This is the Middle Digital, Inc. PCI-Weasel, which
569 * uses a PCI interface implemented in FPGA. 578 * uses a PCI interface implemented in FPGA.