summaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/sfe4001.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-10-23 08:29:16 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-24 04:26:52 -0700
commit3473a5b11827fa0f84f18b79373a26290798f54a (patch)
tree8ca354bc60565904930a8b114528380f06c99cb9 /drivers/net/sfc/sfe4001.c
parent19e71cf6910defed10c5d22af9f4591bbcd6a0fe (diff)
downloadlinux-3473a5b11827fa0f84f18b79373a26290798f54a.tar.gz
linux-3473a5b11827fa0f84f18b79373a26290798f54a.tar.bz2
linux-3473a5b11827fa0f84f18b79373a26290798f54a.zip
sfc: Rename Falcon-specific board code and types
Siena will require entirely different board code. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/sfe4001.c')
-rw-r--r--drivers/net/sfc/sfe4001.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/sfe4001.c b/drivers/net/sfc/sfe4001.c
index cee00ad49b57..28a55047cc92 100644
--- a/drivers/net/sfc/sfe4001.c
+++ b/drivers/net/sfc/sfe4001.c
@@ -241,7 +241,7 @@ static ssize_t set_phy_flash_cfg(struct device *dev,
efx->phy_mode = new_mode;
if (new_mode & PHY_MODE_SPECIAL)
efx_stats_disable(efx);
- if (efx->board_info.type == EFX_BOARD_SFE4001)
+ if (efx->board_info.type == FALCON_BOARD_SFE4001)
err = sfe4001_poweron(efx);
else
err = sfn4111t_reset(efx);