diff options
author | Sergey Matyukevich <geomatsi@gmail.com> | 2010-07-28 04:05:21 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-31 01:08:50 -0400 |
commit | 3ac377462938e8ec0a521dba17b2a81b502d8d19 (patch) | |
tree | 14dedd4eafe4a31c3a67e4b840cdb9e31d689826 /drivers | |
parent | bee31369ce16fc3898ec9a54161248c9eddb06bc (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ucc_geth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index e17dd7430915..8d532f9b50d0 100644 --- a/drivers/net/ucc_geth.c +++ b/drivers/net/ucc_geth.c | |||
@@ -594,7 +594,7 @@ static void dump_regs(struct ucc_geth_private *ugeth) | |||
594 | { | 594 | { |
595 | int i; | 595 | int i; |
596 | 596 | ||
597 | ugeth_info("UCC%d Geth registers:", ugeth->ug_info->uf_info.ucc_num); | 597 | ugeth_info("UCC%d Geth registers:", ugeth->ug_info->uf_info.ucc_num + 1); |
598 | ugeth_info("Base address: 0x%08x", (u32) ugeth->ug_regs); | 598 | ugeth_info("Base address: 0x%08x", (u32) ugeth->ug_regs); |
599 | 599 | ||
600 | ugeth_info("maccfg1 : addr - 0x%08x, val - 0x%08x", | 600 | ugeth_info("maccfg1 : addr - 0x%08x, val - 0x%08x", |