diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2007-11-17 19:09:17 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2007-11-17 19:09:17 +0000 |
commit | 810f81d685bf2da808f210880817d5c85cb714a0 (patch) | |
tree | 3115d23c2637752360c1b4a973e47427c0644538 /sys/dev/pci/if_iwi.c | |
parent | 85b3ef5397fc4c1f7d8bd68080927b777b0a24e5 (diff) |
update the physical address of the RX buffer after bus_dmamap_load()
in the case where the old buffer is remapped.
Diffstat (limited to 'sys/dev/pci/if_iwi.c')
-rw-r--r-- | sys/dev/pci/if_iwi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c index 3ff94e961e2..56923690bdc 100644 --- a/sys/dev/pci/if_iwi.c +++ b/sys/dev/pci/if_iwi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwi.c,v 1.85 2007/09/07 19:05:05 damien Exp $ */ +/* $OpenBSD: if_iwi.c,v 1.86 2007/11/17 19:09:16 damien Exp $ */ /*- * Copyright (c) 2004-2006 @@ -915,6 +915,7 @@ iwi_frame_intr(struct iwi_softc *sc, struct iwi_rx_data *data, panic("%s: could not load old rx mbuf", sc->sc_dev.dv_xname); } + CSR_WRITE_4(sc, data->reg, data->map->dm_segs[0].ds_addr); ifp->if_ierrors++; return; } |