aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/falcon_hwdefs.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-08-26 04:16:46 -0400
committerDavid S. Miller <davem@davemloft.net>2009-08-26 20:38:51 -0400
commitd4ec09acdb15cdb5afdb5cd03f6bceb5c3c690a5 (patch)
tree11b9a9e797958a86b4c33ffc8710a4528f7b4ba5 /drivers/net/sfc/falcon_hwdefs.h
parentaed0628dae0c26b47d40d65f942abe30279b52a5 (diff)
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>
Diffstat (limited to 'drivers/net/sfc/falcon_hwdefs.h')
-rw-r--r--drivers/net/sfc/falcon_hwdefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/sfc/falcon_hwdefs.h b/drivers/net/sfc/falcon_hwdefs.h
index 375e2a5961ec..2d2261117ace 100644
--- a/drivers/net/sfc/falcon_hwdefs.h
+++ b/drivers/net/sfc/falcon_hwdefs.h
@@ -700,6 +700,8 @@
700/* XGXS/XAUI powerdown/reset register */ 700/* XGXS/XAUI powerdown/reset register */
701#define XX_PWR_RST_REG 0x1300 701#define XX_PWR_RST_REG 0x1300
702 702
703#define XX_SD_RST_ACT_LBN 16
704#define XX_SD_RST_ACT_WIDTH 1
703#define XX_PWRDND_EN_LBN 15 705#define XX_PWRDND_EN_LBN 15
704#define XX_PWRDND_EN_WIDTH 1 706#define XX_PWRDND_EN_WIDTH 1
705#define XX_PWRDNC_EN_LBN 14 707#define XX_PWRDNC_EN_LBN 14