Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195153
b: refs/heads/master
c: 812a9de
h: refs/heads/master
i:
  195151: 646e84c
v: v3
  • Loading branch information
Sonic Zhang authored and David S. Miller committed May 18, 2010
1 parent 496f10e commit 87b5183
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: ad2864d88718714d8b347b6209b07abb2ecd3a49
refs/heads/master: 812a9de71512e5da6f3177f7249a2448b6a4322e
5 changes: 3 additions & 2 deletions trunk/drivers/net/bfin_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,10 +515,11 @@ void setup_system_regs(struct net_device *dev)
* Configure checksum support and rcve frame word alignment
*/
sysctl = bfin_read_EMAC_SYSCTL();
sysctl |= RXDWA;
#if defined(BFIN_MAC_CSUM_OFFLOAD)
sysctl |= RXDWA | RXCKS;
sysctl |= RXCKS;
#else
sysctl |= RXDWA;
sysctl &= ~RXCKS;
#endif
bfin_write_EMAC_SYSCTL(sysctl);

Expand Down

0 comments on commit 87b5183

Please sign in to comment.