diff options
| author | bouyer <bouyer@NetBSD.org> | 2001-01-26 22:00:01 +0000 |
|---|---|---|
| committer | bouyer <bouyer@NetBSD.org> | 2001-01-26 22:00:01 +0000 |
| commit | 22189b442b911febb1c295c2f06ba650d312f80e (patch) | |
| tree | 2145aafb8f1e6360efdca3e022a46091f6901d1f /sys/dev | |
| parent | 05b5119cdf9e490a1dd3de2a522cea2ffa4db434 (diff) | |
Add a few siop_table_sync() calls.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/siop.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/siop.c b/sys/dev/ic/siop.c index 744143135a4..83cba507f93 100644 --- a/sys/dev/ic/siop.c +++ b/sys/dev/ic/siop.c @@ -1,4 +1,4 @@ -/* $NetBSD: siop.c,v 1.37 2000/11/14 18:21:02 thorpej Exp $ */ +/* $NetBSD: siop.c,v 1.38 2001/01/26 22:00:01 bouyer Exp $ */ /* * Copyright (c) 2000 Manuel Bouyer. @@ -697,6 +697,7 @@ scintr: 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", @@ -1122,6 +1123,7 @@ siop_handle_qtag_reject(siop_cmd) 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; } @@ -1490,6 +1492,7 @@ again: 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, |
