1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00
freebsd/sys/dev/puc/pucdata.c
Poul-Henning Kamp 1e89655a31 More cleaning up and unhacking:
Don't expect all RIDs to be PCI rids.  The previous code made at
least 1 mistake, even for PCI.

Give the card definitions a chance to specify a init function.
Use this instead of the gross superio hack.
Move the win877 init function to puc_pci.c where it belongs.

RIDs can actually be zero, don't set badmuxed if so.

Set a less incorrect end for the construct SYS_RES_IOPORT entries,
I guess both sio and lpt happen to use 8 IO ports, but that shouldn't
really be hardcoded this way.

Fixup puc_pccard.c to match.

We're getting closer.
2002-08-31 20:29:46 +00:00

1000 lines
28 KiB
C

/* $NetBSD: pucdata.c,v 1.25 2001/12/16 22:23:01 thorpej Exp $ */
/*
* Copyright (c) 1998, 1999 Christopher G. Demetriou. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by Christopher G. Demetriou
* for the NetBSD Project.
* 4. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/*
* PCI "universal" communications card driver configuration data (used to
* match/attach the cards).
*/
#include <sys/param.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
#include <dev/sio/sioreg.h>
#include <dev/puc/pucvar.h>
#define COM_FREQ DEFAULT_RCLK
const struct puc_device_description puc_devices[] = {
{ "Comtrol RocketPort 550/4 RJ45",
NULL,
{ 0x11fe, 0x8014, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 4 },
},
},
{ "Comtrol RocketPort 550/Quad",
NULL,
{ 0x11fe, 0x8015, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 4 },
},
},
{ "Comtrol RocketPort 550/8 RJ11 part A",
NULL,
{ 0x11fe, 0x8010, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 4 },
},
},
{ "Comtrol RocketPort 550/8 RJ11 part B",
NULL,
{ 0x11fe, 0x8011, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 4 },
},
},
{ "Comtrol RocketPort 550/8 Octa part A",
NULL,
{ 0x11fe, 0x8012, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 4 },
},
},
{ "Comtrol RocketPort 550/8 Octa part B",
NULL,
{ 0x11fe, 0x8013, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 4 },
},
},
{ "Comtrol RocketPort 550/8 part A",
NULL,
{ 0x11fe, 0x8018, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 4 },
},
},
{ "Comtrol RocketPort 550/8 part B",
NULL,
{ 0x11fe, 0x8019, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 4 },
},
},
{ "Comtrol RocketPort 550/16 part A",
NULL,
{ 0x11fe, 0x8016, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 4 },
},
},
{ "Comtrol RocketPort 550/16 part B",
NULL,
{ 0x11fe, 0x8017, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x20, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x28, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x30, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x38, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x40, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x48, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x50, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x10, 0x58, COM_FREQ * 4 },
},
},
/*
* XXX no entry because I have no data:
* XXX Dolphin Peripherals 4006 (single parallel)
*/
/*
* Dolphin Peripherals 4014 (dual parallel port) card. PLX 9050, with
* a seemingly-lame EEPROM setup that puts the Dolphin IDs
* into the subsystem fields, and claims that it's a
* network/misc (0x02/0x80) device.
*/
{ "Dolphin Peripherals 4014",
NULL,
{ 0x10b5, 0x9050, 0xd84d, 0x6810 },
{ 0xffff, 0xffff, 0xffff, 0xffff },
{
{ PUC_PORT_TYPE_LPT, 0x20, 0x00, 0x00 },
{ PUC_PORT_TYPE_LPT, 0x24, 0x00, 0x00 },
},
},
/*
* XXX Dolphin Peripherals 4025 (single serial)
* (clashes with Dolphin Peripherals 4036 (2s variant)
*/
/*
* Dolphin Peripherals 4035 (dual serial port) card. PLX 9050, with
* a seemingly-lame EEPROM setup that puts the Dolphin IDs
* into the subsystem fields, and claims that it's a
* network/misc (0x02/0x80) device.
*/
{ "Dolphin Peripherals 4035",
NULL,
{ 0x10b5, 0x9050, 0xd84d, 0x6808 },
{ 0xffff, 0xffff, 0xffff, 0xffff },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
},
},
/*
* Dolphin Peripherals 4036 (dual serial port) card.
* (Dolpin 4025 has the same ID but only one port)
*/
{ "Dolphin Peripherals 4036",
NULL,
{ 0x1409, 0x7168, 0x0, 0x0 },
{ 0xffff, 0xffff, 0x0, 0x0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8},
{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8},
},
},
/*
* XXX no entry because I have no data:
* XXX Dolphin Peripherals 4078 (dual serial and single parallel)
*/
/*
* SIIG Boards.
*
* SIIG provides documentation for their boards at:
* <URL:http://www.siig.com/driver.htm>
*
* Please excuse the weird ordering, it's the order they
* use in their documentation.
*/
/*
* SIIG "10x" family boards.
*/
/* SIIG Cyber Serial PCI 16C550 (10x family): 1S */
{ "SIIG Cyber Serial PCI 16C550 (10x family)",
NULL,
{ 0x131f, 0x1000, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
},
},
/* SIIG Cyber Serial PCI 16C650 (10x family): 1S */
{ "SIIG Cyber Serial PCI 16C650 (10x family)",
NULL,
{ 0x131f, 0x1001, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
},
},
/* SIIG Cyber Serial PCI 16C850 (10x family): 1S */
{ "SIIG Cyber Serial PCI 16C850 (10x family)",
NULL,
{ 0x131f, 0x1002, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
},
},
/* SIIG Cyber I/O PCI 16C550 (10x family): 1S, 1P */
{ "SIIG Cyber I/O PCI 16C550 (10x family)",
NULL,
{ 0x131f, 0x1010, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x1c, 0x00, 0x00 },
},
},
/* SIIG Cyber I/O PCI 16C650 (10x family): 1S, 1P */
{ "SIIG Cyber I/O PCI 16C650 (10x family)",
NULL,
{ 0x131f, 0x1011, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x1c, 0x00, 0x00 },
},
},
/* SIIG Cyber I/O PCI 16C850 (10x family): 1S, 1P */
{ "SIIG Cyber I/O PCI 16C850 (10x family)",
NULL,
{ 0x131f, 0x1012, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x1c, 0x00, 0x00 },
},
},
/* SIIG Cyber Parallel PCI (10x family): 1P */
{ "SIIG Cyber Parallel PCI (10x family)",
NULL,
{ 0x131f, 0x1020, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_LPT, 0x18, 0x00, 0x00 },
},
},
/* SIIG Cyber Parallel Dual PCI (10x family): 2P */
{ "SIIG Cyber Parallel Dual PCI (10x family)",
NULL,
{ 0x131f, 0x1021, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_LPT, 0x18, 0x00, 0x00 },
{ PUC_PORT_TYPE_LPT, 0x20, 0x00, 0x00 },
},
},
/* SIIG Cyber Serial Dual PCI 16C550 (10x family): 2S */
{ "SIIG Cyber Serial Dual PCI 16C550 (10x family)",
NULL,
{ 0x131f, 0x1030, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
},
},
/* SIIG Cyber Serial Dual PCI 16C650 (10x family): 2S */
{ "SIIG Cyber Serial Dual PCI 16C650 (10x family)",
NULL,
{ 0x131f, 0x1031, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
},
},
/* SIIG Cyber Serial Dual PCI 16C850 (10x family): 2S */
{ "SIIG Cyber Serial Dual PCI 16C850 (10x family)",
NULL,
{ 0x131f, 0x1032, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
},
},
/* SIIG Cyber 2S1P PCI 16C550 (10x family): 2S, 1P */
{ "SIIG Cyber 2S1P PCI 16C550 (10x family)",
NULL,
{ 0x131f, 0x1034, 0, 0 }, /* XXX really? */
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x20, 0x00, 0x00 },
},
},
/* SIIG Cyber 2S1P PCI 16C650 (10x family): 2S, 1P */
{ "SIIG Cyber 2S1P PCI 16C650 (10x family)",
NULL,
{ 0x131f, 0x1035, 0, 0 }, /* XXX really? */
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x20, 0x00, 0x00 },
},
},
/* SIIG Cyber 2S1P PCI 16C850 (10x family): 2S, 1P */
{ "SIIG Cyber 2S1P PCI 16C850 (10x family)",
NULL,
{ 0x131f, 0x1036, 0, 0 }, /* XXX really? */
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x20, 0x00, 0x00 },
},
},
/* SIIG Cyber 4S PCI 16C550 (10x family): 4S */
{ "SIIG Cyber 4S PCI 16C550 (10x family)",
NULL,
{ 0x131f, 0x1050, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x20, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x24, 0x00, COM_FREQ },
},
},
/* SIIG Cyber 4S PCI 16C650 (10x family): 4S */
{ "SIIG Cyber 4S PCI 16C650 (10x family)",
NULL,
{ 0x131f, 0x1051, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x20, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x24, 0x00, COM_FREQ },
},
},
/* SIIG Cyber 4S PCI 16C850 (10x family): 4S */
{ "SIIG Cyber 4S PCI 16C850 (10x family)",
NULL,
{ 0x131f, 0x1052, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x20, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x24, 0x00, COM_FREQ },
},
},
/*
* SIIG "20x" family boards.
*/
/* SIIG Cyber Parallel PCI (20x family): 1P */
{ "SIIG Cyber Parallel PCI (20x family)",
NULL,
{ 0x131f, 0x2020, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_LPT, 0x10, 0x00, 0x00 },
},
},
/* SIIG Cyber Parallel Dual PCI (20x family): 2P */
{ "SIIG Cyber Parallel Dual PCI (20x family)",
NULL,
{ 0x131f, 0x2021, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_LPT, 0x10, 0x00, 0x00 },
{ PUC_PORT_TYPE_LPT, 0x18, 0x00, 0x00 },
},
},
/* SIIG Cyber 2P1S PCI 16C550 (20x family): 1S, 2P */
{ "SIIG Cyber 2P1S PCI 16C550 (20x family)",
NULL,
{ 0x131f, 0x2040, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x14, 0x00, 0x00 },
{ PUC_PORT_TYPE_LPT, 0x1c, 0x00, 0x00 },
},
},
/* SIIG Cyber 2P1S PCI 16C650 (20x family): 1S, 2P */
{ "SIIG Cyber 2P1S PCI 16C650 (20x family)",
NULL,
{ 0x131f, 0x2041, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x14, 0x00, 0x00 },
{ PUC_PORT_TYPE_LPT, 0x1c, 0x00, 0x00 },
},
},
/* SIIG Cyber 2P1S PCI 16C850 (20x family): 1S, 2P */
{ "SIIG Cyber 2P1S PCI 16C850 (20x family)",
NULL,
{ 0x131f, 0x2042, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x14, 0x00, 0x00 },
{ PUC_PORT_TYPE_LPT, 0x1c, 0x00, 0x00 },
},
},
/* SIIG Cyber Serial PCI 16C550 (20x family): 1S */
{ "SIIG Cyber Serial PCI 16C550 (20x family)",
NULL,
{ 0x131f, 0x2000, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
},
},
/* SIIG Cyber Serial PCI 16C650 (20x family): 1S */
{ "SIIG Cyber Serial PCI 16C650 (20x family)",
NULL,
{ 0x131f, 0x2001, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
},
},
/* SIIG Cyber Serial PCI 16C850 (20x family): 1S */
{ "SIIG Cyber Serial PCI 16C850 (20x family)",
NULL,
{ 0x131f, 0x2002, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
},
},
/* SIIG Cyber I/O PCI 16C550 (20x family): 1S, 1P */
{ "SIIG Cyber I/O PCI 16C550 (20x family)",
NULL,
{ 0x131f, 0x2010, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x14, 0x00, 0x00 },
},
},
/* SIIG Cyber I/O PCI 16C650 (20x family): 1S, 1P */
{ "SIIG Cyber I/O PCI 16C650 (20x family)",
NULL,
{ 0x131f, 0x2011, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x14, 0x00, 0x00 },
},
},
/* SIIG Cyber I/O PCI 16C850 (20x family): 1S, 1P */
{ "SIIG Cyber I/O PCI 16C850 (20x family)",
NULL,
{ 0x131f, 0x2012, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x14, 0x00, 0x00 },
},
},
/* SIIG Cyber Serial Dual PCI 16C550 (20x family): 2S */
{ "SIIG Cyber Serial Dual PCI 16C550 (20x family)",
NULL,
{ 0x131f, 0x2030, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
},
},
/* SIIG Cyber Serial Dual PCI 16C650 (20x family): 2S */
{ "SIIG Cyber Serial Dual PCI 16C650 (20x family)",
NULL,
{ 0x131f, 0x2031, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
},
},
/* SIIG Cyber Serial Dual PCI 16C850 (20x family): 2S */
{ "SIIG Cyber Serial Dual PCI 16C850 (20x family)",
NULL,
{ 0x131f, 0x2032, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
},
},
/* SIIG Cyber 2S1P PCI 16C550 (20x family): 2S, 1P */
{ "SIIG Cyber 2S1P PCI 16C550 (20x family)",
NULL,
{ 0x131f, 0x2060, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x18, 0x00, 0x00 },
},
},
/* SIIG Cyber 2S1P PCI 16C650 (20x family): 2S, 1P */
{ "SIIG Cyber 2S1P PCI 16C650 (20x family)",
NULL,
{ 0x131f, 0x2061, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x18, 0x00, 0x00 },
},
},
/* SIIG Cyber 2S1P PCI 16C850 (20x family): 2S, 1P */
{ "SIIG Cyber 2S1P PCI 16C850 (20x family)",
NULL,
{ 0x131f, 0x2062, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x18, 0x00, 0x00 },
},
},
/* SIIG Cyber 4S PCI 16C550 (20x family): 4S */
{ "SIIG Cyber 4S PCI 16C550 (20x family)",
NULL,
{ 0x131f, 0x2050, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
},
},
/* SIIG Cyber 4S PCI 16C650 (20x family): 4S */
{ "SIIG Cyber 4S PCI 16C650 (20x family)",
NULL,
{ 0x131f, 0x2051, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
},
},
/* SIIG Cyber 4S PCI 16C850 (20x family): 4S */
{ "SIIG Cyber 4S PCI 16C850 (20x family)",
NULL,
{ 0x131f, 0x2052, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
},
},
/* VScom PCI-200L: 2S */
{ "VScom PCI-200L",
NULL,
{ 0x14d2, 0x8020, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ * 8},
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ * 8},
},
},
/* VScom PCI-400: 4S */
{ "VScom PCI-400",
NULL,
{ 0x10b5, 0x1077, 0x10b5, 0x1077 },
{ 0xffff, 0xffff, 0xffff, 0xffff },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x08, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x10, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x18, COM_FREQ * 8 },
},
},
/* VScom PCI-800: 8S */
{ "VScom PCI-800",
NULL,
{ 0x10b5, 0x1076, 0x10b5, 0x1076 },
{ 0xffff, 0xffff, 0xffff, 0xffff },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x08, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x10, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x18, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x20, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x28, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x30, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x38, COM_FREQ * 8 },
},
},
/*
* VScom PCI-800H. Uses 8 16950 UART, behind a PCI chips that offers
* 4 com port on PCI device 0 and 4 on PCI device 1. PCI device 0 has
* device ID 3 and PCI device 1 device ID 4.
*/
{ "Titan PCI-800H",
NULL,
{ 0x14d2, 0xa003, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 8 },
},
},
{ "Titan PCI-800H",
NULL,
{ 0x14d2, 0xa004, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 8 },
},
},
{ "Titan PCI-200H",
NULL,
{ 0x14d2, 0xa005, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 },
},
},
/* NEC PK-UG-X001 K56flex PCI Modem card.
NEC MARTH bridge chip and Rockwell RCVDL56ACF/SP using. */
{ "NEC PK-UG-X001 K56flex PCI Modem",
NULL,
{ 0x1033, 0x0074, 0x1033, 0x8014 },
{ 0xffff, 0xffff, 0xffff, 0xffff },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
},
},
/* NEC PK-UG-X008 */
{ "NEC PK-UG-X008",
NULL,
{ 0x1033, 0x007d, 0x1033, 0x8012 },
{ 0xffff, 0xffff, 0xffff, 0xffff },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ},
},
},
/* Lava Computers 2SP-PCI */
{ "Lava Computers 2SP-PCI parallel port",
NULL,
{ 0x1407, 0x8000, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_LPT, 0x10, 0x00, 0x00 },
},
},
/* Lava Computers 2SP-PCI and Quattro-PCI serial ports */
{ "Lava Computers dual serial port",
NULL,
{ 0x1407, 0x0100, 0, 0 },
{ 0xffff, 0xfffc, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
},
},
/* Lava Computers newer Quattro-PCI serial ports */
{ "Lava Computers Quattro-PCI serial port",
NULL,
{ 0x1407, 0x0120, 0, 0 },
{ 0xffff, 0xfffc, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
},
},
/* Lava Computers DSerial PCI serial ports */
{ "Lava Computers serial port",
NULL,
{ 0x1407, 0x0110, 0, 0 },
{ 0xffff, 0xfffc, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
},
},
/* Lava Computers Octopus-550 serial ports */
{ "Lava Computers Octopus-550 8-port serial",
NULL,
{ 0x1407, 0x0180, 0, 0 },
{ 0xffff, 0xfffc, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
},
},
/* US Robotics (3Com) PCI Modems */
{ "US Robotics (3Com) 3CP5609 PCI 16550 Modem",
NULL,
{ 0x12b9, 0x1008, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
},
},
/* Actiontec 56K PCI Master */
{ "Actiontec 56K PCI Master",
NULL,
{ 0x11c1, 0x0480, 0x0, 0x0 },
{ 0xffff, 0xffff, 0x0, 0x0 },
{
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
},
},
/*
* Boards with an Oxford Semiconductor chip.
*
* Oxford Semiconductor provides documentation for their chip at:
* <URL:http://www.oxsemi.com/products/uarts/index.html>
*
* As sold by Kouwell <URL:http://www.kouwell.com/>.
* I/O Flex PCI I/O Card Model-223 with 4 serial and 1 parallel ports.
*/
/* Oxford Semiconductor OX16PCI954 PCI UARTs */
{ "Qxford Semiconductor OX16PCI954 UARTs",
NULL,
{ 0x1415, 0x9501, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ },
},
},
/* Oxford Semiconductor OX16PCI954 PCI Parallel port */
{ "Qxford Semiconductor OX16PCI954 Parallel port",
NULL,
{ 0x1415, 0x9513, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_LPT, 0x10, 0x00, 0x00 },
},
},
/* NetMos 2S1P PCI 16C650 : 2S, 1P */
{ "NetMos NM9835 Dual UART and 1284 Printer port",
NULL,
{ 0x9710, 0x9835, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x18, 0x00, 0x00 },
},
},
/*
* This is the Middle Digital, Inc. PCI-Weasel, which
* uses a PCI interface implemented in FPGA.
*/
{ "Middle Digital, Inc. Weasel serial port",
NULL,
{ 0xdeaf, 0x9051, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
},
},
/* SD-LAB PCI I/O Card 4S2P */
{ "Syba Tech Ltd. PCI-4S2P-550-ECP",
puc_config_win877,
{ 0x1592, 0x0781, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x2e8, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x10, 0x2f8, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x10, 0x000, 0x00 },
{ PUC_PORT_TYPE_COM, 0x10, 0x3e8, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x10, 0x3f8, COM_FREQ },
{ PUC_PORT_TYPE_LPT, 0x10, 0x000, 0x00 },
},
},
/* Moxa Technologies Co., Ltd. PCI I/O Card 4S RS232/422/485 */
{ "Moxa Technologies, Industio CP-114",
NULL,
{ 0x1393, 0x1141, 0, 0 },
{ 0xffff, 0xffff, 0, 0, },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x08, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x10, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x18, COM_FREQ * 8 },
},
},
/* Moxa Technologies Co., Ltd. PCI I/O Card 8S RS232 */
{ "Moxa Technologies, C168H/PCI",
NULL,
{ 0x1393, 0x1680, 0, 0 },
{ 0xffff, 0xffff, 0, 0, },
{
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x08, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x10, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x18, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x20, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x28, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x30, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x38, COM_FREQ * 8 },
},
},
{ "Avlab Technology, PCI IO 2S",
NULL,
{ 0x14db, 0x2130, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
},
},
/* Avlab Technology, Inc. Low Profile PCI 4 Serial: 4S */
{ "Avlab Low Profile PCI 4 Serial",
NULL,
{ 0x14db, 0x2150, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
},
},
/* Decision Computer Inc, serial ports */
{ "Decision Computer Inc, PCCOM 4-port serial",
NULL,
{ 0x6666, 0x0001, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x08, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x10, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x18, COM_FREQ },
},
},
{ "PCCOM dual port RS232/422/485",
NULL,
{ 0x6666, 0x0004, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x1c, 0x08, COM_FREQ },
},
},
{ 0 }
};