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: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Sergey Matyukevich 2010-07-28 08:05:21 +00:00 committed by David S. Miller
parent bee31369ce
commit 3ac3774629

View File

@ -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",