projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fee78b
)
sunhme: convert to SKB paged frag API.
author
Ian Campbell
<Ian.Campbell@citrix.com>
Wed, 21 Sep 2011 21:53:22 +0000
(21:53 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 22 Sep 2011 20:04:16 +0000
(16:04 -0400)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunhme.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/sun/sunhme.c
b/drivers/net/ethernet/sun/sunhme.c
index 42f866ef81e1785213a288bda738438b94fa9607..869d47be54b4a86d431a18af79cffe36216c1d03 100644
(file)
--- a/
drivers/net/ethernet/sun/sunhme.c
+++ b/
drivers/net/ethernet/sun/sunhme.c
@@
-2309,9
+2309,8
@@
static netdev_tx_t happy_meal_start_xmit(struct sk_buff *skb,
u32 len, mapping, this_txflags;
len = this_frag->size;
- mapping = dma_map_page(hp->dma_dev, this_frag->page,
- this_frag->page_offset, len,
- DMA_TO_DEVICE);
+ mapping = skb_frag_dma_map(hp->dma_dev, this_frag,
+ 0, len, DMA_TO_DEVICE);
this_txflags = tx_flags;
if (frag == skb_shinfo(skb)->nr_frags - 1)
this_txflags |= TXFLAG_EOP;