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:
f8f114c
)
ll_temac: convert to SKB paged frag API.
author
Ian Campbell
<
[email protected]
>
Mon, 10 Oct 2011 01:11:40 +0000
(
01:11
+0000)
committer
David S. Miller
<
[email protected]
>
Mon, 10 Oct 2011 19:19:13 +0000
(15:19 -0400)
Signed-off-by: Ian Campbell <
[email protected]
>
Cc:
[email protected]
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/xilinx/ll_temac_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/xilinx/ll_temac_main.c
b/drivers/net/ethernet/xilinx/ll_temac_main.c
index 570776edc01bab37dc268760a5568334ca797d46..66e3c36c3733fd1664fc32060e76a0b75f76a83a 100644
(file)
--- a/
drivers/net/ethernet/xilinx/ll_temac_main.c
+++ b/
drivers/net/ethernet/xilinx/ll_temac_main.c
@@
-715,8
+715,7
@@
static int temac_start_xmit(struct sk_buff *skb, struct net_device *ndev)
cur_p = &lp->tx_bd_v[lp->tx_bd_tail];
cur_p->phys = dma_map_single(ndev->dev.parent,
- (void *)page_address(frag->page) +
- frag->page_offset,
+ skb_frag_address(frag),
frag->size, DMA_TO_DEVICE);
cur_p->len = frag->size;
cur_p->app0 = 0;