summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2008-09-17 01:29:40 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2008-09-17 01:29:40 +0000
commit2394726dfc5ce2d95040b168b1bb749b1438ec92 (patch)
tree348a4843951d4dc8ee438a87c3c67b53d169f461 /sys
parentc5b9c7b6d7de2c276ebe5456b27b7f13916e9204 (diff)
Unbreak com@ioc probing.
ok miod@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sgi/dev/com_ioc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sgi/dev/com_ioc.c b/sys/arch/sgi/dev/com_ioc.c
index abab9713721..8381fe4e3ea 100644
--- a/sys/arch/sgi/dev/com_ioc.c
+++ b/sys/arch/sgi/dev/com_ioc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com_ioc.c,v 1.2 2008/05/01 13:36:08 miod Exp $ */
+/* $OpenBSD: com_ioc.c,v 1.3 2008/09/17 01:29:39 jsing Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -58,7 +58,7 @@ com_ioc_probe(struct device *parent, void *match, void *aux)
int rv = 0, console;
console = iot->bus_base + iaa->iaa_base ==
- sys_config.cons_iot->bus_base + comconsaddr;
+ comconsiot->bus_base + comconsaddr;
/* if it's in use as console, it's there. */
if (!(console && !comconsattached)) {
@@ -80,7 +80,7 @@ com_ioc_attach(struct device *parent, struct device *self, void *aux)
int console;
console = iaa->iaa_memt->bus_base + iaa->iaa_base ==
- sys_config.cons_iot->bus_base + comconsaddr;
+ comconsiot->bus_base + comconsaddr;
sc->sc_hwflags = 0;
sc->sc_swflags = 0;