Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228354
b: refs/heads/master
c: 08740c9
h: refs/heads/master
v: v3
  • Loading branch information
Mark Allyn authored and Greg Kroah-Hartman committed Dec 10, 2010
1 parent ccc2b95 commit b1220c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 843f65c669c1164897dc5ef79c0df00cb66490bf
refs/heads/master: 08740c97e191d4d5bb1f472a6ec0fa24ebdbc8bc
5 changes: 5 additions & 0 deletions trunk/drivers/staging/sep/sep_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -3538,6 +3538,11 @@ static int __devinit sep_probe(struct pci_dev *pdev,
/* Set the IMR register - open only GPR 2 */
sep_write_reg(sep, HW_HOST_IMR_REG_ADDR, (~(0x1 << 13)));

/* Read send/receive counters from SEP */
sep->reply_ct = sep_read_reg(sep, HW_HOST_SEP_HOST_GPR2_REG_ADDR);
sep->reply_ct &= 0x3FFFFFFF;
sep->send_ct = sep->reply_ct;

dev_dbg(&sep->pdev->dev, "about to call request_irq\n");
/* Get the interrupt line */
error = request_irq(pdev->irq, sep_inthandler, IRQF_SHARED,
Expand Down

0 comments on commit b1220c7

Please sign in to comment.