aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/sfe4001.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-09-01 07:48:41 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-09-03 09:53:48 -0400
commitc1e5fcc980b7b2185b29e4f9f0d8266806ada9eb (patch)
treee942c9d1280c694a71d4837563b2a6c9f1e91fb8 /drivers/net/sfc/sfe4001.c
parent01aad7b6ffcc07544e7bdf472fbde4e6eb36a610 (diff)
sfc: Remove remnants of multi-port abstraction for MAC registers
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/sfc/sfe4001.c')
-rw-r--r--drivers/net/sfc/sfe4001.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/sfc/sfe4001.c b/drivers/net/sfc/sfe4001.c
index d90fab59f83e..b7005da55d5e 100644
--- a/drivers/net/sfc/sfe4001.c
+++ b/drivers/net/sfc/sfe4001.c
@@ -19,6 +19,7 @@
19#include "boards.h" 19#include "boards.h"
20#include "falcon.h" 20#include "falcon.h"
21#include "falcon_hwdefs.h" 21#include "falcon_hwdefs.h"
22#include "falcon_io.h"
22#include "mac.h" 23#include "mac.h"
23 24
24/************************************************************************** 25/**************************************************************************
@@ -128,17 +129,17 @@ static int sfe4001_poweron(struct efx_nic *efx)
128 unsigned int i, j; 129 unsigned int i, j;
129 int rc; 130 int rc;
130 u8 out; 131 u8 out;
131 efx_dword_t reg; 132 efx_oword_t reg;
132 133
133 /* Ensure that XGXS and XAUI SerDes are held in reset */ 134 /* Ensure that XGXS and XAUI SerDes are held in reset */
134 EFX_POPULATE_DWORD_7(reg, XX_PWRDNA_EN, 1, 135 EFX_POPULATE_OWORD_7(reg, XX_PWRDNA_EN, 1,
135 XX_PWRDNB_EN, 1, 136 XX_PWRDNB_EN, 1,
136 XX_RSTPLLAB_EN, 1, 137 XX_RSTPLLAB_EN, 1,
137 XX_RESETA_EN, 1, 138 XX_RESETA_EN, 1,
138 XX_RESETB_EN, 1, 139 XX_RESETB_EN, 1,
139 XX_RSTXGXSRX_EN, 1, 140 XX_RSTXGXSRX_EN, 1,
140 XX_RSTXGXSTX_EN, 1); 141 XX_RSTXGXSTX_EN, 1);
141 falcon_xmac_writel(efx, &reg, XX_PWR_RST_REG_MAC); 142 falcon_write(efx, &reg, XX_PWR_RST_REG);
142 udelay(10); 143 udelay(10);
143 144
144 /* Clear any previous over-temperature alert */ 145 /* Clear any previous over-temperature alert */