From: Thommy Jakobsson Date: Tue, 23 Apr 2013 19:45:11 +0000 (+0200) Subject: B43: Handle DMA RX descriptor underrun X-Git-Tag: v3.2.46~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc6320b1a675001ac9599bf82aeba59f47deba6d;p=pandora-kernel.git B43: Handle DMA RX descriptor underrun commit 73b82bf0bfbf58e6ff328d3726934370585f6e78 upstream. Add handling of rx descriptor underflow. This fixes a fault that could happen on slow machines, where data is received faster than the CPU can handle. In such a case the device will use up all rx descriptors and refuse to send any more data before confirming that it is ok. This patch enables necessary interrupt to discover such a situation and will handle them by dropping everything in the ring buffer. Reviewed-by: Michael Buesch Signed-off-by: Thommy Jakobsson Signed-off-by: John W. Linville [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed