aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/selftest.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-11-23 11:08:17 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-24 13:59:04 -0500
commitc459302db655c1a7fd05fd4266b18990854e8386 (patch)
tree94adde79f8c3a5a447305cf425a5caa1c7091df7 /drivers/net/sfc/selftest.c
parentf5e7adc3d4aa8edab63bb63f0ce5fe92c3dd7604 (diff)
sfc: Log interrupt and reset type names, not numbers
Define name tables for these enumerations in a similar way as for loopback. Move the loopback name table together with them. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/selftest.c')
-rw-r--r--drivers/net/sfc/selftest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sfc/selftest.c b/drivers/net/sfc/selftest.c
index afac1cc6bd2f..63ff295334e4 100644
--- a/drivers/net/sfc/selftest.c
+++ b/drivers/net/sfc/selftest.c
@@ -175,8 +175,8 @@ static int efx_test_interrupts(struct efx_nic *efx,
175 return -ETIMEDOUT; 175 return -ETIMEDOUT;
176 176
177 success: 177 success:
178 EFX_LOG(efx, "test interrupt (mode %d) seen on CPU%d\n", 178 EFX_LOG(efx, "%s test interrupt seen on CPU%d\n", INT_MODE(efx),
179 efx->interrupt_mode, efx->last_irq_cpu); 179 efx->last_irq_cpu);
180 tests->interrupt = 1; 180 tests->interrupt = 1;
181 return 0; 181 return 0;
182} 182}