Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322034
b: refs/heads/master
c: 623d896
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and David S. Miller committed Aug 20, 2012
1 parent c5402f3 commit eae46f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 82a820e8d75f7f3fcd1af24609da79d7d89d5450
refs/heads/master: 623d896b361f404de5ed24e312a58646ee04207d
5 changes: 3 additions & 2 deletions trunk/drivers/net/wan/dscc4.c
Original file line number Diff line number Diff line change
Expand Up @@ -774,14 +774,15 @@ static int __devinit dscc4_init_one(struct pci_dev *pdev,
}
/* Global interrupt queue */
writel((u32)(((IRQ_RING_SIZE >> 5) - 1) << 20), ioaddr + IQLENR1);

rc = -ENOMEM;

priv->iqcfg = (__le32 *) pci_alloc_consistent(pdev,
IRQ_RING_SIZE*sizeof(__le32), &priv->iqcfg_dma);
if (!priv->iqcfg)
goto err_free_irq_5;
writel(priv->iqcfg_dma, ioaddr + IQCFG);

rc = -ENOMEM;

/*
* SCC 0-3 private rx/tx irq structures
* IQRX/TXi needs to be set soon. Learned it the hard way...
Expand Down

0 comments on commit eae46f1

Please sign in to comment.