libchip: Cleanup

This commit is contained in:
Ralf Kirchner
2014-04-10 17:03:54 +02:00
committed by Sebastian Huber
parent 18fe64a2ca
commit f28b8d4595

View File

@@ -964,11 +964,11 @@ static void dwmac_desc_enh_prepare_tx_desc(
static void dwmac_desc_enh_close_tx_desc(
dwmac_common_context *self,
const unsigned int idx_tx )
const unsigned int idx_tx
)
{
volatile dwmac_desc_ext *p_enh = (volatile dwmac_desc_ext *) self->dma_tx;
p_enh[idx_tx].etx.des0_3.des0 |= DWMAC_DESC_ETX_DES0_LAST_SEGMENT;
p_enh[idx_tx].etx.des0_3.des0 |= DWMAC_DESC_ETX_DES0_IRQ_ON_COMPLETION;
}