diff options
author | 2015-12-26 22:16:12 +0000 | |
---|---|---|
committer | 2015-12-26 22:16:12 +0000 | |
commit | 1063861d58962341fa95299cb0fd9ecd43411693 (patch) | |
tree | f15fde1cf89766526e949d14fb02e9164bf28839 | |
parent | regen (diff) | |
download | wireguard-openbsd-1063861d58962341fa95299cb0fd9ecd43411693.tar.xz wireguard-openbsd-1063861d58962341fa95299cb0fd9ecd43411693.zip |
Add support for the Perle Speed8 LE.
-rw-r--r-- | sys/dev/pci/pucdata.c | 31 |
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 }, |