mirror of
https://github.com/torvalds/linux.git
synced 2024-10-31 09:11:49 +00:00
ns83820: convert to SKB paged frag API.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Cc: netdev@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
134b413ca3
commit
bc516c8f9d
@ -1160,9 +1160,8 @@ again:
|
||||
if (!nr_frags)
|
||||
break;
|
||||
|
||||
buf = pci_map_page(dev->pci_dev, frag->page,
|
||||
frag->page_offset,
|
||||
frag->size, PCI_DMA_TODEVICE);
|
||||
buf = skb_frag_dma_map(&dev->pci_dev->dev, frag, 0,
|
||||
frag->size, PCI_DMA_TODEVICE);
|
||||
dprintk("frag: buf=%08Lx page=%08lx offset=%08lx\n",
|
||||
(long long)buf, (long) page_to_pfn(frag->page),
|
||||
frag->page_offset);
|
||||
|
Loading…
Reference in New Issue
Block a user