gianfar: Continue polling until both tx and rx are empty
authorAndy Fleming <afleming@freescale.com>
Thu, 18 Dec 2008 00:52:30 +0000 (16:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Dec 2008 00:52:30 +0000 (16:52 -0800)
gfar_poll would declare polling done once the rx queue was empty,
but the tx queue could still have packets left.

Stolen mostly from the e1000 driver.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found