Fix a regression introduced in r218832. For TX status check, driver

should use a TX list DMA tag.

MFC after:	3 days
This commit is contained in:
Pyun YongHyeon 2011-10-24 17:05:59 +00:00
parent 5838507bd7
commit cb94db27d2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226695

View File

@ -2970,7 +2970,7 @@ dc_txeof(struct dc_softc *sc)
* Go through our tx list and free mbufs for those
* frames that have been transmitted.
*/
bus_dmamap_sync(sc->dc_rx_ltag, sc->dc_tx_lmap, BUS_DMASYNC_POSTREAD |
bus_dmamap_sync(sc->dc_tx_ltag, sc->dc_tx_lmap, BUS_DMASYNC_POSTREAD |
BUS_DMASYNC_POSTWRITE);
setup = 0;
for (idx = sc->dc_cdata.dc_tx_cons; idx != sc->dc_cdata.dc_tx_prod;