summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2012-05-30 16:43:31 +0000
committermiod <miod@openbsd.org>2012-05-30 16:43:31 +0000
commit39e4e8e0f7d7fa2f851a889dbdf4ae3e9214e599 (patch)
tree8d02607c93fda2a30da7c5fa3ea399fc6d97f97b
parentmore timer changes (diff)
downloadwireguard-openbsd-39e4e8e0f7d7fa2f851a889dbdf4ae3e9214e599.tar.xz
wireguard-openbsd-39e4e8e0f7d7fa2f851a889dbdf4ae3e9214e599.zip
Correctly compute the IOC3 device mask on MENET boards.
-rw-r--r--sys/arch/sgi/pci/ioc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/pci/ioc.c b/sys/arch/sgi/pci/ioc.c
index 675a6a74f41..850157bd417 100644
--- a/sys/arch/sgi/pci/ioc.c
+++ b/sys/arch/sgi/pci/ioc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ioc.c,v 1.37 2011/10/10 19:49:16 miod Exp $ */
+/* $OpenBSD: ioc.c,v 1.38 2012/05/30 16:43:31 miod Exp $ */
/*
* Copyright (c) 2008 Joel Sing.
@@ -212,7 +212,7 @@ ioc_attach(struct device *parent, struct device *self, void *aux)
subdevice_mask = (1 << IOCDEV_EF);
has_enet = 1;
if (pa->pa_device != 3) {
- subdevice_mask = (1 << IOCDEV_SERIAL_A) |
+ subdevice_mask |= (1 << IOCDEV_SERIAL_A) |
(1 << IOCDEV_SERIAL_B);
has_superio = 1;
}