/* (5) Cycle from Step 2 to Step 4 without break and build up circular linked list handling.  */
static void emac_reset_dma_chain(void)
/* (5) Cycle from Step 2 to Step 4 without break and build up circular linked list handling.  */
static void emac_reset_dma_chain(void)
{
    emac_config.cnt_tx = 0;
    emac_config.cur_tx = 0;
    emac_config.dirty_tx = 0;
    emac_config.cnt_rx = 0;
    emac_config.cur_rx = 0;
    emac_config.dirty_rx = 0;
}