summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2012-05-30 16:43:32 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2012-05-30 16:43:32 +0000
commitefe7d7e7f533cee65ce661a43efeb80fda3257fb (patch)
tree678af5159d5210b59d1993af4c31d3671b6bbc7c
parent21d8e02a6b3aac1c287c211c4715b5cd90091eb0 (diff)
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;
}