Files
linux/drivers/net/ethernet
Ricardo Ribalda c7bd069613 ll_temac: Reset dma descriptors indexes on ndo_open
[ Upstream commit 7167cf0e8c ]

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 16:08:30 -07:00
..
2013-05-11 17:40:14 -07:00
2013-08-11 18:35:26 -07:00
2013-06-19 16:59:33 -07:00
2013-05-11 17:40:14 -07:00
2013-04-15 14:11:37 -04:00
2013-06-19 18:40:21 -07:00
2013-05-02 16:20:31 -04:00
2013-05-23 12:15:32 -07:00