summaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/falcon.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-11-23 16:08:17 +0000
committerDavid S. Miller <davem@davemloft.net>2009-11-24 10:59:04 -0800
commitc459302db655c1a7fd05fd4266b18990854e8386 (patch)
tree94adde79f8c3a5a447305cf425a5caa1c7091df7 /drivers/net/sfc/falcon.c
parentf5e7adc3d4aa8edab63bb63f0ce5fe92c3dd7604 (diff)
downloadblackbird-op-linux-c459302db655c1a7fd05fd4266b18990854e8386.tar.gz
blackbird-op-linux-c459302db655c1a7fd05fd4266b18990854e8386.zip
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)
efx_oword_t glb_ctl_reg_ker;
int rc;
- EFX_LOG(efx, "performing hardware reset (%d)\n", method);
+ EFX_LOG(efx, "performing %s hardware reset\n", RESET_TYPE(method));
/* Initiate device reset */
if (method == RESET_TYPE_WORLD) {
OpenPOWER on IntegriCloud