diff options
author | Linas Vepstas <linas@austin.ibm.com> | 2006-10-10 17:06:53 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-10-11 04:04:26 -0400 |
commit | 37aad7500bf7064bf150ea1f234303f4173f7b24 (patch) | |
tree | 4f9df50eba9cb3151e4215e8cc2c4b445fcce795 | |
parent | 43932d938d5a193bf9602b0ac8aa6783ba78b1aa (diff) |
[PATCH] powerpc/cell spidernet fix error interrupt print
The print message associated with the descriptor chain end interrupt
prints a bogs value. Fix that.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Cc: James K Lewis <jklewis@us.ibm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r-- | drivers/net/spider_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c index 05bdd0be7394..9d2ed04f9fd1 100644 --- a/drivers/net/spider_net.c +++ b/drivers/net/spider_net.c | |||
@@ -1356,7 +1356,7 @@ spider_net_handle_error_irq(struct spider_net_card *card, u32 status_reg) | |||
1356 | if (netif_msg_intr(card)) | 1356 | if (netif_msg_intr(card)) |
1357 | pr_err("got descriptor chain end interrupt, " | 1357 | pr_err("got descriptor chain end interrupt, " |
1358 | "restarting DMAC %c.\n", | 1358 | "restarting DMAC %c.\n", |
1359 | 'D'+i-SPIDER_NET_GDDDCEINT); | 1359 | 'D'-(i-SPIDER_NET_GDDDCEINT)/3); |
1360 | spider_net_refill_rx_chain(card); | 1360 | spider_net_refill_rx_chain(card); |
1361 | spider_net_enable_rxdmac(card); | 1361 | spider_net_enable_rxdmac(card); |
1362 | show_error = 0; | 1362 | show_error = 0; |