diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2010-05-22 02:36:56 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-05-22 02:36:56 -0400 |
commit | cf9b59e9d3e008591d1f54830f570982bb307a0d (patch) | |
tree | 113478ce8fd8c832ba726ffdf59b82cb46356476 /drivers/net/s6gmac.c | |
parent | 44504b2bebf8b5823c59484e73096a7d6574471d (diff) | |
parent | f4b87dee923342505e1ddba8d34ce9de33e75050 (diff) |
Merge remote branch 'origin' into secretlab/next-devicetree
Merging in current state of Linus' tree to deal with merge conflicts and
build failures in vio.c after merge.
Conflicts:
drivers/i2c/busses/i2c-cpm.c
drivers/i2c/busses/i2c-mpc.c
drivers/net/gianfar.c
Also fixed up one line in arch/powerpc/kernel/vio.c to use the
correct node pointer.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/net/s6gmac.c')
-rw-r--r-- | drivers/net/s6gmac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/s6gmac.c b/drivers/net/s6gmac.c index 45f26344b368..a7ff8ea342b4 100644 --- a/drivers/net/s6gmac.c +++ b/drivers/net/s6gmac.c | |||
@@ -396,7 +396,6 @@ static void s6gmac_rx_interrupt(struct net_device *dev) | |||
396 | } else { | 396 | } else { |
397 | skb_put(skb, (pfx >> S6_GMAC_BURST_POSTRD_LEN) | 397 | skb_put(skb, (pfx >> S6_GMAC_BURST_POSTRD_LEN) |
398 | & S6_GMAC_BURST_POSTRD_LEN_MASK); | 398 | & S6_GMAC_BURST_POSTRD_LEN_MASK); |
399 | skb->dev = dev; | ||
400 | skb->protocol = eth_type_trans(skb, dev); | 399 | skb->protocol = eth_type_trans(skb, dev); |
401 | skb->ip_summed = CHECKSUM_UNNECESSARY; | 400 | skb->ip_summed = CHECKSUM_UNNECESSARY; |
402 | netif_rx(skb); | 401 | netif_rx(skb); |
@@ -853,8 +852,8 @@ static int s6gmac_tx(struct sk_buff *skb, struct net_device *dev) | |||
853 | { | 852 | { |
854 | struct s6gmac *pd = netdev_priv(dev); | 853 | struct s6gmac *pd = netdev_priv(dev); |
855 | unsigned long flags; | 854 | unsigned long flags; |
855 | |||
856 | spin_lock_irqsave(&pd->lock, flags); | 856 | spin_lock_irqsave(&pd->lock, flags); |
857 | dev->trans_start = jiffies; | ||
858 | writel(skb->len << S6_GMAC_BURST_PREWR_LEN | | 857 | writel(skb->len << S6_GMAC_BURST_PREWR_LEN | |
859 | 0 << S6_GMAC_BURST_PREWR_CFE | | 858 | 0 << S6_GMAC_BURST_PREWR_CFE | |
860 | 1 << S6_GMAC_BURST_PREWR_PPE | | 859 | 1 << S6_GMAC_BURST_PREWR_PPE | |