Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340661
b: refs/heads/master
c: b821bd8
h: refs/heads/master
i:
  340659: ad5941e
v: v3
  • Loading branch information
Rob Herring authored and David S. Miller committed Nov 7, 2012
1 parent 746931e commit 043412f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 0aefa8ecd81f4f4b3f7f336aa152b13cc79c4bfe
refs/heads/master: b821bd8e5a4413c8e28e64d878720978883ebfc8
4 changes: 1 addition & 3 deletions trunk/drivers/net/ethernet/calxeda/xgmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ static int xgmac_hw_init(struct net_device *dev)
ctrl |= XGMAC_CONTROL_IPC;
writel(ctrl, ioaddr + XGMAC_CONTROL);

writel(DMA_CONTROL_DFF | DMA_CONTROL_OSF, ioaddr + XGMAC_DMA_CONTROL);
writel(DMA_CONTROL_OSF, ioaddr + XGMAC_DMA_CONTROL);

/* Set the HW DMA mode and the COE */
writel(XGMAC_OMR_TSF | XGMAC_OMR_RFD | XGMAC_OMR_RFA |
Expand Down Expand Up @@ -1180,8 +1180,6 @@ static int xgmac_rx(struct xgmac_priv *priv, int limit)

xgmac_rx_refill(priv);

writel(1, priv->base + XGMAC_DMA_RX_POLL);

return count;
}

Expand Down

0 comments on commit 043412f

Please sign in to comment.