aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/falcon.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/falcon.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/falcon.c')
-rw-r--r--drivers/net/sfc/falcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c
index 6eee4b796c43..41a321b0e8c6 100644
--- a/drivers/net/sfc/falcon.c
+++ b/drivers/net/sfc/falcon.c
@@ -2485,7 +2485,7 @@ int falcon_reset_hw(struct efx_nic *efx, enum reset_type method)
2485 efx_oword_t glb_ctl_reg_ker; 2485 efx_oword_t glb_ctl_reg_ker;
2486 int rc; 2486 int rc;
2487 2487
2488 EFX_LOG(efx, "performing hardware reset (%d)\n", method); 2488 EFX_LOG(efx, "performing %s hardware reset\n", RESET_TYPE(method));
2489 2489
2490 /* Initiate device reset */ 2490 /* Initiate device reset */
2491 if (method == RESET_TYPE_WORLD) { 2491 if (method == RESET_TYPE_WORLD) {