diff options
author | 2004-10-25 00:08:44 +0000 | |
---|---|---|
committer | 2004-10-25 00:08:44 +0000 | |
commit | 7a55cba0c6f13dc48b3f279d5db8b1e4c964d8e6 (patch) | |
tree | 3572981d0b6a6fd3c91234afafaf357544a27d2a | |
parent | More freebsd delta reduction. Eliminate use of NetBSD scsipi defines (diff) | |
download | wireguard-openbsd-7a55cba0c6f13dc48b3f279d5db8b1e4c964d8e6.tar.xz wireguard-openbsd-7a55cba0c6f13dc48b3f279d5db8b1e4c964d8e6.zip |
same fix as for com_gsc wrt unmapped console ports
-rw-r--r-- | sys/arch/hppa/dev/com_dino.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/dev/com_dino.c b/sys/arch/hppa/dev/com_dino.c index a6f3e4054d9..813ba2e6337 100644 --- a/sys/arch/hppa/dev/com_dino.c +++ b/sys/arch/hppa/dev/com_dino.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com_dino.c,v 1.2 2004/04/07 18:24:19 mickey Exp $ */ +/* $OpenBSD: com_dino.c,v 1.3 2004/10/25 00:08:44 mickey Exp $ */ /* * Copyright (c) 2004 Michael Shalayeff @@ -92,7 +92,7 @@ com_dino_attach(parent, self, aux) sc->sc_iot = ca->ca_iot; sc->sc_iobase = (bus_addr_t)ca->ca_hpa + IOMOD_DEVOFFSET; - 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)) { |