Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/dev/ic Pull up revision 1.38 (requested by bouyer):
details: https://anonhg.NetBSD.org/src/rev/258f53bdfa06
branches: netbsd-1-5
changeset: 490648:258f53bdfa06
user: he <he%NetBSD.org@localhost>
date: Sun Feb 04 18:56:39 2001 +0000
description:
Pull up revision 1.38 (requested by bouyer):
Add missing bus_dmamap_sync() calls.
diffstat:
sys/dev/ic/siop.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 73803f7f2541 -r 258f53bdfa06 sys/dev/ic/siop.c
--- a/sys/dev/ic/siop.c Sun Feb 04 18:55:05 2001 +0000
+++ b/sys/dev/ic/siop.c Sun Feb 04 18:56:39 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: siop.c,v 1.21.2.5 2000/12/15 04:48:03 he Exp $ */
+/* $NetBSD: siop.c,v 1.21.2.6 2001/02/04 18:56:39 he Exp $ */
/*
* Copyright (c) 2000 Manuel Bouyer.
@@ -694,6 +694,7 @@
bus_space_write_4(sc->sc_rt, sc->sc_rh, SIOP_DSP,
siop_cmd->dsa + sizeof(struct siop_xfer_common) +
Ent_ldsa_reload_dsa);
+ siop_table_sync(siop_cmd, BUS_DMASYNC_PREWRITE);
return 1;
case A_int_reseltag:
printf("%s: reselect with invalid tag\n",
@@ -1119,6 +1120,7 @@
siop_lun->siop_tag[0].reseloff + 1,
siop_cmd->dsa + sizeof(struct siop_xfer_common) +
Ent_ldsa_reload_dsa);
+ siop_table_sync(siop_cmd, BUS_DMASYNC_PREWRITE);
}
return 0;
}
@@ -1487,6 +1489,7 @@
siop_cmd->siop_xfer->resel[E_ldsa_abs_slot_Used[0]] =
htole32(sc->sc_scriptaddr + Ent_script_sched_slot0 +
slot * 8);
+ siop_table_sync(siop_cmd, BUS_DMASYNC_PREWRITE);
/* scheduler slot: JUMP ldsa_select */
siop_script_write(sc,
(Ent_script_sched_slot0 / 4) + slot * 2 + 1,
Home |
Main Index |
Thread Index |
Old Index