sfc: Do not reinitialise XAUI serdes before it has completed reset
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 26 Aug 2009 08:16:46 +0000 (08:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Aug 2009 00:38:51 +0000 (17:38 -0700)
commitd4ec09acdb15cdb5afdb5cd03f6bceb5c3c690a5
tree11b9a9e797958a86b4c33ffc8710a4528f7b4ba5
parentaed0628dae0c26b47d40d65f942abe30279b52a5
sfc: Do not reinitialise XAUI serdes before it has completed reset

falcon_reset_xaui() waits for XGXS reset to complete, but the XAUI
serdes reset may take longer.  It needs to check both reset active
bits.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/falcon_hwdefs.h
drivers/net/sfc/falcon_xmac.c