]> git.baikalelectronics.ru Git - kernel.git/commit
gianfar: Wait for both RX and TX to stop
authorAndy Fleming <afleming@freescale.com>
Tue, 27 Apr 2010 23:43:31 +0000 (16:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Apr 2010 23:43:31 +0000 (16:43 -0700)
commit85e8a1ecd4c26d959cfe271c2aac1b65778f80da
treeecd09986e227f2cb30e1033c9daa1ad385845b8f
parent905b3eb2b17cb3e207addca702c687815e2c6654
gianfar: Wait for both RX and TX to stop

When gracefully stopping the controller, the driver was continuing if
*either* RX or TX had stopped.  We need to wait for both, or the
controller could get into an invalid state.

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