From b817c7625acdd05e3c060bb9ebd69a289da29180 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Wed, 12 Mar 2014 00:46:02 -0500 Subject: [PATCH] wcxb: Print running version when recommending power cycle. Without this change it's hard to see what is actually running on the card when the firmware in the flash doesn't match the reported version. This is a debugging aide. Signed-off-by: Shaun Ruffell --- drivers/dahdi/wcxb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dahdi/wcxb.c b/drivers/dahdi/wcxb.c index 3373723..d02023b 100644 --- a/drivers/dahdi/wcxb.c +++ b/drivers/dahdi/wcxb.c @@ -925,8 +925,8 @@ int wcxb_check_firmware(struct wcxb *xb, const u32 expected_version, if ((meta.version == cpu_to_le32(expected_version)) && !force_firmware) { dev_info(&xb->pdev->dev, - "Detected previous firmware updated to current version %x, but not running. You likely need to power cycle your system.\n", - expected_version); + "Detected previous firmware updated to current version %x, but %x is currently running on card. You likely need to power cycle your system.\n", + expected_version, version); return 0; }