aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-11-30 20:55:27 -0500
committerBen Hutchings <bhutchings@solarflare.com>2012-11-30 20:55:27 -0500
commitef492f11efed9a6a1686bf914fb74468df59385c (patch)
treedb1edd6d5fffe80709a57a2a995b20c34f4d74ea /drivers/net/ethernet/sfc
parent778cdaf639e34288c298f1d3d3503d0724ceabc7 (diff)
sfc: Correctly initialise reset_method in siena_test_chip()
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc')
-rw-r--r--drivers/net/ethernet/sfc/siena.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/siena.c b/drivers/net/ethernet/sfc/siena.c
index 3553d77a3fdc..ba40f67e4f05 100644
--- a/drivers/net/ethernet/sfc/siena.c
+++ b/drivers/net/ethernet/sfc/siena.c
@@ -170,7 +170,7 @@ static const struct efx_nic_register_test siena_register_tests[] = {
170 170
171static int siena_test_chip(struct efx_nic *efx, struct efx_self_tests *tests) 171static int siena_test_chip(struct efx_nic *efx, struct efx_self_tests *tests)
172{ 172{
173 enum reset_type reset_method = reset_method; 173 enum reset_type reset_method = RESET_TYPE_ALL;
174 int rc, rc2; 174 int rc, rc2;
175 175
176 efx_reset_down(efx, reset_method); 176 efx_reset_down(efx, reset_method);