Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265777
b: refs/heads/master
c: 2234a72
h: refs/heads/master
i:
  265775: cde982b
v: v3
  • Loading branch information
Ian Campbell authored and David S. Miller committed Aug 30, 2011
1 parent 82074e8 commit ecf19e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 671173c30f53a5a39c63525540962c2b4a673749
refs/heads/master: 2234a722394cf5b9fdcbf5459678fdee450e54f4
10 changes: 5 additions & 5 deletions trunk/drivers/net/ethernet/freescale/gianfar.c
Original file line number Diff line number Diff line change
Expand Up @@ -2140,11 +2140,11 @@ static int gfar_start_xmit(struct sk_buff *skb, struct net_device *dev)
if (i == nr_frags - 1)
lstatus |= BD_LFLAG(TXBD_LAST | TXBD_INTERRUPT);

bufaddr = dma_map_page(&priv->ofdev->dev,
skb_shinfo(skb)->frags[i].page,
skb_shinfo(skb)->frags[i].page_offset,
length,
DMA_TO_DEVICE);
bufaddr = skb_frag_dma_map(&priv->ofdev->dev,
&skb_shinfo(skb)->frags[i],
0,
length,
DMA_TO_DEVICE);

/* set the TxBD length and buffer pointer */
txbdp->bufPtr = bufaddr;
Expand Down

0 comments on commit ecf19e3

Please sign in to comment.