Skip to content

Commit

Permalink
ucc_geth: fix UCC device number in debug message
Browse files Browse the repository at this point in the history
This patch contains a fix for UCC device number in verbose debug message.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Sergey Matyukevich authored and David S. Miller committed Jul 31, 2010
1 parent bee3136 commit 3ac3774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ucc_geth.c
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ static void dump_regs(struct ucc_geth_private *ugeth)
{
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("maccfg1 : addr - 0x%08x, val - 0x%08x",
Expand Down

0 comments on commit 3ac3774

Please sign in to comment.