diff options
| author | Ben Hutchings <bhutchings@solarflare.com> | 2009-11-23 11:03:45 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2009-11-24 13:58:39 -0500 |
| commit | 398468ed1b5c61fe8bcbc8cc1ed323e3c23b58ef (patch) | |
| tree | 2c9f8932143b91d8affe388bd21d98beab7c7488 /drivers/net/sfc/qt202x_phy.c | |
| parent | dcf477b2d205abb8ccdb3b1cb668a0db2de202c0 (diff) | |
sfc: Use a single blink implementation
Only some PHYs have firmware support for a LED blink mode, so we
currently blink the others in a timer function. Since all PHYs have
simple on and off modes, we don't gain anything by using multiple
blink implementations. Also, since we have a process context there
is no need to use a timer.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/qt202x_phy.c')
| -rw-r--r-- | drivers/net/sfc/qt202x_phy.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/sfc/qt202x_phy.c b/drivers/net/sfc/qt202x_phy.c index 560eb18280e1..05c0f9acedbd 100644 --- a/drivers/net/sfc/qt202x_phy.c +++ b/drivers/net/sfc/qt202x_phy.c | |||
| @@ -228,9 +228,6 @@ static void qt202x_phy_get_settings(struct efx_nic *efx, struct ethtool_cmd *ecm | |||
| 228 | 228 | ||
| 229 | static void qt202x_phy_fini(struct efx_nic *efx) | 229 | static void qt202x_phy_fini(struct efx_nic *efx) |
| 230 | { | 230 | { |
| 231 | /* Clobber the LED if it was blinking */ | ||
| 232 | efx->board_info.blink(efx, false); | ||
| 233 | |||
| 234 | /* Free the context block */ | 231 | /* Free the context block */ |
| 235 | kfree(efx->phy_data); | 232 | kfree(efx->phy_data); |
| 236 | efx->phy_data = NULL; | 233 | efx->phy_data = NULL; |
