gianfar: Fix a bug where the pointer never moves for dma_unmap...
authorAndy Fleming <afleming@freescale.com>
Wed, 7 May 2008 18:20:55 +0000 (13:20 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 13 May 2008 05:31:38 +0000 (01:31 -0400)
commitad5da7ab7be0a510ae69d533edf573d1ca6eec4b
tree060bc709bb502c51830a929272ba406a38855f95
parent204e2f98c2d13f869b8541f3c57c7314f75cab11
gianfar: Fix a bug where the pointer never moves for dma_unmap...

The loop that unmaps all of the TX Buffer Descriptors never actually
moves the txbd pointer, so we were just repeatedly unmapping the first one.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/gianfar.c