Re: [PATCH] ll_temac: Reset dma descriptors on ndo_open

From: David Miller
Date: Tue Oct 01 2013 - 02:01:50 EST


From: Ricardo Ribalda Delgado <ricardo.ribalda@xxxxxxxxx>
Date: Tue, 1 Oct 2013 07:46:31 +0200

> What if I move
> lp->tx_bd_ci = 0;
> lp->tx_bd_next = 0;
> lp->tx_bd_tail = 0;
> lp->rx_bd_ci = 0;
>
> to temac_dma_bd_init? Will this be more correct?

Yes, that would be a lot better.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/