Add support for the PCI-400 card and correct the clock rate for all the

VScom/Titan cards.
This commit is contained in:
soren 2001-08-06 22:25:36 +00:00
parent 6d6211445a
commit 3c508a8790
1 changed files with 31 additions and 27 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pucdata.c,v 1.19 2001/07/04 22:39:11 thorpej Exp $ */ /* $NetBSD: pucdata.c,v 1.20 2001/08/06 22:25:36 soren Exp $ */
/* /*
* Copyright (c) 1998, 1999 Christopher G. Demetriou. All rights reserved. * Copyright (c) 1998, 1999 Christopher G. Demetriou. All rights reserved.
@ -492,52 +492,56 @@ const struct puc_device_description puc_devices[] = {
}, },
}, },
/* VScom PCI-400: 4S */
{ "VScom PCI-400",
{ 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, as sold on http://www.swann.com.au/isp/titan.html.
* Some PLX chip. Note: This board has a software selectable(?)
* clock multiplier which this driver doesn't support, so you'll
* have to use an appropriately scaled baud rate when talking to
* the card.
*/
{ "VScom PCI-800", { "VScom PCI-800",
{ 0x10b5, 0x1076, 0x10b5, 0x1076 }, { 0x10b5, 0x1076, 0x10b5, 0x1076 },
{ 0xffff, 0xffff, 0xffff, 0xffff }, { 0xffff, 0xffff, 0xffff, 0xffff },
{ {
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x08, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x18, 0x08, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x10, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x18, 0x10, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x18, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x18, 0x18, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x20, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x18, 0x20, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x28, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x18, 0x28, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x30, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x18, 0x30, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x18, 0x38, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x18, 0x38, COM_FREQ * 8 },
}, },
}, },
/* /*
* VScom PCI-800H. Uses 8 16950 UART, behind a PCI chips that offers * 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 * 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. Uses a 14.7456 Mhz crystal * device ID 3 and PCI device 1 device ID 4.
* instead of the standart 1.8432Mhz.
*/ */
{ "Titan PCI-800H", { "Titan PCI-800H",
{ 0x14d2, 0xa003, 0, 0 }, { 0x14d2, 0xa003, 0, 0 },
{ 0xffff, 0xffff, 0, 0 }, { 0xffff, 0xffff, 0, 0 },
{ {
{ PUC_PORT_TYPE_COM, 0x10, 0x00, 14745600 }, { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, 14745600 }, { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x10, 0x10, 14745600 }, { PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x10, 0x18, 14745600 }, { PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 8 },
}, },
}, },
{ "Titan PCI-800H", { "Titan PCI-800H",
{ 0x14d2, 0xa004, 0, 0 }, { 0x14d2, 0xa004, 0, 0 },
{ 0xffff, 0xffff, 0, 0 }, { 0xffff, 0xffff, 0, 0 },
{ {
{ PUC_PORT_TYPE_COM, 0x10, 0x00, 14745600 }, { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, 14745600 }, { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x10, 0x10, 14745600 }, { PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x10, 0x18, 14745600 }, { PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 8 },
}, },
}, },