Author: yongari
Date: Thu Feb 18 03:05:08 2016
New Revision: 295738
URL: https://svnweb.freebsd.org/changeset/base/295738
Log:
Fix a bug introduced in r295736
TX descriptor address should be updated for valid chain.
Pointed out by: jmallett
Modified:
head/sys/dev/rl/if_rl.c
Modified: head/sys/dev/rl/if_rl.c
==============================================================================
--- head/sys/dev/rl/if_rl.c Thu Feb 18 01:58:26 2016 (r295737)
+++ head/sys/dev/rl/if_rl.c Thu Feb 18 03:05:08 2016 (r295738)
@@ -1945,8 +1945,9 @@ rl_stop(struct rl_softc *sc)
sc->rl_cdata.rl_tx_dmamap[i]);
m_freem(sc->rl_cdata.rl_tx_chain[i]);
sc->rl_cdata.rl_tx_chain[i] = NULL;
+ CSR_WRITE_4(sc, RL_TXADDR0 + (i * sizeof(uint32_t)),
+ 0x0000000);
}
- CSR_WRITE_4(sc, RL_TXADDR0 + (i * sizeof(uint32_t)), 0x0000000);
}
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"