Commit 3ac37746 authored by Sergey Matyukevich's avatar Sergey Matyukevich Committed by David S. Miller
Browse files

ucc_geth: fix UCC device number in debug message



This patch contains a fix for UCC device number in verbose debug message.
Signed-off-by: default avatarSergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bee31369
...@@ -594,7 +594,7 @@ static void dump_regs(struct ucc_geth_private *ugeth) ...@@ -594,7 +594,7 @@ static void dump_regs(struct ucc_geth_private *ugeth)
{ {
int i; int i;
ugeth_info("UCC%d Geth registers:", ugeth->ug_info->uf_info.ucc_num); ugeth_info("UCC%d Geth registers:", ugeth->ug_info->uf_info.ucc_num + 1);
ugeth_info("Base address: 0x%08x", (u32) ugeth->ug_regs); ugeth_info("Base address: 0x%08x", (u32) ugeth->ug_regs);
ugeth_info("maccfg1 : addr - 0x%08x, val - 0x%08x", ugeth_info("maccfg1 : addr - 0x%08x, val - 0x%08x",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment