Ricardo Ribalda 67a8bceeb8 ll_temac: Reset dma descriptors indexes on ndo_open
[ Upstream commit 7167cf0e8cd10287b7912b9ffcccd9616f382922 ]

The dma descriptors indexes are only initialized on the probe function.

If a packet is on the buffer when temac_stop is called, the dma
descriptors indexes can be left on a incorrect state where no other
package can be sent.

So an interface could be left in an usable state after ifdow/ifup.

This patch makes sure that the descriptors indexes are in a proper
status when the device is open.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-10-13 14:51:07 -07:00
..
2013-02-14 10:47:35 -08:00
2012-10-31 09:51:37 -07:00
2013-03-14 11:32:06 -07:00
2012-01-25 17:24:54 -08:00
2012-01-25 17:24:56 -08:00
2013-05-24 11:09:24 -07:00
2013-01-27 20:46:29 -08:00
2011-06-14 15:15:25 +09:00
2012-01-06 14:13:48 -08:00
2012-04-27 09:51:06 -07:00
2012-10-02 09:47:27 -07:00