Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/i2o Fix typo.



details:   https://anonhg.NetBSD.org/src/rev/4421171747cc
branches:  trunk
changeset: 540377:4421171747cc
user:      ad <ad%NetBSD.org@localhost>
date:      Wed Dec 11 13:02:31 2002 +0000

description:
Fix typo.

diffstat:

 sys/dev/i2o/iop.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 1a7769c8ca2d -r 4421171747cc sys/dev/i2o/iop.c
--- a/sys/dev/i2o/iop.c Wed Dec 11 12:59:29 2002 +0000
+++ b/sys/dev/i2o/iop.c Wed Dec 11 13:02:31 2002 +0000
@@ -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 <sys/cdefs.h>
-__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 @@
 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



Home | Main Index | Thread Index | Old Index