Fix stupid error in r212109 which didn't swap DMA maps. This caused
IOMMU panic on sparc64 under high TX load.
This commit is contained in:
parent
090c02f8bd
commit
8c6cd8631f
@ -1883,8 +1883,8 @@ sis_encap(struct sis_softc *sc, struct mbuf **m_head)
|
||||
|
||||
/* Swap the last and the first dmamaps. */
|
||||
map = txd->tx_dmamap;
|
||||
txd->tx_dmamap = sc->sis_txdesc[frag].tx_dmamap;
|
||||
sc->sis_txdesc[frag].tx_dmamap = map;
|
||||
txd->tx_dmamap = sc->sis_txdesc[prod].tx_dmamap;
|
||||
sc->sis_txdesc[prod].tx_dmamap = map;
|
||||
txd->tx_m = *m_head;
|
||||
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user