From 42c8a17c80886778c3d4d542274c909876704d16 Mon Sep 17 00:00:00 2001 From: ad Date: Wed, 11 Dec 2002 13:02:31 +0000 Subject: [PATCH] Fix typo. --- sys/dev/i2o/iop.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/i2o/iop.c b/sys/dev/i2o/iop.c index 495874bba579..d646c42af68f 100644 --- a/sys/dev/i2o/iop.c +++ b/sys/dev/i2o/iop.c @@ -1,4 +1,4 @@ -/* $NetBSD: iop.c,v 1.31 2002/12/06 11:22:25 ad Exp $ */ +/* $NetBSD: iop.c,v 1.32 2002/12/11 13:02:31 ad Exp $ */ /*- * Copyright (c) 2000, 2001, 2002 The NetBSD Foundation, Inc. @@ -41,7 +41,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: iop.c,v 1.31 2002/12/06 11:22:25 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: iop.c,v 1.32 2002/12/11 13:02:31 ad Exp $"); #include "opt_i2o.h" #include "iop.h" @@ -273,9 +273,9 @@ static inline u_int32_t iop_inl_msg(struct iop_softc *sc, int off) { - bus_space_barrier(sc->sc_iot, sc->sc_ioh, off, 4, + bus_space_barrier(sc->sc_msg_iot, sc->sc_msg_ioh, off, 4, BUS_SPACE_BARRIER_WRITE | BUS_SPACE_BARRIER_READ); - return (bus_space_read_4(sc->sc_iot, sc->sc_ioh, off)); + return (bus_space_read_4(sc->sc_msg_iot, sc->sc_msg_ioh, off)); } static inline void