Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315103
b: refs/heads/master
c: f62a23a
h: refs/heads/master
i:
  315101: e911cd5
  315099: 66504a9
  315095: 2406b2b
  315087: 298a03c
  315071: 7e6ea40
v: v3
  • Loading branch information
Rob Herring authored and David S. Miller committed Jul 11, 2012
1 parent 2d0e45e commit 73ad41c
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: e36ce6eb2ba35b0b7335aef12731a96af9531055
refs/heads/master: f62a23a7cb601fb30c4a8b8a5ba1c6bb7f5148b3
5 changes: 3 additions & 2 deletions trunk/drivers/net/ethernet/calxeda/xgmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
#define XGMAC_OMR_FEF 0x00000080 /* Forward Error Frames */
#define XGMAC_OMR_DT 0x00000040 /* Drop TCP/IP csum Errors */
#define XGMAC_OMR_RSF 0x00000020 /* RX FIFO Store and Forward */
#define XGMAC_OMR_RTC 0x00000010 /* RX Threshhold Ctrl */
#define XGMAC_OMR_RTC_256 0x00000018 /* RX Threshhold Ctrl */
#define XGMAC_OMR_RTC_MASK 0x00000018 /* RX Threshhold Ctrl MASK */

/* XGMAC HW Features Register */
Expand Down Expand Up @@ -982,7 +982,8 @@ static int xgmac_hw_init(struct net_device *dev)
writel(value, ioaddr + XGMAC_DMA_CONTROL);

/* Set the HW DMA mode and the COE */
writel(XGMAC_OMR_TSF | XGMAC_OMR_RSF | XGMAC_OMR_RFD | XGMAC_OMR_RFA,
writel(XGMAC_OMR_TSF | XGMAC_OMR_RFD | XGMAC_OMR_RFA |
XGMAC_OMR_RTC_256,
ioaddr + XGMAC_OMR);

/* Reset the MMC counters */
Expand Down

0 comments on commit 73ad41c

Please sign in to comment.