From: Linas Vepstas Date: Tue, 10 Oct 2006 21:06:53 +0000 (-0500) Subject: [PATCH] powerpc/cell spidernet fix error interrupt print X-Git-Tag: v2.6.19-rc2~23^2~17 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=37aad7500bf7064bf150ea1f234303f4173f7b24;p=linux-2.6-omap-h63xx.git [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 Cc: James K Lewis Cc: Arnd Bergmann Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c index 05bdd0be739..9d2ed04f9fd 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) if (netif_msg_intr(card)) pr_err("got descriptor chain end interrupt, " "restarting DMAC %c.\n", - 'D'+i-SPIDER_NET_GDDDCEINT); + 'D'-(i-SPIDER_NET_GDDDCEINT)/3); spider_net_refill_rx_chain(card); spider_net_enable_rxdmac(card); show_error = 0;