Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 129803
b: refs/heads/master
c: 60d3f98
h: refs/heads/master
i:
  129801: 3fde986
  129799: b64147a
v: v3
  • Loading branch information
Phil Sutter authored and David S. Miller committed Jan 15, 2009
1 parent 05259ca commit 75b5d80
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 4676f63d4c1e2e3530e42cb39bf88a1c1d4d78a5
refs/heads/master: 60d3f9827ca455e7272681d67a37137c328d7012
8 changes: 4 additions & 4 deletions trunk/drivers/net/korina.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,13 +330,13 @@ static irqreturn_t korina_rx_dma_interrupt(int irq, void *dev_id)

dmas = readl(&lp->rx_dma_regs->dmas);
if (dmas & (DMA_STAT_DONE | DMA_STAT_HALT | DMA_STAT_ERR)) {
netif_rx_schedule(&lp->napi);

dmasm = readl(&lp->rx_dma_regs->dmasm);
writel(dmasm | (DMA_STAT_DONE |
DMA_STAT_HALT | DMA_STAT_ERR),
&lp->rx_dma_regs->dmasm);

netif_rx_schedule(&lp->napi);

if (dmas & DMA_STAT_ERR)
printk(KERN_ERR DRV_NAME "%s: DMA error\n", dev->name);

Expand Down Expand Up @@ -623,12 +623,12 @@ korina_tx_dma_interrupt(int irq, void *dev_id)
dmas = readl(&lp->tx_dma_regs->dmas);

if (dmas & (DMA_STAT_FINI | DMA_STAT_ERR)) {
korina_tx(dev);

dmasm = readl(&lp->tx_dma_regs->dmasm);
writel(dmasm | (DMA_STAT_FINI | DMA_STAT_ERR),
&lp->tx_dma_regs->dmasm);

korina_tx(dev);

if (lp->tx_chain_status == desc_filled &&
(readl(&(lp->tx_dma_regs->dmandptr)) == 0)) {
writel(CPHYSADDR(&lp->td_ring[lp->tx_chain_head]),
Expand Down

0 comments on commit 75b5d80

Please sign in to comment.