diff options
author | wpaul <wpaul@FreeBSD.org> | 2003-07-18 22:11:47 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2003-07-18 22:11:47 +0000 |
commit | 6999a6bd2e3cd756a628a3316037b79d327e818d (patch) | |
tree | 3d5d1816002c739b50fd612af0fbf5d538fed5b4 /sys/pci/if_rl.c | |
parent | ea98d2c3e5bb7d8ff7e0d59d7d53b90718424b45 (diff) | |
download | FreeBSD-src-6999a6bd2e3cd756a628a3316037b79d327e818d.zip FreeBSD-src-6999a6bd2e3cd756a628a3316037b79d327e818d.tar.gz |
Fix a busdma bogon:
Some of the calls to bus_dmamap_sync() were syncing the DMA descriptor
ring maps using the mbuf tag, when they should have been using the
descriptor ring tag instead.
Diffstat (limited to 'sys/pci/if_rl.c')
-rw-r--r-- | sys/pci/if_rl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c index a4707a7..436cf64 100644 --- a/sys/pci/if_rl.c +++ b/sys/pci/if_rl.c @@ -1704,7 +1704,7 @@ rl_rxeofcplus(sc) /* Invalidate the descriptor memory */ - bus_dmamap_sync(sc->rl_ldata.rl_mtag, + bus_dmamap_sync(sc->rl_ldata.rl_rx_list_tag, sc->rl_ldata.rl_rx_list_map, BUS_DMASYNC_POSTREAD); @@ -1936,7 +1936,7 @@ rl_txeofcplus(sc) /* Invalidate the TX descriptor list */ - bus_dmamap_sync(sc->rl_ldata.rl_mtag, + bus_dmamap_sync(sc->rl_ldata.rl_tx_list_tag, sc->rl_ldata.rl_tx_list_map, BUS_DMASYNC_POSTREAD); @@ -2383,7 +2383,7 @@ rl_startcplus(ifp) /* Flush the TX descriptors */ - bus_dmamap_sync(sc->rl_ldata.rl_mtag, + bus_dmamap_sync(sc->rl_ldata.rl_tx_list_tag, sc->rl_ldata.rl_tx_list_map, BUS_DMASYNC_PREWRITE|BUS_DMASYNC_PREREAD); |