mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Fix a bug introduced in r295736
TX descriptor address should be updated for valid chain. Pointed out by: jmallett
This commit is contained in:
parent
0386a98bd0
commit
4a1ff07b39
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295738
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user