Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166230
b: refs/heads/master
c: 95acf7d
h: refs/heads/master
v: v3
  • Loading branch information
Michal Simek authored and David S. Miller committed Sep 22, 2009
1 parent d81cfaa commit b109904
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 07653aa3afe7b74cbddfe3bca82a898c413855b1
refs/heads/master: 95acf7d7ed95fdb9bfd5b7a71752701a0e382bd9
7 changes: 2 additions & 5 deletions trunk/drivers/net/xilinx_emaclite.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,15 @@ static void xemaclite_enable_interrupts(struct net_local *drvdata)
}

/* Enable the Rx interrupts for the first buffer */
reg_data = in_be32(drvdata->base_addr + XEL_RSR_OFFSET);
out_be32(drvdata->base_addr + XEL_RSR_OFFSET,
reg_data | XEL_RSR_RECV_IE_MASK);
XEL_RSR_RECV_IE_MASK);

/* Enable the Rx interrupts for the second Buffer if
* configured in HW */
if (drvdata->rx_ping_pong != 0) {
reg_data = in_be32(drvdata->base_addr + XEL_BUFFER_OFFSET +
XEL_RSR_OFFSET);
out_be32(drvdata->base_addr + XEL_BUFFER_OFFSET +
XEL_RSR_OFFSET,
reg_data | XEL_RSR_RECV_IE_MASK);
XEL_RSR_RECV_IE_MASK);
}

/* Enable the Global Interrupt Enable */
Expand Down

0 comments on commit b109904

Please sign in to comment.