From: Ricardo Ribalda Date: Tue, 1 Oct 2013 06:17:10 +0000 (+0200) Subject: ll_temac: Reset dma descriptors indexes on ndo_open X-Git-Tag: v3.12-rc4~30^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7167cf0e8cd10287b7912b9ffcccd9616f382922;p=pandora-kernel.git ll_temac: Reset dma descriptors indexes on ndo_open 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed