gianfar: Fix potential soft reset race
authorAndy Fleming <afleming@freescale.com>
Thu, 5 Feb 2009 00:38:05 +0000 (16:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2009 00:38:05 +0000 (16:38 -0800)
commitb98ac702f49042ab0c382b839465b95a2bd0cd65
tree344e61f5798864cdcab11e071842578765c9ba55
parent1fbe49328f7442090439addddf441fb5b3186e71
gianfar: Fix potential soft reset race

SOFT_RESET must be asserted for at least 3 TX clocks in order for it to work
properly.  The syncs in the gfar_write() commands have been hiding this, but
we need to guarantee it.

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