summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2009-03-29 22:11:19 +0000
committerderaadt <deraadt@openbsd.org>2009-03-29 22:11:19 +0000
commit99e6802ee80b243b55ea514b05652ca78843ae11 (patch)
tree4cb794aa95f0b60464e89e9bb7980920afe1d7b1
parentEnable ahc(4). (diff)
downloadwireguard-openbsd-99e6802ee80b243b55ea514b05652ca78843ae11.tar.xz
wireguard-openbsd-99e6802ee80b243b55ea514b05652ca78843ae11.zip
Take a shot at baud rate calculations for the 8-port
Serial Technologies Expander PCI-232-108
-rw-r--r--sys/dev/pci/pucdata.c28
1 files changed, 27 insertions, 1 deletions
diff --git a/sys/dev/pci/pucdata.c b/sys/dev/pci/pucdata.c
index 8c8078e8141..c940f973637 100644
--- a/sys/dev/pci/pucdata.c
+++ b/sys/dev/pci/pucdata.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pucdata.c,v 1.61 2009/03/03 15:43:27 deraadt Exp $ */
+/* $OpenBSD: pucdata.c,v 1.62 2009/03/29 22:11:19 deraadt Exp $ */
/* $NetBSD: pucdata.c,v 1.6 1999/07/03 05:55:23 cgd Exp $ */
/*
@@ -575,6 +575,32 @@ const struct puc_device_description puc_devices[] = {
},
},
+ /* OX16PCI954, first part of Serial Technologies Expander PCI-232-108 */
+ { /* "OX16PCI954" */
+ { PCI_VENDOR_OXFORD2, PCI_PRODUCT_OXFORD2_OX16PCI954,
+ PCI_VENDOR_OXFORD2, 0 },
+ { 0xffff, 0xffff, 0xffff, 0xffff },
+ {
+ { 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 },
+ },
+ },
+
+ /* Exsys EX-41098, second part of Serial Technologies Expander PCI-232-108 */
+ { /* "Exsys EX-41098", */
+ { PCI_VENDOR_OXFORD2, PCI_PRODUCT_OXFORD2_EXSYS_EX41098,
+ PCI_VENDOR_OXFORD2, 0 },
+ { 0xffff, 0xffff, 0xffff, 0xffff },
+ {
+ { 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 },
+ },
+ },
+
/* Exsys EX-41098, second part of SIIG Cyber 8S PCI Card */
{ /* "Exsys EX-41098", */
{ PCI_VENDOR_OXFORD2, PCI_PRODUCT_OXFORD2_EXSYS_EX41098,