aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/boards.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-05-07 12:55:13 +0100
committerJeff Garzik <jgarzik@redhat.com>2008-05-13 01:31:40 -0400
commit75f2d3eac93277fa022b2fbe51257e856575e757 (patch)
tree72c693ec5039e4c30b51713a6a550829fd17c1d1 /drivers/net/sfc/boards.h
parentb9b39b625cf57cd0ea998717598b68963cbec3cb (diff)
downloadkernel_samsung_tuna-75f2d3eac93277fa022b2fbe51257e856575e757.zip
kernel_samsung_tuna-75f2d3eac93277fa022b2fbe51257e856575e757.tar.gz
kernel_samsung_tuna-75f2d3eac93277fa022b2fbe51257e856575e757.tar.bz2
[netdrvr] sfc: Add phy_flash_cfg module parameter and implementation
The 10Xpress PHY supports flash upgrades through MDIO, but needs to be put in upgrade mode at power-up. This adds a module parameter and other logic to support that. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/sfc/boards.h')
-rw-r--r--drivers/net/sfc/boards.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/sfc/boards.h b/drivers/net/sfc/boards.h
index f56341d..695764d 100644
--- a/drivers/net/sfc/boards.h
+++ b/drivers/net/sfc/boards.h
@@ -22,5 +22,7 @@ enum efx_board_type {
extern int efx_set_board_info(struct efx_nic *efx, u16 revision_info);
extern int sfe4001_poweron(struct efx_nic *efx);
extern void sfe4001_poweroff(struct efx_nic *efx);
+/* Are we putting the PHY into flash config mode */
+extern unsigned int sfe4001_phy_flash_cfg;
#endif