git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3973 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
2f723cb5a3
commit
ffaedac6e6
|
@ -464,7 +464,7 @@ void mac_lld_release_transmit_descriptor(MACTransmitDescriptor *tdp) {
|
||||||
/* Unlocks the descriptor and returns it to the DMA engine.*/
|
/* Unlocks the descriptor and returns it to the DMA engine.*/
|
||||||
tdp->physdesc->tdes1 = tdp->offset;
|
tdp->physdesc->tdes1 = tdp->offset;
|
||||||
tdp->physdesc->tdes0 = STM32_TDES0_IC | STM32_TDES0_LS | STM32_TDES0_FS |
|
tdp->physdesc->tdes0 = STM32_TDES0_IC | STM32_TDES0_LS | STM32_TDES0_FS |
|
||||||
STM32_TDES0_OWN;
|
STM32_TDES0_TCH | STM32_TDES0_OWN;
|
||||||
|
|
||||||
/* If the DMA engine is stalled then a restart request is issued.*/
|
/* If the DMA engine is stalled then a restart request is issued.*/
|
||||||
if ((ETH->DMASR & 0x700000) == 0x600000) {
|
if ((ETH->DMASR & 0x700000) == 0x600000) {
|
||||||
|
|
Loading…
Reference in New Issue