Commit 7b63e3a8 authored by Ian Campbell's avatar Ian Campbell Committed by David S. Miller

3c59x: convert to SKB paged frag API.

Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
Cc: Steffen Klassert <klassert@mathematik.tu-chemnitz.de>
Cc: netdev@vger.kernel.org
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3857e3ee
...@@ -2179,8 +2179,9 @@ boomerang_start_xmit(struct sk_buff *skb, struct net_device *dev) ...@@ -2179,8 +2179,9 @@ boomerang_start_xmit(struct sk_buff *skb, struct net_device *dev)
skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; skb_frag_t *frag = &skb_shinfo(skb)->frags[i];
vp->tx_ring[entry].frag[i+1].addr = vp->tx_ring[entry].frag[i+1].addr =
cpu_to_le32(pci_map_single(VORTEX_PCI(vp), cpu_to_le32(pci_map_single(
(void*)page_address(frag->page) + frag->page_offset, VORTEX_PCI(vp),
(void *)skb_frag_address(frag),
frag->size, PCI_DMA_TODEVICE)); frag->size, PCI_DMA_TODEVICE));
if (i == skb_shinfo(skb)->nr_frags-1) if (i == skb_shinfo(skb)->nr_frags-1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment