diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-06-27 06:59:34 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-06-27 06:59:34 +0000 |
commit | 2fa64c7b09b1571e5cc267d4a6a13e96f35b4624 (patch) | |
tree | b0e9b17c958ead2131f335b3ff2146b4585f2528 /sys | |
parent | 8de865d12df94dc0c657425345dc6e459606e857 (diff) |
Very important endian fix :-)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/i2o/iop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2o/iop.c b/sys/dev/i2o/iop.c index 3cd484cc738..39417f46769 100644 --- a/sys/dev/i2o/iop.c +++ b/sys/dev/i2o/iop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iop.c,v 1.15 2001/06/27 06:11:09 mickey Exp $ */ +/* $OpenBSD: iop.c,v 1.16 2001/06/27 06:59:33 niklas Exp $ */ /* $NetBSD: iop.c,v 1.12 2001/03/21 14:27:05 ad Exp $ */ /*- @@ -1372,7 +1372,7 @@ iop_reset(struct iop_softc *sc) mf.statuslow = pa & ~(u_int32_t)0; mf.statushigh = sizeof pa > sizeof mf.statuslow ? pa >> 32 : 0; - *sw = 0; + *sw = htole32(0); bus_dmamap_sync(sc->sc_dmat, sc->sc_scr_dmamap, BUS_DMASYNC_PREREAD); if ((rv = iop_post(sc, (u_int32_t *)&mf))) |