summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2015-12-26 22:16:13 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2015-12-26 22:16:13 +0000
commit649c84df2293bffdfc81bf8e4a02b77ba17d9494 (patch)
tree1343d6d056e75c350e9cddf6a6abb5d5015a2c09 /sys
parentde75949321c1e85f5fc303eb52a13e1553771878 (diff)
Add support for the Perle Speed8 LE.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/pucdata.c31
1 files changed, 30 insertions, 1 deletions
diff --git a/sys/dev/pci/pucdata.c b/sys/dev/pci/pucdata.c
index f635bd7156a..97af05d0e8f 100644
--- a/sys/dev/pci/pucdata.c
+++ b/sys/dev/pci/pucdata.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pucdata.c,v 1.99 2015/11/14 14:47:56 miod Exp $ */
+/* $OpenBSD: pucdata.c,v 1.100 2015/12/26 22:16:12 kettenis Exp $ */
/* $NetBSD: pucdata.c,v 1.6 1999/07/03 05:55:23 cgd Exp $ */
/*
@@ -1550,6 +1550,35 @@ const struct puc_device_description puc_devs[] = {
},
},
+ /*
+ * Perle Speed8 LE.
+ * Based on an Oxford Semiconductor OX16PCI954 chip, using the
+ * 8-bit pass-through Local Bus function to hook up 4
+ * additional UARTs.
+ */
+ { /* OX16PCI954 internal UARTs */
+ { PCI_VENDOR_PERLE, PCI_PRODUCT_PERLE_SPEED8_LE,
+ PCI_VENDOR_OXFORD2, PCI_PRODUCT_OXFORD2_OX16PCI954 },
+ { 0xffff, 0xffff, 0xffff, 0xffff },
+ {
+ { PUC_COM_POW2(3), 0x10, 0x0000 },
+ { PUC_COM_POW2(3), 0x10, 0x0008 },
+ { PUC_COM_POW2(3), 0x10, 0x0010 },
+ { PUC_COM_POW2(3), 0x10, 0x0018 },
+ },
+ },
+ { /* OX16PCI954 8-bit pass-through Local Bus */
+ { PCI_VENDOR_PERLE, PCI_PRODUCT_PERLE_SPEED8_LE,
+ PCI_VENDOR_OXFORD2, 0x9511 },
+ { 0xffff, 0xffff, 0xffff, 0xffff },
+ {
+ { PUC_COM_POW2(3), 0x10, 0x0000 },
+ { PUC_COM_POW2(3), 0x10, 0x0008 },
+ { PUC_COM_POW2(3), 0x10, 0x0010 },
+ { PUC_COM_POW2(3), 0x10, 0x0018 },
+ },
+ },
+
{ /* Sunix 4018A : 2-port parallel */
{ PCI_VENDOR_SUNIX, PCI_PRODUCT_SUNIX_4018A, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },