summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2012-01-02 11:07:03 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2012-01-02 11:07:03 +0000
commit601745d9c51906bbaa76010c90afbc2511631fa1 (patch)
treec230bf563d2a14633098ca068416a4facde3a426 /sys/dev/pci
parent6a25132daec6e894e20dd4ebd6730d385efbc91f (diff)
Use the correct multiplier for older SUNIX 406x 8-serial cards. Problem
reported and fix tested by sebastia@. naddy@ helped get the ordering right.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pucdata.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/dev/pci/pucdata.c b/sys/dev/pci/pucdata.c
index a0820e4e616..4ea89f95278 100644
--- a/sys/dev/pci/pucdata.c
+++ b/sys/dev/pci/pucdata.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pucdata.c,v 1.78 2011/10/26 14:20:25 jsg Exp $ */
+/* $OpenBSD: pucdata.c,v 1.79 2012/01/02 11:07:02 sthen Exp $ */
/* $NetBSD: pucdata.c,v 1.6 1999/07/03 05:55:23 cgd Exp $ */
/*
@@ -1441,6 +1441,21 @@ const struct puc_device_description puc_devs[] = {
},
{ /* SUNIX 406X 8S */
+ { PCI_VENDOR_SUNIX, PCI_PRODUCT_SUNIX_40XX, 0x1409, 0x5066 },
+ { 0xffff, 0xffff, 0xffff, 0xffff },
+ {
+ { PUC_COM_POW2(3), 0x10, 0x0000 },
+ { PUC_COM_POW2(3), 0x10, 0x0008 },
+ { PUC_COM_POW2(0), 0x14, 0x0000 },
+ { PUC_COM_POW2(0), 0x14, 0x0008 },
+ { PUC_COM_POW2(0), 0x18, 0x0000 },
+ { PUC_COM_POW2(0), 0x1c, 0x0000 },
+ { PUC_COM_POW2(0), 0x20, 0x0000 },
+ { PUC_COM_POW2(0), 0x24, 0x0000 },
+ },
+ },
+
+ { /* SUNIX 406X 8S */
{ PCI_VENDOR_SUNIX, PCI_PRODUCT_SUNIX_40XX, 0x1409, 0x4060 },
{ 0xffff, 0xffff, 0xffff, 0xe0f0 },
{