Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351584
b: refs/heads/master
c: f5ae627
h: refs/heads/master
v: v3
  • Loading branch information
Claudiu Manoil authored and David S. Miller committed Jan 23, 2013
1 parent 1effa1a commit 9eb4e5c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c617f398edd4db2b8567a28e899a88f8f574798d
refs/heads/master: f5ae62799a31fb2ce8b272bf184688e2a4770d19
4 changes: 4 additions & 0 deletions trunk/drivers/net/ethernet/freescale/gianfar.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,10 @@ static void gfar_init_mac(struct net_device *ndev)
gfar_write(&regs->rir0, DEFAULT_RIR0);
}

/* Restore PROMISC mode */
if (ndev->flags & IFF_PROMISC)
rctrl |= RCTRL_PROM;

if (ndev->features & NETIF_F_RXCSUM)
rctrl |= RCTRL_CHECKSUMMING;

Expand Down

0 comments on commit 9eb4e5c

Please sign in to comment.