summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2009-08-11 20:03:56 +0000
committerderaadt <deraadt@openbsd.org>2009-08-11 20:03:56 +0000
commitb6e7c0203cc8fd6a9467172f17e69d26df91ea21 (patch)
tree2e995a9ba00d99751368822d9e6600517ecf666d
parentDrop the no_stop argument to tty_close and tty_free in favour of a flag in the (diff)
downloadwireguard-openbsd-b6e7c0203cc8fd6a9467172f17e69d26df91ea21.tar.xz
wireguard-openbsd-b6e7c0203cc8fd6a9467172f17e69d26df91ea21.zip
More exact matching for Sunix 40XX 4 and 8 port units so that we can fix
their baud rate multipliers.
-rw-r--r--sys/dev/pci/pucdata.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/pci/pucdata.c b/sys/dev/pci/pucdata.c
index eda3b41d767..031adf1d7cc 100644
--- a/sys/dev/pci/pucdata.c
+++ b/sys/dev/pci/pucdata.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pucdata.c,v 1.64 2009/07/23 21:38:48 deraadt Exp $ */
+/* $OpenBSD: pucdata.c,v 1.65 2009/08/11 20:03:56 deraadt Exp $ */
/* $NetBSD: pucdata.c,v 1.6 1999/07/03 05:55:23 cgd Exp $ */
/*
@@ -1347,7 +1347,7 @@ const struct puc_device_description puc_devices[] = {
{ /* SUNIX 405X 4S */
{ PCI_VENDOR_SUNIX, PCI_PRODUCT_SUNIX_40XX, 0x1409, 0x4050 },
- { 0xffff, 0xffff, 0xffff, 0xeff0 },
+ { 0xffff, 0xffff, 0xffff, 0xe0f0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 },
@@ -1358,16 +1358,16 @@ const struct puc_device_description puc_devices[] = {
{ /* SUNIX 406X 8S */
{ PCI_VENDOR_SUNIX, PCI_PRODUCT_SUNIX_40XX, 0x1409, 0x4060 },
- { 0xffff, 0xffff, 0xffff, 0xeff0 },
+ { 0xffff, 0xffff, 0xffff, 0xe0f0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 },
{ PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 },
- { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
- { PUC_PORT_TYPE_COM, 0x14, 0x08, COM_FREQ },
- { PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
- { PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
- { PUC_PORT_TYPE_COM, 0x20, 0x00, COM_FREQ },
- { PUC_PORT_TYPE_COM, 0x24, 0x00, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ * 8 },
+ { PUC_PORT_TYPE_COM, 0x14, 0x08, COM_FREQ * 8 },
+ { PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ * 8 },
+ { PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ * 8 },
+ { PUC_PORT_TYPE_COM, 0x20, 0x00, COM_FREQ * 8 },
+ { PUC_PORT_TYPE_COM, 0x24, 0x00, COM_FREQ * 8 },
},
},