tc35815: Fix receiver hangup on Rx FIFO overflow
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Thu, 26 Jun 2008 08:14:15 +0000 (17:14 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 27 Jun 2008 05:27:43 +0000 (01:27 -0400)
commitccc57aac9c9532b4540968632a8c4a0b946dbcc4
treeb7f24f9c34bfd1efd964390ae5a4be823a5c84b0
parent59524a37446e18a672188d86d23c8c76fd488621
tc35815: Fix receiver hangup on Rx FIFO overflow

On Rx FIFO overflow error, the controller consume a buffer descriptor
but currently the driver does not give it back to the controller.
This results unrecoverable 'Buffer List Exhausted' condition.  This
patch fix this problem by moving a "fbl_count--" line to proper place.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/tc35815.c