2011/7/15 Ian Campbell [off-list ref]:
[...]
+static inline dma_addr_t skb_frag_pci_map(struct pci_dev *hwdev,
+ const skb_frag_t *frag,
+ unsigned long offset,
+ size_t size,
+ int direction)
+
+{
+ return pci_map_page(hwdev, __skb_frag_page(frag),
+ frag->page_offset + offset, size, direction);
+}
You can get rid of this one, as drivers should be converted to generic
DMA API instead. The change is only in passing &pci_dev->dev instead
of pci_dev.
Best Regards,
Michał Mirosław
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html