Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39420
b: refs/heads/master
c: 98b9040
h: refs/heads/master
v: v3
  • Loading branch information
Linas Vepstas authored and Jeff Garzik committed Oct 11, 2006
1 parent 7f1dc4e commit b12848e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 37aad7500bf7064bf150ea1f234303f4173f7b24
refs/heads/master: 98b9040c747e50fe02ad616c9d5fee9aa4017cd1
13 changes: 9 additions & 4 deletions trunk/drivers/net/spider_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -1245,12 +1245,15 @@ spider_net_handle_error_irq(struct spider_net_card *card, u32 status_reg)
case SPIDER_NET_PHYINT:
case SPIDER_NET_GMAC2INT:
case SPIDER_NET_GMAC1INT:
case SPIDER_NET_GIPSINT:
case SPIDER_NET_GFIFOINT:
case SPIDER_NET_DMACINT:
case SPIDER_NET_GSYSINT:
break; */

case SPIDER_NET_GIPSINT:
show_error = 0;
break;

case SPIDER_NET_GPWOPCMPINT:
/* PHY write operation completed */
show_error = 0;
Expand Down Expand Up @@ -1309,9 +1312,10 @@ spider_net_handle_error_irq(struct spider_net_card *card, u32 status_reg)
case SPIDER_NET_GDTDCEINT:
/* chain end. If a descriptor should be sent, kick off
* tx dma
if (card->tx_chain.tail == card->tx_chain.head)
if (card->tx_chain.tail != card->tx_chain.head)
spider_net_kick_tx_dma(card);
show_error = 0; */
*/
show_error = 0;
break;

/* case SPIDER_NET_G1TMCNTINT: not used. print a message */
Expand Down Expand Up @@ -1425,8 +1429,9 @@ spider_net_handle_error_irq(struct spider_net_card *card, u32 status_reg)
}

if ((show_error) && (netif_msg_intr(card)))
pr_err("Got error interrupt, GHIINT0STS = 0x%08x, "
pr_err("Got error interrupt on %s, GHIINT0STS = 0x%08x, "
"GHIINT1STS = 0x%08x, GHIINT2STS = 0x%08x\n",
card->netdev->name,
status_reg, error_reg1, error_reg2);

/* clear interrupt sources */
Expand Down

0 comments on commit b12848e

Please sign in to comment.