diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa/gsc/com_gsc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/gsc/com_gsc.c b/sys/arch/hppa/gsc/com_gsc.c index 604f9842782..2bd9fa05198 100644 --- a/sys/arch/hppa/gsc/com_gsc.c +++ b/sys/arch/hppa/gsc/com_gsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com_gsc.c,v 1.19 2004/04/07 18:24:19 mickey Exp $ */ +/* $OpenBSD: com_gsc.c,v 1.20 2004/09/19 17:50:30 mickey Exp $ */ /* * Copyright (c) 1998-2003 Michael Shalayeff @@ -88,7 +88,7 @@ com_gsc_attach(parent, self, aux) else rj16++; - if (sc->sc_iobase == CONADDR) + if (sc->sc_iobase == CONADDR && comconsioh) sc->sc_ioh = comconsioh; else if (bus_space_map(sc->sc_iot, sc->sc_iobase, COM_NPORTS, 0, &sc->sc_ioh)) { |