Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255621
b: refs/heads/master
c: d6cf073
h: refs/heads/master
i:
  255619: 6d45fe3
v: v3
  • Loading branch information
Richard Cochran authored and David S. Miller committed Jun 20, 2011
1 parent 7307cd7 commit e971e82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 93e0ed158c15b3d3d76125de6364f8f95528c25a
refs/heads/master: d6cf07327e691e8f7c0f08af69d0dd3887aa1e4f
4 changes: 3 additions & 1 deletion trunk/drivers/net/fec_mpc52xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ static int mpc52xx_fec_start_xmit(struct sk_buff *skb, struct net_device *dev)
bd->skb_pa = dma_map_single(dev->dev.parent, skb->data, skb->len,
DMA_TO_DEVICE);

skb_tx_timestamp(skb);
bcom_submit_next_buffer(priv->tx_dmatsk, skb);
spin_unlock_irqrestore(&priv->lock, flags);

Expand Down Expand Up @@ -435,7 +436,8 @@ static irqreturn_t mpc52xx_fec_rx_interrupt(int irq, void *dev_id)
length = status & BCOM_FEC_RX_BD_LEN_MASK;
skb_put(rskb, length - 4); /* length without CRC32 */
rskb->protocol = eth_type_trans(rskb, dev);
netif_rx(rskb);
if (!skb_defer_rx_timestamp(skb))
netif_rx(rskb);

spin_lock(&priv->lock);
}
Expand Down

0 comments on commit e971e82

Please sign in to comment.