Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75173
b: refs/heads/master
c: cc154ac
h: refs/heads/master
i:
  75171: c81ff4d
v: v3
  • Loading branch information
Al Viro authored and Jeff Garzik committed Dec 23, 2007
1 parent 783f3a1 commit 4db8452
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: b1e247ad8e4ff29b5c7fa2b9a081b4a0f483b0d3
refs/heads/master: cc154ac64aa8d3396b187f64cef01ce67f433324
5 changes: 3 additions & 2 deletions trunk/drivers/net/fec_mpc52xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,9 @@ static void mpc52xx_fec_reset_stats(struct net_device *dev)
struct mpc52xx_fec __iomem *fec = priv->fec;

out_be32(&fec->mib_control, FEC_MIB_DISABLE);
memset_io(&fec->rmon_t_drop, 0, (__force u32)&fec->reserved10 -
(__force u32)&fec->rmon_t_drop);
memset_io(&fec->rmon_t_drop, 0,
offsetof(struct mpc52xx_fec, reserved10) -
offsetof(struct mpc52xx_fec, rmon_t_drop));
out_be32(&fec->mib_control, 0);

memset(&dev->stats, 0, sizeof(dev->stats));
Expand Down

0 comments on commit 4db8452

Please sign in to comment.