diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-05-13 15:36:23 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-05-13 15:36:23 +0000 |
commit | 2ea5c6262594118b6290fa956530eb2743f1126a (patch) | |
tree | 5e940f0f1fa27027a753adbc4e7b8909c666bc3c /sys/dev/ic/fxp.c | |
parent | 0fa253d382537db43f492c05fdf543bdbd36c01c (diff) |
When collecting the completed tx descriptors, dmasync all of them
before reading, not just the first one.
jason@ ok.
Diffstat (limited to 'sys/dev/ic/fxp.c')
-rw-r--r-- | sys/dev/ic/fxp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/fxp.c b/sys/dev/ic/fxp.c index 37acd74f752..9eff640e6a5 100644 --- a/sys/dev/ic/fxp.c +++ b/sys/dev/ic/fxp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fxp.c,v 1.36 2002/05/13 14:19:53 art Exp $ */ +/* $OpenBSD: fxp.c,v 1.37 2002/05/13 15:36:22 art Exp $ */ /* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */ /* @@ -779,6 +779,8 @@ fxp_intr(arg) } --txcnt; txs = txs->tx_next; + FXP_TXCB_SYNC(sc, txs, + BUS_DMASYNC_POSTREAD|BUS_DMASYNC_POSTWRITE); } sc->sc_cbt_cons = txs; sc->sc_cbt_cnt = txcnt; |